{"id":"MAL-2026-12039","revision":"3c575267bf93459f83bb020b2a50570a","records":[{"revision":"3c575267bf93459f83bb020b2a50570a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12039","aliases":[],"title":"Malicious code in data-format-helper (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (21db9b8662eac789b1523c3f2114daa6a5fd3a2a0c7bbfb58fafdf3b4809c7cd)\nThe package advertises itself as a data-formatting utility but ships a postinstall.js that auto-executes on npm install and runs shell commands to collect installer/CI identity and secrets, then sends them to an attacker-controlled Burp Collaborator subdomain over plain HTTP. Observed collection includes hostname, whoami/id, sudo -l output, process and network state, GitHub Actions environment (GITHUB_TOKEN, GITHUB_REPOSITORY, GITHUB_ACTOR, RUN_ID and related), and any environment variables matching KEY|TOKEN|SECRET|NPM_TOKEN|AWS_|AZURE|GCP|GITHUB_TOKEN, each base64-encoded and sent via curl to http://pzs5w7ntzhsnepwk564lyfdci3oucl0a.oastify.com/. The script additionally probes cloud instance-metadata endpoints for AWS, Aliyun, GCP and Tencent and forwards the responses to the same collector. A separate phase probes the internal hostname tst.woa.com and base64-encodes the response body of an internal flag.html before sending it to the collector, indicating targeted reconnaissance against a specific internal (Tencent) environment consistent with a dependency-confusion decoy. The advertised 'data formatting utilities' description and benign color-helper index.js are cover metadata unrelated to the postinstall behavior.\n","state":0,"publishedAt":"2026-08-05T01:02:58+00:00","modifiedAt":"2026-08-05T01:49:49.5621385+00:00","affected":[{"ecosystem":"npm","name":"data-format-helper","ranges":[],"versions":["1.0.1","1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/data-format-helper/v/1.0.1","https://www.npmjs.com/package/data-format-helper/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12039","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12039","identifiers":["MAL-2026-12039"]},"retained":false,"historicalAffected":[]}],"coverage":[]}