documents-widgets (npm) · Malicious Code
Affects documents-widgetsSource GCVE Database
Malicious package : remove documents-widgets and rotate any secrets on hosts that installed it.
Data as of 17 Nov 2026, 23:05 UTC
Malicious package
Published to npm · OSV MAL-2026-6156
What to do
Remove documents-widgets 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 |
|---|---|---|
| npmdocuments-widgets | 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 'documents-widgets' is a malicious React Native component involved in a coordinated campaign of 37 packages controlled by attackers. It exfiltrates app install and conversion attribution data to attacker domains and uses cloaking techniques to evade App Store review by conditionally rendering hidden webviews. The package name is deceptive and the malicious logic is obfuscated. Both command-and-control domains are currently unregistered, posing a risk of takeover. Any system with this package installed should be considered fully compromised.