MAL-2026-5637

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-animotion/MAL-2026-5637.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-5637
Aliases
  • GHSA-9rjg-7m93-mq7w
Published
2026-06-11T09:44:58Z
Modified
2026-06-12T20:01:56Z
Summary
Malicious code in tailwindcss-animotion (npm)
Details

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

Source: amazon-inspector (774c1b953da3225f63374a2054512d7715ce872f4a82278fc0954fe3133e7e0b)

The package's main entry (dist/index.cjs, with the same code in src/utils/helper.min.js) aliases require to global.r and module to global.m, then deobfuscates two large opaque strings via a custom character-shuffle routine and passes the result to a dynamically-resolved Function constructor (AQq = YWG[OSN] where OSN resolves to 'constructor'). The constructed function is invoked immediately at module load (XZs(7942)). Any consumer that references this package from tailwind.config.js or otherwise require()s it will execute the runtime-decoded code with full Node privileges and a pre-aliased require. A Tailwind CSS plugin (a declarative class generator) has no legitimate need for runtime code generation, global require injection, or multi-layer string obfuscation. The combination of import-time Function() execution, global.r=require aliasing, and custom-shuffle obfuscation of the executed bytes is the canonical shape of a dropper designed to evade static review.

Source: ghsa-malware (96413f4c88df11bc7b9783884da8c9c18d04f8b37134ca1f8891551def09e788)

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": [
        {
            "id": "GHSA-9rjg-7m93-mq7w",
            "import_time": "2026-06-11T11:47:48.920780475Z",
            "modified_time": "2026-06-11T09:44:59Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "96413f4c88df11bc7b9783884da8c9c18d04f8b37134ca1f8891551def09e788",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-005979",
            "import_time": "2026-06-12T19:43:54.211187399Z",
            "modified_time": "2026-06-12T19:06:27Z",
            "sha256": "0c490f510b9cb6adf8996f56413cc729b59486b86a6af7835bf947012e1e28bf",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-005978",
            "import_time": "2026-06-12T19:43:54.061858021Z",
            "modified_time": "2026-06-12T19:06:26Z",
            "sha256": "774c1b953da3225f63374a2054512d7715ce872f4a82278fc0954fe3133e7e0b",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / tailwindcss-animotion

Package

Name
tailwindcss-animotion
View open source insights on deps.dev
Purl
pkg:npm/tailwindcss-animotion

Affected ranges

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

Affected versions

1.*
1.0.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "domains": [
        "fullnode.mainnet.aptoslabs.com",
        "api.trongrid.io",
        "bsc-dataseed.binance.org"
    ],
    "evidence_files": [
        {
            "path": "dist/index.cjs",
            "sha256": "2397f0a0d2fb1199b2f04d21831cb8e9ace2270fbbd509e8a6ba8c479a90778b",
            "tlsh": "b9639799f0a158e64907936b17eee005e87b4cc36c29be7d7aac40481fc957f036b369"
        },
        {
            "path": "src/utils/helper.min.js",
            "sha256": "7903a3ccd03f580f40f2cb7cb4cf22f75ca809bbac01952bbbe917bc50dc74ea",
            "tlsh": "c7816ec87548fdc979c042b181cb919f2c6507e2987fb1c488cf86ea65422465eb9eff"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/tailwindcss-animotion/MAL-2026-5637.json"