Advisory

MAL-2026-3200

Also known as: GHSA-j844-qq6j-rj39

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in sirens-lament (npm)

Details

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.

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (0bbd4aa6c17a69a37f660a2e68d207c7c934863bbe4008cd42ce11fc4942119a)
The package sirens-lament was found to contain malicious code.

Source: ghsa-malware (2ffd9830870bac2afdf00af5d5c56e2701885e2e66f2a09814d4e4087e696fad)
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.

Source: ossf-package-analysis (505243e234dcc2c15fba33a376390255cb450db37d0257633a91ac048910d85b)
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.

Severity

Not rated by the source.

Dates

Published
2026-04-30 12:00 UTC
Modified
2026-05-01 09:05 UTC

Affected packages and fixes

sirens-lament

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences