Skip to main content
MalwarePublished Updated

@coopeuch/button (npm) · Malicious Code

Affects @coopeuch/buttonSource GCVE Database

0

Malicious package : remove @coopeuch/button and rotate any secrets on hosts that installed it.

Data as of 12 Oct 2026, 21:46 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17759

What to do

Remove @coopeuch/button 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

ProductAffectedFixed in
npm@coopeuch/buttonAffected
  • =1.999.999
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/button version 1.999.999 contains malicious code in its postinstall script that collects extensive system and environment information from the installer host and sends it to a hardcoded external server. This package appears to be a dependency confusion attack targeting a specific organization's internal namespace by masquerading as an internal package. The malicious behavior includes harvesting host identifiers, network details, and environment variables, then exfiltrating this data over HTTPS and DNS queries to an unauthorized external destination.

References

Community reviews

Loading reviews…