daisypick@2.0.0
Vulnerability report · Last retrieved from osv.dev September 4, 2026 at 3:57 PM UTC
OSV ID
MAL-2026-15835
Ecosystem
npm
Summary
The package presents itself as a Tailwind CSS color/service-worker helper, but the daisypick/plugin export reads a URL from node_modules/.bin/manifest.json, downloads a JavaScript body over the network via fetchScript, deletes the manifest file after reading it, and passes the downloaded code to resolveDelegate. resolveDelegate reconstructs the string constructor at runtime by shuffling the seed strings METHOD_SEED = "gbcweftcoqstauctorhijklmnopdrsruvnxy" and TOKEN_SEED with colorToHex, indexes resolver[methodName] to obtain the Function constructor, and invokes the resulting function inside withModuleContext, executing the fetched code in the Node process with require, module, and __filename bound in. The fetched URL is unpinned and unverified, and the manifest is unlinked after use. Any developer adding daisypick/plugin to a Tailwind config therefore causes arbitrary remote JavaScript to run in-process on the build machine on every Tailwind build, with the Function-constructor lookup deliberately hidden behind color-utility naming to evade static inspection.
Source: amazon-inspector (a9bd46c99a0d58d9ded0faca080e42efa9015c9bd213c46292e82644117d53ae)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.