MAL-2026-10585

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cheeriobox/MAL-2026-10585.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10585
Published
2026-07-14T14:00:08Z
Modified
2026-07-14T14:49:18Z
Summary
Malicious code in cheeriobox (npm)
Details

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

Source: amazon-inspector (1160a4c1ee0340e9897a42a75d735750b7d92fc887bef135a5a979c371356df4)

cheeriobox@1.0.0 is a delivery vehicle for install-time credential theft. package.json declares a postinstall hook that runs node.init.js, which enumerates roughly 60 credential-shaped environment variables (including NPM_TOKEN, GITHUB_TOKEN, AWS_SECRET_ACCESS_KEY, GCP, Azure, Stripe, and Docker tokens), reads home-directory secret files (~/.npmrc, ~/.env*, ~/config.json, ~/credentials.json), scans ~/.config for files matching token/cred/secret patterns, and collects host reconnaissance (os.hostname(), os.platform(), process.cwd(), process.pid, plus CI-detection flags such as CI/GITHUB_ACTIONS/GITLAB_CI). The collected data is POSTed as JSON to a hardcoded endpoint at webhook.cool (path /at/tender-deer-80/...). index.js exports an empty object, so the package has no legitimate library functionality — its only effect on install is credential exfiltration, with CI environments explicitly targeted.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-010516",
            "import_time":  "2026-07-14T14:37:52.572329586Z",
            "modified_time":  "2026-07-14T14:00:08Z",
            "sha256":  "1160a4c1ee0340e9897a42a75d735750b7d92fc887bef135a5a979c371356df4",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / cheeriobox

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":  ".init.js",
            "sha256":  "6eb3939e40f85d1c3f591a3cd3a3edf0fd00c9b09fd7cb48f62e11edca3219b2",
            "tlsh":  "d9513181849e521310db2af168034c00a67ee59b3435e6e17e8f02249fddc6c85b3fbd"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "cheeriobox-1.0.0.tgz",
            "hashes":  {
                "sha1":  "654c47691ebdc0f70ff281c0d763da9b12349665",
                "sha512_sri":  "sha512-awu3Riu7oWRssOTioYzTic6KUMSFF/RnXe7ip0xcI1oHQ7Skwdd88pP5NyrN+ZnHQCyq6uYf1VFPUDL1dq7vpw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/cheeriobox/MAL-2026-10585.json"