Malicious code in @xrelly-stack/bails (npm)
Description
The npm package @xrelly-stack/bails contains malicious code that fully compromises any computer on which it is installed or running. The presence of this package means that all secrets and keys stored on the affected computer should be considered compromised and must be rotated from a separate, secure device. Removing the package alone does not guarantee removal of all malicious software introduced by it.
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 @xrelly-stack/bails npm package is identified as malicious software that, when installed or executed, fully compromises the host system. This compromise includes potential unauthorized access and control by an external entity. Due to the severity of the compromise, all sensitive credentials on the affected system should be rotated from a different, uncompromised machine. The package removal does not ensure complete remediation as additional malicious components may persist.
Potential Impact
Full system compromise on any computer with the package installed or running. All secrets and keys stored on the system are considered compromised, requiring immediate rotation from a secure environment. There is no assurance that removing the package will eliminate all malicious software introduced.
Defensive Guidance
Immediately remove the @xrelly-stack/bails package from affected systems. Rotate all secrets and keys from a different, trusted computer. Conduct a thorough investigation and remediation of the affected system, as removal of the package alone may not fully eradicate the compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17843
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-8qfw-qm7w-8239"]
- Ecosystems
- ["npm"]
Threat ID: 6acd555f2cdf04f656da86ae
Added to database: 10/12/2026, 21:47:11 UTC
Last enriched: 10/12/2026, 22:03:12 UTC
Last updated: 10/12/2026, 22:03:12 UTC
Views: 2
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.
External Links
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.