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

sirens-lamentnpm

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

MAL-2026-3200
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall sirens-lament

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 (sirens-lament) identifies itself as pkg=sirens-lament in the exfil request. All three lifecycle hooks run the same payload, ensuring execution regardless of npm lifecycle ordering.

The package sirens-lament 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 'sirens-lament' @ 217.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
209.0.0210.0.0211.0.0212.0.0213.0.0214.0.0217.0.0219.0.0220.0.0225.0.0

Indicators of compromise (SHA-256)

505243e234dcc2c15fba33a376390255cb450db37d0257633a91ac048910d85b
81d7267ca38199726a888b3da9f97fb4734357f0634f0a7d9644538549c6f1d3
9242ba02db88633c8a2a19d39b4a4191f5f667cfade6c8e67743f08ab5cfb15d
92e8d4bd28b0a946f3bdfe824a78d9e57a7d02018bbe39f1dfc1e4b5775ef7c5
9dbeb052333914a9daec66c2ddcac905ccf9d86e1932bf173c5d1275b4f946e6
80fc28b3298ed9f8cc4136eb5ba4fa820a62378d3cc34d8dd797b35776f12f95
9615ba51cb10acf715a4e178e65d3641bf70e0238ce2e81e48703fab9431cf1f
a05a91d9627585aeb842fe14a19760dc9be77aada5cd139ec0d30ca1b5dab44d
0bbd4aa6c17a69a37f660a2e68d207c7c934863bbe4008cd42ce11fc4942119a
2ffd9830870bac2afdf00af5d5c56e2701885e2e66f2a09814d4e4087e696fad

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 sirens-lament (10 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging sirens-lament across your stack and pipelines.

  2. If you installed it — respond

    sirens-lament 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 sirens-lament 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 sirens-lament 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. sirens-lament on npm has been identified as a malicious package (versions 209.0.0, 210.0.0, 211.0.0, 212.0.0, 213.0.0, 214.0.0, 217.0.0, 219.0.0, and 2 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-j844-qq6j-rj39

References

Credits

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

Detect & block this

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

sirens-lament (npm) malicious package — MAL-2026-3200 | O3 Security