MAL-2026-14229

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/carbon-monorepo/MAL-2026-14229.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-14229
Published
2026-08-19T03:41:18Z
Modified
2026-08-19T04:00:18.361349771Z
Summary
Malicious code in carbon-monorepo (npm)
Details

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

Source: amazon-inspector (9c617e93833344e13d376182fb00c13994a4d2e7f3f8220998e541d77a8e8713)

The package's package.json declares a postinstall hook that runs index.js on npm install. index.js collects host reconnaissance and installer secrets — os.hostname(), full process.env, platform/arch, cwd, package.json, node_modules listing, and the output of shell commands whoami/uname/id/cat /etc/passwd/cat /etc/shadow — and reads ~/.npmrc (which typically contains npm auth tokens) and recent ~/.npm/_logs. The collected data is POSTed over plain HTTP via http.request to the hardcoded host ywy8qnd4a931ga4v74k70b9g67c00qof.oastify.com, a Burp Collaborator (OAST) subdomain. Package metadata masquerades as an esbuild netbsd-x64 build ("description": "netbsd-x64 build for esbuild") but the tarball ships only the recon/exfil script, no build artifacts or library code — the sole install-time effect is running the exfiltration payload.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-08-19T03:49:30.599223592Z",
            "sha256": "9c617e93833344e13d376182fb00c13994a4d2e7f3f8220998e541d77a8e8713",
            "modified_time": "2026-08-19T03:41:18Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-018329",
            "versions": [
                "20.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / carbon-monorepo

Package

Affected ranges

Affected versions

20.*
20.1.1

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/carbon-monorepo/MAL-2026-14229.json"
indicators
{
    "evidence_files": [
        {
            "sha256": "4dbf50e548464243cd973401a2c51cd944d0f8a4e624cb085cc0fff19fb80935",
            "tlsh": "1b610fe485ba023126b3d1e111170003bdb5e1733216eef436dc8a992f5bb2852b79ed",
            "path": "index.js"
        },
        {
            "sha256": "dc809093e1b852fa51addc23bd9f3a804da33e00b54703a51bdee5314b8d6a31",
            "path": "package.json",
            "tlsh": "95d0a9700e20693336c44aa9083a924aea728d3b0044b90817a335d891ab3b398bf32d"
        }
    ],
    "package_integrity": [
        {
            "filename": "carbon-monorepo-20.1.1.tgz",
            "hashes": {
                "sha1": "9b3db0a02676704fd25135237e19c5d04121d60f",
                "sha512_sri": "sha512-Ax3XcICcupYH41Z1+0oFRvZzmrpbR1LxZrFCHHaWC4+T+zJ7v3AhpZE6rQ3i17lrOasDTsNRJsPMKftpQRgFuw=="
            }
        }
    ]
}
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]