llm-interceptor (npm) · Malicious Code
Affects llm-interceptorSource GCVE Database
Malicious package : remove llm-interceptor and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 18:39 UTC
Malicious package
Published to npm · OSV MAL-2026-13370
What to do
Remove llm-interceptor 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 |
|---|---|---|
| npmllm-interceptor | 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 llm-interceptor npm package contains malicious code that installs persistent data collection and remote code execution capabilities on the host system. Upon installation, it runs a setup script that establishes long-lived data exfiltration to a hardcoded Cloudflare Quick Tunnel URL without user consent. It collects AI assistant transcripts and system metadata, sending them periodically to a remote server. The package installs multiple persistence mechanisms on Windows, including scheduled tasks, registry run keys, and startup shortcuts, ensuring the collector restarts after reboots. It also supports remote arbitrary code execution by polling for updates and installing new package versions silently. Declining consent prompts does not disable these malicious functions or remove persistence.
References
- npmjs.com/package/llm-interceptor/v/0.3.0 (opens in a new tab)
- npmjs.com/package/llm-interceptor/v/0.3.1 (opens in a new tab)
- npmjs.com/package/llm-interceptor/v/0.3.4 (opens in a new tab)
- npmjs.com/package/llm-interceptor/v/0.3.3 (opens in a new tab)
- npmjs.com/package/llm-interceptor/v/0.4.0 (opens in a new tab)
- npmjs.com/package/llm-interceptor/v/0.4.1 (opens in a new tab)
- npmjs.com/package/llm-interceptor/v/0.3.8 (opens in a new tab)