{"id":"MAL-2026-15815","revision":"d947ea140e064f40b8a30152b3db819b","records":[{"revision":"d947ea140e064f40b8a30152b3db819b","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-15815","aliases":[],"title":"Malicious code in cminhouse-api-gateway-nodejs (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c42971bbb30a4cb0a1da27be3953339fdbda449e4d10e997aac72212df0a8b1d)\nindex.js is wired as the package's `postinstall` script and also runs on `require` via `main`. After skipping CI/test/Docker environments (guards on NODE_ENV=test, CI, JEST_WORKER_ID, VITEST, /.dockerenv) and applying a random 5-15 second delay, it walks the installer's home directory and reads SSH private keys (~/.ssh/*), AWS credentials (~/.aws), Azure access tokens (~/.azure), gcloud config (~/.config/gcloud), Kubernetes, Docker, Terraform, GitHub, Vercel, Netlify, Supabase, and Firebase configuration files,.npmrc/.yarnrc,.netrc,.pgpass, database rc files, PyPI/cargo/gem credentials, and a HuggingFace token. It also iterates process.env selecting any variable whose name matches TOKEN/KEY/SECRET/PASSWORD/etc. The collected payload is base64-encoded and POSTed to a hardcoded bare-IP VPS at http://2.26.82.63:8888/collect, and host reconnaissance (username, hostname, platform, arch, cwd, node version) is separately sent to api.telegram.org via a hardcoded bot token and chat id with a '\uD83C\uDFAF NEW VICTIM' tag. Sandbox-evasion gating, randomized delay, victim-tagging language, and a bare-IP exfiltration endpoint are all consistent with a targeted supply-chain credential-theft payload.\n","state":0,"publishedAt":"2026-09-02T03:56:59+00:00","modifiedAt":"2026-09-02T04:30:05.6760267+00:00","affected":[{"ecosystem":"npm","name":"cminhouse-api-gateway-nodejs","ranges":[],"versions":["999.0.0","999.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/cminhouse-api-gateway-nodejs/v/999.0.0","https://www.npmjs.com/package/cminhouse-api-gateway-nodejs/v/999.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15815","license":"OSV · upstream source license applies","key":"osv:MAL-2026-15815","identifiers":["MAL-2026-15815"]},"retained":false,"historicalAffected":[]}],"coverage":[]}