Malicious code in daisypick (npm)
Description
The npm package 'daisypick' contains malicious code that executes arbitrary remote JavaScript code during Tailwind CSS builds. It fetches a script from an unverified URL specified in a local manifest file, deletes the manifest after reading, and executes the downloaded code using a dynamically reconstructed Function constructor. This behavior effectively allows remote code execution on any machine that includes 'daisypick/plugin' in its Tailwind configuration.
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 'daisypick' npm package masquerades as a Tailwind CSS helper but includes a malicious 'plugin' export that reads a URL from a local manifest file, fetches JavaScript code from that URL without verification, deletes the manifest file, and executes the fetched code in the Node.js process. The Function constructor used to execute the code is obfuscated by reconstructing the string 'constructor' at runtime using color utility naming to evade static detection. This results in arbitrary remote code execution on the build machine whenever Tailwind builds run with this plugin.
Potential Impact
Any system with the 'daisypick' package installed and using the 'daisypick/plugin' in Tailwind CSS builds is at risk of full compromise. The attacker can execute arbitrary code remotely, potentially gaining full control over the build environment. All secrets and keys stored on the compromised machine should be considered exposed and require immediate rotation. Simply removing the package does not guarantee removal of all malicious artifacts or backdoors.
Defensive Guidance
No official patch or fix is currently available. The package should be removed immediately from all environments. Developers should avoid using 'daisypick/plugin' in Tailwind configurations. All secrets and credentials on affected machines should be rotated from a secure, uncompromised system. Monitor for any signs of compromise and consider rebuilding affected systems to ensure removal of any persistent malicious code.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15835
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-8ppm-gjvm-rvj5"]
- Ecosystems
- ["npm"]
Threat ID: 6a9ad4e9acd9273b49b676b2
Added to database: 09/04/2026, 14:25:45 UTC
Last enriched: 09/07/2026, 17:55:44 UTC
Last updated: 10/04/2026, 07:21:24 UTC
Views: 25
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.
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.