Skip to main content
MalwarePublished

llm-interceptor (npm) · Malicious Code

Affects llm-interceptorSource GCVE Database

0

Malicious package : remove llm-interceptor and rotate any secrets on hosts that installed it.

Data as of 6 Aug 2026, 18:39 UTC

Classification

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

ProductAffectedFixed in
npmllm-interceptorAffected
  • 0.3.0 – 0.4.1
7 affected builds
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

Community reviews

Loading reviews…