MAL-2026-20958

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/iter-9-smee/MAL-2026-20958.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20958
Published
2026-12-02T07:08:47Z
Modified
2026-12-02T07:30:04Z
Summary
Malicious code in iter-9-smee (npm)
Details

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

Source: amazon-inspector (fb03ada5e7ce08c1ac99898077a0c28bbc477d0949939dc55ea4c9ee3b4da86c)

The package declares a preinstall lifecycle hook (node canary.js || true) that runs automatically on npm install. canary.js checks for the local paths /flag.txt, /flag and /app/flag.txt, reads the contents of whichever exists via fs.readFileSync, and then issues an HTTP GET over plain HTTP to the hardcoded bare IP endpoint http://65.108.241.149:8080/canary, reporting the package name and whether the probed file was found. The declared main entry is an empty stub, so dependency resolution plus install-time filesystem reconnaissance and the outbound beacon are the package's only effects.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-023150",
            "import_time":  "2026-12-02T07:21:11.832427968Z",
            "modified_time":  "2026-12-02T07:08:47Z",
            "sha256":  "fb03ada5e7ce08c1ac99898077a0c28bbc477d0949939dc55ea4c9ee3b4da86c",
            "source":  "amazon-inspector",
            "versions":  [
                "99.9.9"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / iter-9-smee

Package

Affected ranges

Affected versions

99.*
99.9.9

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":  "canary.js",
            "sha256":  "7f962e92d66f049000022829321e5051faa6dc0abad1b0cc8bce5f1a230b8a8c",
            "tlsh":  "4ef00e84671c160ae5d04278e4af2a89e2f3f0d0eec618c1998c60c3173c6851bab9b8"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "iter-9-smee-99.9.9.tgz",
            "hashes":  {
                "sha1":  "2bf659bd359cbff40b9bbe616591b01bee09c3fc",
                "sha512_sri":  "sha512-gm4Qesn0YTRW8IZzJnXRCaRKxGWPAiDQAwAe7eSL+I5jM24xeHX2KPKEtmKHM7pJk8T/r9sPpfjHGGSPHmE2tQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/iter-9-smee/MAL-2026-20958.json"