Malicious code in textshape-css (npm)
The npm package 'textshape-css' version 1.0.0 is a malicious typosquat of the legitimate Tailwind CSS typography plugin. It contains obfuscated code that executes immediately upon import or require, spawning a shell process that downloads and runs an unpinned third-party package from an attacker-controlled server. This results in remote code execution and full system compromise. Removal of the package does not guarantee eradication of all malicious components. Immediate secret and key rotation is advised.
AI Analysis
Technical Summary
The 'textshape-css' package (version 1.0.0) masquerades as a Tailwind CSS typography plugin but includes obfuscated code in src/index.js that executes on module load. This code spawns a shell process that runs 'npx -y runtimedev-link@latest' with an attacker-supplied token, fetching and executing code from a remote IP address over HTTP. This behavior effectively acts as a remote code execution dropper, compromising any system that installs or runs this package. The package is a near-verbatim typosquat targeting developers searching for the legitimate '@tailwindcss/typography' plugin.
Potential Impact
Systems with 'textshape-css' version 1.0.0 installed or running are fully compromised, as the package executes attacker-controlled code remotely. This can lead to unauthorized control over the affected system, potential data exfiltration, and persistence of malicious software. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove 'textshape-css' version 1.0.0 from all systems. Because the package grants full control to an attacker, it is critical to assume full compromise of affected systems. All secrets and credentials stored on these systems should be rotated from a different, secure machine. Monitor for any signs of persistent malicious activity and consider rebuilding affected systems.
Malicious code in textshape-css (npm)
Description
The npm package 'textshape-css' version 1.0.0 is a malicious typosquat of the legitimate Tailwind CSS typography plugin. It contains obfuscated code that executes immediately upon import or require, spawning a shell process that downloads and runs an unpinned third-party package from an attacker-controlled server. This results in remote code execution and full system compromise. Removal of the package does not guarantee eradication of all malicious components. Immediate secret and key rotation is 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 'textshape-css' package (version 1.0.0) masquerades as a Tailwind CSS typography plugin but includes obfuscated code in src/index.js that executes on module load. This code spawns a shell process that runs 'npx -y runtimedev-link@latest' with an attacker-supplied token, fetching and executing code from a remote IP address over HTTP. This behavior effectively acts as a remote code execution dropper, compromising any system that installs or runs this package. The package is a near-verbatim typosquat targeting developers searching for the legitimate '@tailwindcss/typography' plugin.
Potential Impact
Systems with 'textshape-css' version 1.0.0 installed or running are fully compromised, as the package executes attacker-controlled code remotely. This can lead to unauthorized control over the affected system, potential data exfiltration, and persistence of malicious software. All secrets and keys stored on the compromised system should be considered exposed and must be rotated immediately from a secure environment.
Mitigation Recommendations
There is no official patch or fix available for this malicious package. The recommended mitigation is to immediately remove 'textshape-css' version 1.0.0 from all systems. Because the package grants full control to an attacker, it is critical to assume full compromise of affected systems. All secrets and credentials stored on these systems should be rotated from a different, secure machine. Monitor for any signs of persistent malicious activity and consider rebuilding affected systems.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6475
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-pmmh-8m34-xxwh"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577eea68715ace43b4126f
Added to database: 07/15/2026, 12:36:58 UTC
Last enriched: 07/15/2026, 12:52:38 UTC
Last updated: 07/25/2026, 09:06:18 UTC
Views: 5
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.