# GHSA-2HRQ-H3VJ-5WXM: Malicious code in identity-two-factor (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-29
- Modified: 2026-10-29

## Affected versions

- identity-two-factor (npm): 999.0.0

## Description

identity-two-factor@999.0.0 is a dependency-confusion package aimed at Coinbase (its README and postinstall.js say so, and the beacon path is `cbhq-canary`) with no functional code. Its postinstall script runs `node postinstall.js` on npm install, which writes a marker file to the temp directory and POSTs the hostname, username, working-directory name, CI flag and Node version to `https://webhook.site/e0981a8e-081e-49a0-8b4a-235109e13045/cbhq-canary`. It was published by the npm account hologrammmm0x, which has no other packages.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/3397e9bf09b996a6453a361d63d8e45b381642df/osv/malicious/npm/identity-two-factor/MAL-2026-18367.json))

## References

- https://github.com/ossf/malicious-packages/blob/3397e9bf09b996a6453a361d63d8e45b381642df/osv/malicious/npm/identity-two-factor/MAL-2026-18367.json
- https://www.npmjs.com/package/identity-two-factor
- https://github.com/ossf/malicious-packages/blob/cc8ee308c3a331b6848b53a312a11cd5dc39dd54/osv/malicious/npm/identity-two-factor/MAL-2026-18367.json
- https://www.npmjs.com/package/identity-two-factor/v/999.0.0
- https://github.com/advisories/GHSA-2hrq-h3vj-5wxm

Page: https://cve.now/GHSA-2HRQ-H3VJ-5WXM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
