socket-network (npm) · Malicious Code
Affects socket-networkSource GCVE Database
Malicious package : remove socket-network and rotate any secrets on hosts that installed it.
Data as of 17 Nov 2026, 22:51 UTC
Malicious package
Published to npm · OSV MAL-2026-6177
What to do
Remove socket-network 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 |
|---|---|---|
| npmsocket-network | 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 'socket-network' version 1.0.0 is a malicious React Native component involved in a coordinated campaign of 37 packages. It exfiltrates app install and conversion attribution data to attacker-controlled domains and performs cloaking to evade App Store review. The package's true functionality is hidden behind obfuscated code with Ukrainian comments. The attacker domains are currently unregistered, posing a risk of takeover. Any system with this package installed should be considered fully compromised.