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
Aliases
  • GHSA-3pg3-52vp-54fg
Published
2026-09-21T03:31:42Z
Modified
2026-10-01T04:46:16Z
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.

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.

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"
            ]
        },
        {
            "id":  "GHSA-3pg3-52vp-54fg",
            "import_time":  "2026-10-01T04:32:29.766150904Z",
            "modified_time":  "2026-10-01T03:42:03Z",
            "ranges":  [
                {
                    "events":  [
                        {
                            "introduced":  "0"
                        }
                    ],
                    "type":  "SEMVER"
                }
            ],
            "sha256":  "2d0fa8aa4e68b7cf8f23463767c5d8edfb2fbe37f0b6926d38cebbc95454fcb6",
            "source":  "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / pf25262

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

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"
    },
    {
        "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"