Skip to content
Heist/ feed
Unrated

Malicious code in @wbnr/frontend-shared (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6208a0da32b8b7ae795d85ecbf95788b876729db08b0a595ad24f05a02dbbdbe) The package declares a preinstall lifecycle script (preinstall.js) that automatically runs on npm install. The script reads the installer's OS username (from process.env USER/USERNAME) and hostname (os.hostname()), embeds them into a subdomain of a hardcoded 4otph6fase1x2won0hrfzul2wt2qqge5.oastify.com callback host, and transmits them via both a DNS lookup and an HTTPS GET to that host at path /depconf/. The behavior is consistent with a dependency-confusion probe using Burp Collaborator (oastify.com) infrastructure; installer identifiers (username, internal hostname, timestamp, package name) are disclosed to a third-party callback domain on every install.

Announced Source revision 1
Original source ↗

MAL-2026-13436

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-13436

@wbnr/frontend-shared

Source reference: /affected/0/package/name

Affected versions
99.0.0

Source reference: /affected/0/versions

99.0.1

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "package": {
      "name": "@wbnr/frontend-shared",
      "purl": "pkg:npm/%40wbnr/frontend-shared",
      "ecosystem": "npm"
    },
    "versions": [
      "99.0.0",
      "99.0.1"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@wbnr/frontend-shared/MAL-2026-13436.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "preinstall.js",
            "tlsh": "fc0123f8b3e5eb310cd013c4b16c2e2f565be3a231ce9892085563c207b3a71c310ba8",
            "sha256": "e54aed4cc27b61f78dd095fb67b92e1dff62bd9508b16f0b56d66357611dbb0d"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "110a186c4d8b59c46565976372a795ecc1157607",
              "sha512_sri": "sha512-ILBG4IsmDmnQjWKchK65cChG/k4uM2p5wY/ytgcVYpzCAluOM9LALSBXa9T+PgprGkmlVKe3D8WGK12lmwXwTw=="
            },
            "filename": "frontend-shared-99.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#10953 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement