{"id":"MAL-2026-10935","summary":"Malicious code in twilio-platform-async-data-fetch (npm)","details":"The twilio-platform-async-data-fetch package is a dependency-confusion squat of Twilio's npm namespace published by user 'yuva2210' (maintainer email charankumarj2004@gmail.com) at sentinel versions 99.99.99 and 99.99.100, chosen to outrank any internal/private version and win resolution against a private registry. The npm description is empty and the package provides no legitimate functionality; the name mimics a plausible internal Twilio package so that a misconfigured resolver installs this public lookalike instead of the intended private dependency. It belongs to the same campaign as the actor's twilio-serverless/twilio-assets/twilio-deploy/twilio-internal squats and beacons to the same webhook.site collector.\n\nThe package declares a postinstall hook (\"node index.js\") that executes automatically on a bare npm install with no consent gate. The index.js payload performs environment reconnaissance: it collects the npm package name (npm_package_name), os.hostname(), the OS username (os.userInfo().username), and the current working directory, serializes them to JSON, and exfiltrates the bundle via HTTPS POST to a hardcoded anonymous dead-drop at https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f. Request errors are swallowed so the install appears to succeed.\n\nTwo iterations were published: version 99.99.99 (payload 494 bytes, sha256 prefix 0ec56ada88db35b6) beacons only to the webhook.site collector, while version 99.99.100 (payload 688 bytes, sha256 prefix cebf45a0feba28b3) additionally beacons to a redundant out-of-band callback at 8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com, ensuring the reconnaissance lands even where HTTPS egress to webhook.site is blocked. Both payloads are byte-identical across all four packages in this sub-cluster (twiliointernal-messaging-toolbox, org-twilio-phone-numbers-utils, twilio-platform-request, twilio-platform-async-data-fetch).\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4b905287a9c9f6af788103656cdaf26c800598871efc5004670533c0033a322c)\ntwilio-platform-async-data-fetch@99.99.100 is a typosquat/dependency-confusion lure. Its package.json postinstall hook auto-runs index.js on `npm install`, which collects the installer's hostname (os.hostname()), username (os.userInfo().username), current working directory, and package name, then POSTs the JSON to two hardcoded out-of-band endpoints: https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f and https://8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com (a Burp Collaborator subdomain). The version number (99.99.100) and Twilio-adjacent naming are consistent with dependency-confusion reconnaissance targeting an internal package name. Installer host identifiers leave the machine to attacker-controlled infrastructure at install time with no consent.\n","modified":"2026-08-04T23:05:40.349290491Z","published":"2026-07-20T00:00:00Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-011111","import_time":"2026-08-04T22:29:59.820997471Z","modified_time":"2026-08-04T21:34:04Z","sha256":"4b905287a9c9f6af788103656cdaf26c800598871efc5004670533c0033a322c","source":"amazon-inspector","versions":["99.99.100"]},{"versions":["99.99.99"],"id":"IN-MAL-2026-011112","import_time":"2026-08-04T22:29:59.868917938Z","modified_time":"2026-08-04T21:34:13Z","sha256":"dfb54464839186cb6914484c57d35022cb96f74bc65525d5ec7af17acf8abf2b","source":"amazon-inspector"}]},"references":[{"type":"WEB","url":"https://www.npmjs.com/package/twilio-platform-async-data-fetch"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/twilio-platform-async-data-fetch/v/99.99.100"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/twilio-platform-async-data-fetch/v/99.99.99"}],"affected":[{"package":{"name":"twilio-platform-async-data-fetch","ecosystem":"npm","purl":"pkg:npm/twilio-platform-async-data-fetch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.99.100","99.99.99"],"database_specific":{"iocs":{"domains":["webhook.site","8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com"],"urls":["https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f"]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/twilio-platform-async-data-fetch/MAL-2026-10935.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"3901fef062f0a6b41ab9d080b08f610a52e3d0657207ac50f9dc82ec7f89a2924729c9","path":"index.js","sha256":"cebf45a0feba28b3c007e8756adc9319a795bc2358294f267f98005f4ebd6c2e"}],"package_integrity":[{"filename":"twilio-platform-async-data-fetch-99.99.100.tgz","hashes":{"sha512_sri":"sha512-iw+fYXBXEpByqC2Jx7qMKwhcF0k9LSVA0yK912/e4wJBWhwOySLng2QPo+qeYlLRjn4S/cPcRt2GAlCqGNBYdw==","sha1":"e6aee436f59cb5b46bd4a57162770dfc32d4ca0c"}}]}}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}