macos-contentprovider-optimizingassets (npm) · Malicious Code
Affects macos-contentprovider-optimizingassetsSource GCVE Database
Malicious package : remove macos-contentprovider-optimizingassets and rotate any secrets on hosts that installed it.
Data as of 17 Nov 2026, 23:04 UTC
Malicious package
Published to npm · OSV MAL-2026-6168
What to do
Remove macos-contentprovider-optimizingassets 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 |
|---|---|---|
| npmmacos-contentprovider-optimizingassets | 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 macos-contentprovider-optimizingassets (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 name is deceptive and the malicious logic is obfuscated. Any system with this package installed should be considered fully compromised.