@edgecommons/edgecommons (npm) · Malicious Code
Affects @edgecommons/edgecommonsSource GCVE Database
Malicious package : remove @edgecommons/edgecommons and rotate any secrets on hosts that installed it.
Data as of 16 Sep 2026, 23:21 UTC
Malicious package
Published to npm · OSV MAL-2026-10762
What to do
Remove @edgecommons/edgecommons 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@edgecommons/edgecommons | 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 @edgecommons/edgecommons npm package is a malicious package published to perform dependency confusion reconnaissance. It impersonates an internal package namespace to trick misconfigured resolvers into installing it instead of the intended private package. During installation, it runs a preinstall script that collects host telemetry including public IP, hostname, OS username, and environment metadata, then sends this data to an attacker-controlled Sentry endpoint. This behavior is consistent with reconnaissance rather than direct exploitation or payload delivery.