{"id":"MAL-2026-14062","revision":"585e8037023d418399707252fe582ce4","records":[{"revision":"585e8037023d418399707252fe582ce4","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14062","aliases":[],"title":"Malicious code in tw-pkgprobe-7731 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (12551ba52a9605fc8ce1e13b750671d201dcf2a6e23d03f5a23b15236f2fa49b)\nOn preinstall/postinstall, probe.js checks whether cwd matches a Twilio Serverless build path (/tmp/AC<32hex>/) and, if so, copies daemon.js to /tmp/.npm-helper.js and spawns it as a detached background process via process.execPath. The daemon polls /tmp every 80ms for sibling directories whose names match Twilio account SIDs (AC followed by 32 hex chars) and POSTs the discovered account/service/package identifiers to a hardcoded https://webhook.site/cc08d9d9-232a-42a2-8d55-0f75cb5e0e67 endpoint. For matching directories it captures process.env.ACCOUNT_SID and a prefix of process.env.AUTH_TOKEN and writes them to a proof file. The daemon also writes an 'injected-by-other-tenant' module into sibling build trees and appends a payload (marked /*XTENANT_PROOF*/) into runtime-handler's main file so that a different tenant's execution context runs attacker-authored code that captures that tenant's ACCOUNT_SID and AUTH_TOKEN prefix. package.json description and code comments frame the package as an authorized Twilio HackerOne bug-bounty probe; that self-labeling does not change the mechanical behavior, which is an install-time dropper, cross-tenant code injection, and remote exfiltration to a third-party webhook endpoint.\n","state":0,"publishedAt":"2026-08-15T15:53:49+00:00","modifiedAt":"2026-08-15T16:15:12.4995214+00:00","affected":[{"ecosystem":"npm","name":"tw-pkgprobe-7731","ranges":[],"versions":["1.0.5","1.1.1","1.0.3","1.0.0","1.1.0","1.0.1","1.0.7","1.0.4","1.0.6"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.0.5","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.1.1","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.0.3","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.0.0","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.1.0","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.0.1","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.0.7","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.0.4","https://www.npmjs.com/package/tw-pkgprobe-7731/v/1.0.6"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14062","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14062","identifiers":["MAL-2026-14062"]},"retained":false,"historicalAffected":[]}],"coverage":[]}