{"id":"MAL-2026-11462","summary":"Malicious code in fast-csv-helper (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6808d5469c720a0a26411e9def23ca8bf9be60193c696057e2e6378c3ef51640)\nPackage 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`.\n\n## Source: ghsa-malware (ca3596032239f2a982b11e2846e8af25975d77f3f7c211a32f68e5a451ead883)\nAny 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.\n","aliases":["GHSA-c65v-4v4c-jcpr"],"modified":"2026-08-04T23:05:06.448082075Z","published":"2026-07-31T21:53:27Z","database_specific":{"malicious-packages-origins":[{"id":"GHSA-c65v-4v4c-jcpr","import_time":"2026-08-02T22:41:04.928858Z","modified_time":"2026-07-31T21:53:32Z","sha256":"ca3596032239f2a982b11e2846e8af25975d77f3f7c211a32f68e5a451ead883","source":"ghsa-malware","versions":["1.0.0"]},{"modified_time":"2026-08-04T21:53:43Z","sha256":"6808d5469c720a0a26411e9def23ca8bf9be60193c696057e2e6378c3ef51640","source":"amazon-inspector","versions":["1.0.0"],"id":"IN-MAL-2026-011247","import_time":"2026-08-04T22:30:07.004963597Z"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-c65v-4v4c-jcpr"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fast-csv-helper/v/1.0.0"}],"affected":[{"package":{"name":"fast-csv-helper","ecosystem":"npm","purl":"pkg:npm/fast-csv-helper"},"versions":["1.0.0"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"sha256":"0046a51ccd82a86175301dc0bf8c358ebf9ca7673ae1270024bcb104f16080b9","tlsh":"adc1c69b2afa11341e6365b8f74f10327952e2173e09ec60b8bc531d0f87e6845b79da","path":"lib/report.js"},{"sha256":"d133b0014d77a2303572ac091a7e00a3dd58760396c2b52192eedc3c4e7d7506","tlsh":"46f0552098441277f8c875a69c32800a2a50ac0e12292e6927b3409ce24efb5987bbd9","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fast-csv-helper/MAL-2026-11462.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}