Malicious code in fast-csv-helper (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11462
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (6808d5469c720a0a26411e9def23ca8bf9be60193c696057e2e6378c3ef51640) Package name typosquats the popular `fast-csv` CSV library but has no CSV functionality. `lib/report.js` collects the installer's git/GitHub email by invoking `gh api user/emails`, running `git config user.email`, reading `~/.gitconfig` and npm config, and inspecting GIT_*/EMAIL environment variables, together with `os.userInfo()` username and `os.hostname()`. The collected identity payload is POSTed via `https.request` to the hardcoded third-party webhook `https://hooks.zapier.com/hooks/catch/28124699/42vdpup/`. The postinstall path is gated by a consent-flag file, and the CLI path issues a one-shot prompt before sending; both ultimately deliver installer identity to an author-controlled endpoint. The package.json description self-labels the code as a 'harmless security research payload,' which does not alter the behavior: it is a live typosquat on the public npm registry that enumerates developers who fat-finger `fast-csv`. ## Source: ghsa-malware (ca3596032239f2a982b11e2846e8af25975d77f3f7c211a32f68e5a451ead883) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
- Source published
- 31 Jul 2026 21:53:27 UTC
- Source modified
- 4 Aug 2026 23:05:06 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.