@coopeuch/common (npm) · Malicious Code
Affects @coopeuch/commonSource GCVE Database
Malicious package : remove @coopeuch/common and rotate any secrets on hosts that installed it.
Data as of 12 Oct 2026, 21:46 UTC
Malicious package
Published to npm · OSV MAL-2026-17760
What to do
Remove @coopeuch/common from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@coopeuch/common | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package @coopeuch/common version 1.999.999 is a malicious package that uses a dependency confusion technique by publishing under a scope it does not own with an inflated version number. Upon installation, its postinstall script collects extensive host and network information from the installer's environment and exfiltrates this data to a third-party server without user consent. This includes internal hostnames, usernames, MAC addresses, internal registry URLs, and project metadata. The package README states this is a coordinated-disclosure proof of concept, but the data collection and exfiltration occur automatically and without opt-in.