Malicious code in sea-bound-siren (npm)
Description
The npm package 'sea-bound-siren' contains malicious code that executes during installation. It collects sensitive environment data, including system identifiers, environment variables, npm configuration files, and searches for secrets and flags within the application directory. This data is exfiltrated in base64-encoded form over unencrypted HTTP to a hardcoded external server. The payload activates only under specific conditions to evade detection, including checks for containerized environments and avoidance of certain Chinese npm mirrors. The exfiltration of .npmrc files can expose authentication tokens, enabling attackers to publish malicious packages under the victim's npm identity. Systems with this package installed should be considered fully compromised, and all secrets should be rotated immediately from a clean environment.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'sea-bound-siren' npm package includes a postinstall script that runs a shell pipeline to gather detailed system information such as user ID, hostname, environment variables, and contents of npm configuration files. It recursively searches the application directory for secrets and flags, then base64-encodes the collected data and sends it in two parts via HTTP PUT requests to a hardcoded external IP address. Execution is gated by an 'isChallengeWorker()' function that requires the current working directory to be within '/app/node_modules', a 12-character hexadecimal hostname (typical of Docker container IDs), and the presence of specific files like 'Cargo.toml' or 'package.json'. The payload suppresses execution if the npm registry is a known Chinese mirror, indicating environment fingerprinting to avoid analysis. The exfiltration of '.npmrc' files risks leaking npm authentication tokens, allowing attackers to impersonate victims in the npm ecosystem. The package is considered fully malicious, and any system with it installed is likely compromised.
Potential Impact
Installation of this package results in the exfiltration of sensitive system and environment data, including npm authentication tokens, to an attacker-controlled server. This compromises the confidentiality of secrets and credentials stored on the system. The attacker may gain the ability to publish malicious npm packages under the victim's identity, leading to supply chain compromise. The presence of this package indicates a full system compromise, requiring immediate secret rotation and remediation.
Defensive Guidance
No official patch or fix is available for this malicious package. Immediate removal of the 'sea-bound-siren' package is required. All secrets, authentication tokens, and keys stored on the affected system should be rotated from a separate, trusted environment. Due to the potential full compromise, assume the system is untrusted and consider rebuilding or thoroughly investigating for additional persistence mechanisms. Monitor for any unauthorized npm package publications using compromised tokens.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5693
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-cp5x-35vp-rj7j"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f317acd9273b49e493fe
Added to database: 09/01/2026, 15:45:27 UTC
Last enriched: 09/08/2026, 13:53:36 UTC
Last updated: 10/01/2026, 22:40:44 UTC
Views: 31
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.