---
id: "MAL-2026-18367"
kind: "package"
aliases: ["MAL-2026-18367"]
title: "Malicious code in identity-two-factor (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "identity-two-factor", "fixed": [], "affected": "= 999.0.0", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-28T06:56:31+00:00"
first_seen_at: "2026-10-29T08:53:19+00:00"
updated_at: "2026-10-29T08:55:57+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18367", "first_seen_at": "2026-10-29T08:53:19+00:00"}]
---

# Malicious code in identity-two-factor (npm)

## Affected

- npm:identity-two-factor affected = 999.0.0 fixed ?

## Timeline

- 2026-10-29T08:53:19+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18367

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
