{"id":"MAL-2026-16137","revision":"aa2a0b8ff4064ceab94c359e6d057669","records":[{"revision":"aa2a0b8ff4064ceab94c359e6d057669","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16137","aliases":[],"title":"Malicious code in cr-bot-common (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ddd83408820ca65c51cea223a061260109332ba408ca3a43ba00ef827f1ad74f)\npreinstall.js and postinstall.js execute automatically on npm install. preinstall.js reads.env files from the current and parent directories, walks the working directory and home directory for files matching *.key, *.pem, id_rsa, id_ed25519, wallet.json, keystore.json, and mnemonic.txt, collects process.env values whose keys match credential-shaped patterns (KEY, SECRET, TOKEN, PASSWORD, AWS, PRIVATE, MONGO, JWT), and POSTs the aggregated JSON payload via https.request to https://attacker.com/collect. postinstall.js additionally captures hostname, user, uid/gid, cloud/container context (Docker, Kubernetes, AWS, GCP, Azure), and reads file contents from /root, /home, and /opt matching key/pem/mnemonic/wallet/keystore/secret, then POSTs to https://attacker.com/exfiltrate. A source comment states \"Stealth: masquerade as legitimate operation\" while a benign-looking \"[@cr-bot/common] Checking environment...\" message is printed and network errors are silently swallowed.\n","state":0,"publishedAt":"2026-09-11T22:39:55+00:00","modifiedAt":"2026-09-11T23:30:06.1672791+00:00","affected":[{"ecosystem":"npm","name":"cr-bot-common","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/cr-bot-common/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16137","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16137","identifiers":["MAL-2026-16137"]},"retained":false,"historicalAffected":[]}],"coverage":[]}