MAL-2026-12040

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/forge-extended/MAL-2026-12040.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-12040
Published
2026-08-05T01:22:41Z
Modified
2026-08-05T01:49:50.171442515Z
Summary
Malicious code in forge-extended (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (3784f08ba715b7afbeecfaa10b9c953b4406770c976bd07200977fa2f80b0317)

On npm install, the package's preinstall script (index.js) collects installer-side system data — os.hostname(), os.userInfo().username, home directory, DNS server list, and package metadata — reads /etc/passwd and /etc/hosts from the installer's filesystem, and POSTs the aggregated JSON payload over HTTPS to the Burp Collaborator subdomain 67bqctsh977zz60hiszvr1pbc2iu6ku9.oastify.com. The behavior fires automatically as a lifecycle hook, without any user action beyond installation. The oastify.com destination is an out-of-band recon endpoint unrelated to any documented purpose of the package, and the payload structure (host identity + /etc/passwd + /etc/hosts) is a canonical dependency-confusion / reconnaissance beacon.

Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-05T01:22:41Z",
            "sha256": "3784f08ba715b7afbeecfaa10b9c953b4406770c976bd07200977fa2f80b0317",
            "id": "IN-MAL-2026-011495",
            "versions": [
                "1.0.1"
            ],
            "import_time": "2026-08-05T01:39:31.551478015Z"
        }
    ]
}
References
Credits

Affected packages

npm / forge-extended

Package

Affected ranges

Affected versions

1.*
1.0.1

Database specific

cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "90bf8da9bd6fa95c0f5dbadea3830ace14269c4def6e6be6a32ba51e881a857e",
            "tlsh": "f8410395a2da17330dd210c06a0c70852359fa777159e99076cf4396af869f8b7326f3"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/forge-extended/MAL-2026-12040.json"