Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-6645: Malicious code in @rmlibrary/formatting (npm)

0
Critical
Published: 06/29/2026 (06/29/2026, 16:50:48 UTC)
Source: GCVE Database
Product: @rmlibrary/formatting

Description

The npm package @rmlibrary/formatting contains malicious code that compromises any computer on which it is installed or running. The presence of this package indicates a full system compromise, and all secrets and keys stored on the affected machine should be rotated immediately from a different, secure device. Simply removing the package does not guarantee removal of all malicious software introduced by it.

Affected software

npmghsa
@rmlibrary/formatting

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

AILast updated: 06/29/2026, 22:24:48 UTC

Technical Analysis

The @rmlibrary/formatting package on npm has been identified as containing malicious code. Installation or execution of this package results in a full compromise of the host system, potentially allowing an attacker complete control. Due to the severity of the compromise, all sensitive credentials on the affected system must be considered exposed and rotated from a separate trusted environment. Removal of the package alone is insufficient to ensure system integrity, as additional malicious artifacts may persist.

Potential Impact

Full system compromise on any computer with the package installed or running. Exposure of all stored secrets and keys on the affected machine. Potential persistent malicious presence beyond the package itself.

Mitigation Recommendations

Remove the @rmlibrary/formatting package immediately. Rotate all secrets and keys stored on the affected computer from a different, secure machine. Conduct a thorough investigation and remediation of the affected system, as removal of the package alone does not guarantee elimination of all malicious software.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-6645
Osv Schema Version
1.7.4
Aliases
["GHSA-4j9v-f5j4-xjvx"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a42ed3c27e9c79719935570

Added to database: 06/29/2026, 22:10:04 UTC

Last enriched: 06/29/2026, 22:24:48 UTC

Last updated: 06/30/2026, 00:43:52 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses