MAL-2026-15835

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/daisypick/MAL-2026-15835.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15835
Aliases
  • GHSA-8ppm-gjvm-rvj5
Published
2026-09-02T11:18:04Z
Modified
2026-09-04T01:00:04.818966788Z
Summary
Malicious code in daisypick (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (a9bd46c99a0d58d9ded0faca080e42efa9015c9bd213c46292e82644117d53ae)

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: ghsa-malware (20c367b0508b0c8f2cd7476d0f5f44758ee2fc0fab0ccddd1dd6edc80f655702)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-09-03T05:28:34.636113Z",
            "id": "GHSA-8ppm-gjvm-rvj5",
            "source": "ghsa-malware",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2026-09-02T11:18:04Z",
            "sha256": "20c367b0508b0c8f2cd7476d0f5f44758ee2fc0fab0ccddd1dd6edc80f655702"
        },
        {
            "import_time": "2026-09-04T00:45:55.212754188Z",
            "id": "IN-MAL-2026-019391",
            "versions": [
                "1.2.0"
            ],
            "source": "amazon-inspector",
            "modified_time": "2026-09-03T23:51:09Z",
            "sha256": "a9bd46c99a0d58d9ded0faca080e42efa9015c9bd213c46292e82644117d53ae"
        }
    ]
}
References
Credits

Affected packages

npm / daisypick

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/daisypick/MAL-2026-15835.json"
indicators
{
    "evidence_files": [
        {
            "path": "src/utils/resolve-delegate.js",
            "tlsh": "5f213f50aa61b027e03bd8c5d1df889715c0e0963203d980b8cd0dd40bd76e0e6f2ee0",
            "sha256": "fa55eddc5a11d085d247670296fe3e7de253b304e8b8689e007ef638f39e2676"
        }
    ]
}
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]