{"id":"MAL-2026-14381","revision":"985df30146d84377923f08e04ceb38ca","records":[{"revision":"985df30146d84377923f08e04ceb38ca","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14381","aliases":[],"title":"Malicious code in fund-portfolio (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (27ba065e8759299d381ed1c7abd5e7721037b4ea969a384a9e70cfb6bb799e17)\nPackage declares `scripts.preinstall`: `node index.js`, causing index.js to run automatically on `npm install`. The script collects hostname, username, home directory, INIT_CWD, local IPv4, public egress IP (via api.ipify.org, icanhazip.com, ifconfig.me), DNS resolver IP and client subnet (via o-o.myaddr.l.google.com), and the parent project's package.json fields (name, author, repository, homepage). The collected JSON is exfiltrated to the hardcoded callback host `da51rv0hb2uc72tg4gvgdepinjcallbk1.oast.fun` (Interactsh/OAST) via DNS-chunked queries and HTTPS POST to `/poc/<uuid>`. The unscoped name is published at version 999.9.12 to defeat internal resolvers that fall back to the public npm registry, so any build referencing `fund-portfolio` without a private-registry pin will resolve to and execute this payload.\n\n## Source: ossf-package-analysis (ffad2f6c37441c2924e67b1d506d9c26dc9cb2fae325b74a596102ea5ed403bf)\nThe OpenSSF Package Analysis project identified 'fund-portfolio' @ 999.9.12 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","state":0,"publishedAt":"2026-08-23T11:00:52+00:00","modifiedAt":"2026-08-24T05:30:14.6893218+00:00","affected":[{"ecosystem":"npm","name":"fund-portfolio","ranges":[],"versions":["999.9.12"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/fund-portfolio/v/999.9.12"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14381","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14381","identifiers":["MAL-2026-14381"]},"retained":false,"historicalAffected":[]}],"coverage":[]}