Malicious code in tailwind-animator-scroll (npm)
The npm package tailwind-animator-scroll version 1.7.0 contains malicious code embedded in its main entry point. The code uses obfuscated eval and base64 decoding to execute attacker-controlled payloads during the build process, exposing sensitive environment variables, CI tokens, source code, and credentials. The package impersonates a legitimate Tailwind CSS animation plugin via typosquatting and copied documentation to lure developers into installing it. Installation or use of this package compromises the host system, potentially allowing full attacker control.
AI Analysis
Technical Summary
The tailwind-animator-scroll npm package (version 1.7.0) includes obfuscated malicious code in its src/index.js file. This code uses eval with base64-decoded payloads to re-expose Node.js require and module as global aliases and then executes a further opaque payload via a custom decoder and Function constructor. Because this code runs in the main entry point, simply adding the plugin to tailwind.config.js triggers execution within the developer's build environment, exposing sensitive data such as CI tokens, environment variables, source code, and credentials. The package also impersonates the legitimate tailwindcss-animationfound plugin by copying its CSS classes and API, using a misspelled package name (typosquatting), and linking to the real plugin to deceive users. Removal of the package alone may not fully remediate the compromise as the attacker may have established persistent control.
Potential Impact
Systems with tailwind-animator-scroll version 1.7.0 installed or running are fully compromised. Attacker-controlled code executes in the build environment, exposing sensitive secrets, environment variables, source code, and credentials. This can lead to unauthorized access, data theft, and further system compromise. Because the malicious code executes during build, continuous integration environments and developer machines are at risk. The compromise may persist beyond package removal due to potential attacker persistence mechanisms.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. The package should be immediately removed from all environments. All secrets, keys, and credentials exposed on compromised systems must be rotated from a secure, uncompromised machine. Developers should verify the authenticity of npm packages before installation, avoiding typosquatted or suspicious packages. Monitor for any unusual activity indicating persistent compromise. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
Malicious code in tailwind-animator-scroll (npm)
Description
The npm package tailwind-animator-scroll version 1.7.0 contains malicious code embedded in its main entry point. The code uses obfuscated eval and base64 decoding to execute attacker-controlled payloads during the build process, exposing sensitive environment variables, CI tokens, source code, and credentials. The package impersonates a legitimate Tailwind CSS animation plugin via typosquatting and copied documentation to lure developers into installing it. Installation or use of this package compromises the host system, potentially allowing full attacker control.
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 tailwind-animator-scroll npm package (version 1.7.0) includes obfuscated malicious code in its src/index.js file. This code uses eval with base64-decoded payloads to re-expose Node.js require and module as global aliases and then executes a further opaque payload via a custom decoder and Function constructor. Because this code runs in the main entry point, simply adding the plugin to tailwind.config.js triggers execution within the developer's build environment, exposing sensitive data such as CI tokens, environment variables, source code, and credentials. The package also impersonates the legitimate tailwindcss-animationfound plugin by copying its CSS classes and API, using a misspelled package name (typosquatting), and linking to the real plugin to deceive users. Removal of the package alone may not fully remediate the compromise as the attacker may have established persistent control.
Potential Impact
Systems with tailwind-animator-scroll version 1.7.0 installed or running are fully compromised. Attacker-controlled code executes in the build environment, exposing sensitive secrets, environment variables, source code, and credentials. This can lead to unauthorized access, data theft, and further system compromise. Because the malicious code executes during build, continuous integration environments and developer machines are at risk. The compromise may persist beyond package removal due to potential attacker persistence mechanisms.
Mitigation Recommendations
No official patch or fix is currently available for this malicious package. The package should be immediately removed from all environments. All secrets, keys, and credentials exposed on compromised systems must be rotated from a secure, uncompromised machine. Developers should verify the authenticity of npm packages before installation, avoiding typosquatted or suspicious packages. Monitor for any unusual activity indicating persistent compromise. Patch status is not yet confirmed — check the vendor advisory or trusted sources for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5618
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-mx93-wj6x-87wp"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4e4ef9c9d9e3dbe328cf24
Added to database: 07/08/2026, 13:22:01 UTC
Last enriched: 07/08/2026, 13:45:36 UTC
Last updated: 07/31/2026, 02:05:45 UTC
Views: 8
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.