Skip to content
Heist/ feed
Unrated

Malicious code in pf25262 (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (95274790fd43042ecd1fc97b2c01dc194e863809626cdaee5c7e6b0a411f8aeb) index.js contains a browser exfiltration snippet that issues a credentialed fetch to /profile, extracts a DGA{...} token or falls back to capturing document.cookie plus the response length, and redirects the browser to a hardcoded collector URL at https://webhook.site/c4e39647-bfb8-47ef-b6d4-a112aacc6cd1/ with the captured data appended to the path. The package's entire shipped payload is this authenticated-session-data exfiltration snippet, sending same-origin credentials and cookies to an attacker-controlled webhook.site bin. ## Source: ghsa-malware (2d0fa8aa4e68b7cf8f23463767c5d8edfb2fbe37f0b6926d38cebbc95454fcb6) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Announced Source revision 1
Original source ↗

MAL-2026-16340

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-16340

pf25262

Source reference: /affected/0/package/name

Affected versions
1.0.0

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.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "pf25262",
      "purl": "pkg:npm/pf25262",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.0"
    ],
    "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/pf25262/MAL-2026-16340.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "index.js",
            "tlsh": "b9d0953313ba00441efb8145b52bf0c8f557d503cc4fe11943159d707f0041d59556d1",
            "sha256": "7bd20d3e6da545589ae78144bcc9be96a24a0bc5007ee95dc63f5fd9ad82a6ad"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "f99ccf10985bc13350766bd3a05cf195f9593a0b",
              "sha512_sri": "sha512-oGb6wKdqDX/quoN9CE6W6+skGih5eLAj430t2pcajJiBJpY3IzM5mt7TCWbhG/RkPHAWXWtLd3LUGFw2z9tnpA=="
            },
            "filename": "pf25262-1.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

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