MAL-2026-6883: Malicious code in styled-text-logger (npm)
The styled-text-logger npm package version 1.3.1 contains malicious code that fully compromises any computer on which it is installed or running. This compromise potentially exposes all secrets and keys stored on the affected system. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a separate, secure computer is strongly advised.
AI Analysis
Technical Summary
The styled-text-logger package version 1.3.1 is identified as containing malicious code that grants full control of the affected computer to an outside entity. This results in a complete system compromise, including potential exposure of stored secrets and keys. Due to the nature of the compromise, simply uninstalling the package may not remove all malicious artifacts. The advisory recommends immediate rotation of all secrets and keys from a different, uncompromised machine to mitigate ongoing risk.
Potential Impact
Full system compromise on any computer with styled-text-logger version 1.3.1 installed or running. All stored secrets and keys on the compromised system are at risk of exposure. The attacker may maintain persistent access even after package removal.
Mitigation Recommendations
Remove the styled-text-logger package version 1.3.1 immediately. Rotate all secrets and keys from a separate, secure computer to prevent unauthorized access. Because the system may remain compromised beyond package removal, consider a full system audit and remediation. Patch status is not applicable as this is a malicious package rather than a vulnerability with a fix.
MAL-2026-6883: Malicious code in styled-text-logger (npm)
Description
The styled-text-logger npm package version 1.3.1 contains malicious code that fully compromises any computer on which it is installed or running. This compromise potentially exposes all secrets and keys stored on the affected system. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a separate, secure computer is strongly advised.
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 styled-text-logger package version 1.3.1 is identified as containing malicious code that grants full control of the affected computer to an outside entity. This results in a complete system compromise, including potential exposure of stored secrets and keys. Due to the nature of the compromise, simply uninstalling the package may not remove all malicious artifacts. The advisory recommends immediate rotation of all secrets and keys from a different, uncompromised machine to mitigate ongoing risk.
Potential Impact
Full system compromise on any computer with styled-text-logger version 1.3.1 installed or running. All stored secrets and keys on the compromised system are at risk of exposure. The attacker may maintain persistent access even after package removal.
Mitigation Recommendations
Remove the styled-text-logger package version 1.3.1 immediately. Rotate all secrets and keys from a separate, secure computer to prevent unauthorized access. Because the system may remain compromised beyond package removal, consider a full system audit and remediation. Patch status is not applicable as this is a malicious package rather than a vulnerability with a fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6883
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-676w-w872-57p4"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c342527e9c797195f9c5e
Added to database: 07/06/2026, 23:03:01 UTC
Last enriched: 07/07/2026, 00:09:52 UTC
Last updated: 07/07/2026, 00:09:52 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.