blackbeards-navigator (npm) · Malicious Code
Affects blackbeards-navigatorSource GCVE Database
Malicious package : remove blackbeards-navigator and rotate any secrets on hosts that installed it.
Data as of 27 Oct 2026, 00:37 UTC
Malicious package
Published to npm · OSV MAL-2026-3199
What to do
Remove blackbeards-navigator 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 |
|---|---|---|
| npmblackbeards-navigator | 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 blackbeards-navigator and three related pirate-themed packages contain malicious lifecycle scripts that execute during installation. These scripts search the filesystem for HackTheBox CTF flags or environment variables, encode the collected data, and exfiltrate it to an attacker-controlled server. The packages have no legitimate functionality and are part of a dependency confusion attack with inflated version numbers.