{"id":"MAL-2026-13920","revision":"0b755be2bce94707891e96079018e3e1","records":[{"revision":"0b755be2bce94707891e96079018e3e1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13920","aliases":[],"title":"Malicious code in bb-twl-k7x2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7b2b4bfa3f9a02df25578aba0d7e80cb0a8daa3c357faca80c11bde6ebf670f8)\nThe package's install and postinstall lifecycle scripts (canary.js) run unconditionally on npm install and collect installer-side reconnaissance: os.hostname(), the output of shell commands id, hostname -I, ip addr, ls /, ls -a $HOME, and getent hosts internal.twilio.com; environment values including HOME and the npm registry; presence and auth-flag checks for ~/.npmrc at multiple paths (HOME, /root, /usr/etc, /etc, parent paths) testing for _auth, _authToken, and password tokens; presence of ~/.aws and ~/.aws/credentials; and an AWS instance metadata service probe at http://169.254.169.254/latest/meta-data/iam/security-credentials/ to retrieve the IAM role name. The collected fields are transmitted via HTTP GET query string to http://whstool.brkd.no/cb53e6db-e043-4383-89e9-853c9088ee5d/. The package name and self-description as a bug-bounty canary do not change the observed behavior: credential-path reconnaissance and host enumeration on the installer's machine, sent over plain HTTP to a hardcoded third-party host, on any npm install of this package.\n","state":0,"publishedAt":"2026-08-12T15:40:45+00:00","modifiedAt":"2026-08-12T16:03:34.3139039+00:00","affected":[{"ecosystem":"npm","name":"bb-twl-k7x2","ranges":[],"versions":["1.0.0","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/bb-twl-k7x2/v/1.0.0","https://www.npmjs.com/package/bb-twl-k7x2/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13920","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13920","identifiers":["MAL-2026-13920"]},"retained":false,"historicalAffected":[]}],"coverage":[]}