trapp-check-logs (npm) · Malicious Code
Affects trapp-check-logsSource GCVE Database
Malicious package : remove trapp-check-logs and rotate any secrets on hosts that installed it.
Data as of 6 Aug 2026, 19:20 UTC
Malicious package
Published to npm · OSV MAL-2026-12286
What to do
Remove trapp-check-logs 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 |
|---|---|---|
| npmtrapp-check-logs | 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 'trapp-check-logs' version 20.1.9 contains malicious code that, upon being required, downloads and executes platform-specific payloads from obfuscated external hosts. It uses HTTPS and DNS TXT record channels to fetch and execute native binaries under disguised names in temporary directories, resulting in full host code execution. The package masquerades as a trivial logger but performs covert malicious activities leading to complete system compromise.