{"id":"MAL-2026-11118","revision":"b4d91686f1be40a0980a3ed23b251500","records":[{"revision":"b4d91686f1be40a0980a3ed23b251500","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11118","aliases":[],"title":"Malicious code in array-sort-helper (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2c18cc0d6d922eb6bbfcb565415772dbd0bb246ca7595f18afe1f87f2f6c1a33)\nThe npm postinstall script in array-sort-helper@1.0.0 automatically runs on `npm install` and executes a shell reconnaissance and exfiltration routine. postinstall.js collects hostname, user, pwd, `uname`, container/docker markers, process tree, GitHub Actions CI variables (GITHUB_REPOSITORY, GITHUB_ACTOR, GITHUB_RUN_ID, RUNNER_NAME, CI), local IPs, /etc/resolv.conf, AWS and Tencent cloud instance-metadata (IMDS) probes, and a full dump of process environment variables (filtering only npm_* noise). The collected data is base64-encoded and sent via HTTP GET to a hardcoded Burp Collaborator subdomain at pzs5w7ntzhsnepwk564lyfdci3oucl0a.oastify.com/z?d=<base64>. The package presents itself as an array-sort utility but ships no such functionality; index.js contains unrelated color helper code. The behavior is credential and secret harvesting targeted at CI runners and cloud workloads.\n\n## Source: ossf-package-analysis (6cade78851ee1586c3bbf22b8c1393e0c2f8e51ac6c8496aaaf50cda425807cc)\nThe OpenSSF Package Analysis project identified 'array-sort-helper' @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-07-28T08:17:41+00:00","modifiedAt":"2026-08-04T22:04:54.917244+00:00","affected":[{"ecosystem":"npm","name":"array-sort-helper","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/array-sort-helper/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11118","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11118","identifiers":["MAL-2026-11118"]},"retained":false,"historicalAffected":[]}],"coverage":[]}