{"id":"MAL-2026-13950","revision":"c77cf002c100403da8e7a828d3f5a214","records":[{"revision":"c77cf002c100403da8e7a828d3f5a214","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13950","aliases":[],"title":"Malicious code in fmt-util-k7x2 (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0e8613ffc5393a31685344c247925a5ef104f7daf3f0d2f45a51918adba7d344)\nfmt-util-k7x2@1.0.1 advertises itself as a trivial string-formatting utility (index.js exports two-line pad/trim helpers), but its package.json declares a postinstall hook that runs setup.js on every npm install. setup.js probes a list of Twilio-internal hostnames (including code.hq.twilio.com, stage.twilio.com, twilio.jfrog.io, artifacts.twilio.com) and the AWS EC2 instance metadata endpoint at 169.254.169.254, then concatenates the per-target reachability results and sends them as a query string to a hardcoded external host at http://whstool.brkd.no/cb53e6db-e043-4383-89e9-853c9088ee5d?v=<results>. The per-install UUID callback identifies each victim uniquely, and the target set (internal corporate hostnames + cloud metadata service) matches the dependency-confusion reconnaissance pattern. The exfil destination is not owned by Twilio and is unrelated to the package's advertised purpose. The random-suffix name and mismatch between advertised functionality and postinstall behavior are consistent with a targeted dependency-confusion package aimed at Twilio build environments.\n","state":0,"publishedAt":"2026-08-13T17:20:45+00:00","modifiedAt":"2026-08-13T21:30:25.5631908+00:00","affected":[{"ecosystem":"npm","name":"fmt-util-k7x2","ranges":[],"versions":["1.0.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/fmt-util-k7x2/v/1.0.1","https://www.npmjs.com/package/fmt-util-k7x2/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13950","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13950","identifiers":["MAL-2026-13950"]},"retained":false,"historicalAffected":[]}],"coverage":[]}