{"id":"MAL-2026-14063","revision":"132825341f3c43db9431234bd714e9c3","records":[{"revision":"132825341f3c43db9431234bd714e9c3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14063","aliases":[],"title":"Malicious code in twilio-hackerone-poc-afe6937c (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6790435b096935699da3234140accc517ced689047a68e698cae06288939eed9)\nOn npm install, preinstall/postinstall scripts execute `id`, read environment variables including AWS_LAMBDA_LOG_STREAM_NAME, list /var/task, and read parent process cmdline from /proc, then POST the collected host and environment metadata as JSON to a hardcoded webhook.site endpoint (https://webhook.site/b520829e-516a-45ff-980c-173aa54fc4bc). probe.js copies daemon.js to /tmp/.h1poc-daemon.js and spawns it detached via process.execPath with stdio ignored, writing pid and version to /tmp/.h1poc.pid and /tmp/.h1poc.ver so the process outlives npm install. The daemon polls /tmp every 100ms for sibling /tmp/AC<hex32> tenant directories, enumerates their service and package subpaths, and POSTs 'seen', heartbeat, and startup events (HOME, AWS_LAMBDA_FUNCTION_NAME, /var/task listing, `id` output, foreign/owned flags, tenant IDs, service and package names) to the same webhook for ~15 minutes. For tenant IDs in a hardcoded list, daemon.js writes a package.json and index.js under other tenants' `node_modules/h1-poc-marker/`, injecting a require-able module into another account's dependency tree. The package name and stated purpose reference a HackerOne proof-of-concept, but the shipped mechanisms — install-time exfiltration to an external inspection URL, a detached persistent background process, and cross-tenant writes into other accounts' node_modules — are the same primitives used in operational supply-chain attacks (host reconnaissance, persistence, dependency-tree injection).\n","state":0,"publishedAt":"2026-08-15T15:57:00+00:00","modifiedAt":"2026-08-15T16:15:12.5158776+00:00","affected":[{"ecosystem":"npm","name":"twilio-hackerone-poc-afe6937c","ranges":[],"versions":["1.0.0","1.0.3","1.0.2","1.0.4","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/twilio-hackerone-poc-afe6937c/v/1.0.0","https://www.npmjs.com/package/twilio-hackerone-poc-afe6937c/v/1.0.3","https://www.npmjs.com/package/twilio-hackerone-poc-afe6937c/v/1.0.2","https://www.npmjs.com/package/twilio-hackerone-poc-afe6937c/v/1.0.4","https://www.npmjs.com/package/twilio-hackerone-poc-afe6937c/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14063","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14063","identifiers":["MAL-2026-14063"]},"retained":false,"historicalAffected":[]}],"coverage":[]}