MAL-2026-16340

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/pf25262/MAL-2026-16340.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-16340
Published
2026-09-21T03:31:42Z
Modified
2026-09-21T04:00:05Z
Summary
Malicious code in pf25262 (npm)
Details

-= 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-020236",
            "import_time": "2026-09-21T03:46:38.594641107Z",
            "modified_time": "2026-09-21T03:31:42Z",
            "sha256": "95274790fd43042ecd1fc97b2c01dc194e863809626cdaee5c7e6b0a411f8aeb",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / pf25262

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "7bd20d3e6da545589ae78144bcc9be96a24a0bc5007ee95dc63f5fd9ad82a6ad",
            "tlsh": "b9d0953313ba00441efb8145b52bf0c8f557d503cc4fe11943159d707f0041d59556d1"
        }
    ],
    "package_integrity": [
        {
            "filename": "pf25262-1.0.0.tgz",
            "hashes": {
                "sha1": "f99ccf10985bc13350766bd3a05cf195f9593a0b",
                "sha512_sri": "sha512-oGb6wKdqDX/quoN9CE6W6+skGih5eLAj430t2pcajJiBJpY3IzM5mt7TCWbhG/RkPHAWXWtLd3LUGFw2z9tnpA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/pf25262/MAL-2026-16340.json"