{"id":"MAL-2026-14229","revision":"30cada77194446aeb6af1d113c4b200d","records":[{"revision":"30cada77194446aeb6af1d113c4b200d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14229","aliases":[],"title":"Malicious code in carbon-monorepo (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (9c617e93833344e13d376182fb00c13994a4d2e7f3f8220998e541d77a8e8713)\nThe package's package.json declares a postinstall hook that runs index.js on npm install. index.js collects host reconnaissance and installer secrets — os.hostname(), full process.env, platform/arch, cwd, package.json, node_modules listing, and the output of shell commands whoami/uname/id/cat /etc/passwd/cat /etc/shadow — and reads ~/.npmrc (which typically contains npm auth tokens) and recent ~/.npm/_logs. The collected data is POSTed over plain HTTP via http.request to the hardcoded host ywy8qnd4a931ga4v74k70b9g67c00qof.oastify.com, a Burp Collaborator (OAST) subdomain. Package metadata masquerades as an esbuild netbsd-x64 build (`\"description\": \"netbsd-x64 build for esbuild\"`) but the tarball ships only the recon/exfil script, no build artifacts or library code — the sole install-time effect is running the exfiltration payload.\n","state":0,"publishedAt":"2026-08-19T03:41:18+00:00","modifiedAt":"2026-08-19T04:00:18.3613498+00:00","affected":[{"ecosystem":"npm","name":"carbon-monorepo","ranges":[],"versions":["20.1.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/carbon-monorepo/v/20.1.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14229","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14229","identifiers":["MAL-2026-14229"]},"retained":false,"historicalAffected":[]}],"coverage":[]}