Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

blackbeards-navigatornpm

Malicious code in blackbeards-navigator (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-3199
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall blackbeards-navigator

What this malware does

Four pirate-themed npm packages (blackbeards-navigator, beusy, sirens-lament, gunpowder-ghost) were published by the npm account beusy with heavily inflated version numbers (209.0.0–210.0.0), a hallmark of dependency confusion attacks. Each package contains identical malicious lifecycle scripts (preinstall, install, and postinstall) that run on npm install, searching the entire filesystem (up to 8 directory levels deep) for HackTheBox CTF flags matching the pattern HTB{. If no flags are found, the scripts collect environment variables and /proc/1/environ as a fallback. The collected data is base64-encoded and exfiltrated via an HTTPS GET request to an attacker-controlled ngrok tunnel (https://7f83-194-51-113-30.ngrok-free.app), with the package name and hostname included as query parameters. The packages have no legitimate functionality; index.js exports an empty object.

This package (blackbeards-navigator) identifies itself as pkg=blackbeards-navigator in the exfil request. All three lifecycle hooks run the same payload, ensuring execution regardless of npm lifecycle ordering.

The package blackbeards-navigator was found to contain malicious code.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

The OpenSSF Package Analysis project identified 'blackbeards-navigator' @ 207.0.0 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

10 flagged
207.0.0209.0.0210.0.0211.0.0212.0.0213.0.0214.0.0217.0.0219.0.0225.0.0

Indicators of compromise (SHA-256)

6434653a933f0035076f4f07976a7bf6ffacc42b7f08868fbb621c53cfb2e65f
a8d7445bd81c2e9a76a2b526d0aaa809dca634176f14df4b7830c418cda7be4a
ff3c042b35f1227fd1280ff2bba90a89812c4a16dcf9e6720b71e7c9eb6c18f9
11157035a92c03f134540690dcdd89c40c58f7d0dd66ac1bdc9e1c907f026bf4
418d1317217bdf44cf9560739b4dc8941a2c8003453dc5c01fde75c492bb2f85
a505b18c53ce83334b8ac5b36fd1fc9995a2b7b166d5c25c2befc9f87a0271a6
278eef4b1bd3aa68b13703b18c2cbb284d64977dfb8b0d4b505f43651e02551a
69dc6c3da36bdf65b8a659a6854a3be87256c6fd514ab67a2f3bf0154634f283
96d6085cfaa03574e3ceea264b81593ea9e1ebf911fd16c780193d4723dd7355
e4044c92e28b081773ad9e5378ebfd9fba7ccda072f9f53c9e8085ce20507a19

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for blackbeards-navigator (10 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging blackbeards-navigator across your stack and pipelines.

  2. If you installed it — respond

    blackbeards-navigator is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If blackbeards-navigator was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks blackbeards-navigator before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. blackbeards-navigator on npm has been identified as a malicious package (versions 207.0.0, 209.0.0, 210.0.0, 211.0.0, 212.0.0, 213.0.0, 214.0.0, 217.0.0, and 2 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-cfpj-hqgr-45g3

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder
  • SafeDep · finder

Detect & block this

O3 blocks blackbeards-navigator-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

blackbeards-navigator (npm) malicious package — MAL-2026-3199 | O3 Security