spf-analytics (npm) · Malicious Code
Affects spf-analyticsSource GCVE Database
Malicious package : remove spf-analytics and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-14486
What to do
Remove spf-analytics 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 |
|---|---|---|
| npmspf-analytics | 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 spf-analytics npm package version 1.0.0 contains malicious obfuscated code that harvests sensitive customer information from Shopify-style storefronts. It collects personally identifiable information (PII) including name, phone, email, address, cart details, and payment method, encrypts the data, and sends it to a hardcoded third-party endpoint without the storefront operator's knowledge or consent. The malicious behavior is concealed through code obfuscation and indirect references, making detection difficult.