{"id":"MAL-2026-10931","summary":"Malicious code in org-twilio-phone-numbers-utils (npm)","details":"The org-twilio-phone-numbers-utils 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 (5e4fc6b0b947254720bbf5062747df2f6ad0b971c623ad42db5af303317957b4)\norg-twilio-phone-numbers-utils@99.99.100 is a dependency-confusion beacon package. Its package.json registers a postinstall hook that runs index.js, which collects the installer's package name, hostname (os.hostname()), username (os.userInfo()), and current working directory, then POSTs them via https to two hardcoded external destinations: webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f and 8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com (a Burp Collaborator subdomain used for out-of-band reconnaissance). The name mimics an internal org-scoped Twilio helper and the inflated 99.99.100 version is chosen to win registry resolution against a private package of the same name. Execution is automatic on npm install; the installer has no opt-in and the collected identifiers reveal internal host and user names to the attacker.\n","modified":"2026-08-04T22:05:13.144633256Z","published":"2026-07-20T00:00:00Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-04T21:33:16.06002404Z","modified_time":"2026-08-04T21:29:02Z","sha256":"3bf9e053cb663d14066235637212677031f6b600619369424ea22378f4be608e","source":"amazon-inspector","versions":["99.99.99"],"id":"IN-MAL-2026-011076"},{"versions":["99.99.100"],"id":"IN-MAL-2026-011077","import_time":"2026-08-04T21:33:16.086373122Z","modified_time":"2026-08-04T21:29:10Z","sha256":"5e4fc6b0b947254720bbf5062747df2f6ad0b971c623ad42db5af303317957b4","source":"amazon-inspector"}]},"references":[{"type":"WEB","url":"https://www.npmjs.com/package/org-twilio-phone-numbers-utils"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/org-twilio-phone-numbers-utils/v/99.99.99"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/org-twilio-phone-numbers-utils/v/99.99.100"}],"affected":[{"package":{"name":"org-twilio-phone-numbers-utils","ecosystem":"npm","purl":"pkg:npm/org-twilio-phone-numbers-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["99.99.99","99.99.100"],"database_specific":{"iocs":{"urls":["https://webhook.site/42ce0f0e-a0a0-41b5-b157-1c0f918e064f"],"domains":["webhook.site","8060h91v8p1bvvr24e3r8s3z4qahy7mw.oastify.com"]},"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"index.js","sha256":"0ec56ada88db35b64c3a43577fb22d1a2e0757d0002d174a8d8dc223290f1c3a","tlsh":"8cf095f052e575751e78a180f4c5740952f3d115b307585096a4d1e87b896b42871dd5"}],"package_integrity":[{"filename":"org-twilio-phone-numbers-utils-99.99.99.tgz","hashes":{"sha1":"abf2e44cf2feaf2e919a2ea7488c6f50ded57841","sha512_sri":"sha512-CevT8fF+vh4vaKHdvPuYeMtkR8ieZFuBo2dgl+J+S/mkMcj6vH/ZEZ2uvzBNXlAZ/sIovg/HCt/Jnv7cmCTw5g=="}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/org-twilio-phone-numbers-utils/MAL-2026-10931.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}