MAL-2026-10432

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/animated-css-kit/MAL-2026-10432.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-10432
Aliases
  • GHSA-q9x5-95j3-g76v
Published
2026-07-13T09:21:32Z
Modified
2026-08-04T23:04:51Z
Summary
Malicious code in animated-css-kit (npm)
Details

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

Source: amazon-inspector (2156080aac79f8a251ee10f328ba8df515372cd8db293d45655ff32d54f61257)

The package presents itself as a PostCSS plugin for animate.css, but its main export (src/plugin.js createPlugin) synchronously triggers src/side-effects.js, which is heavily obfuscated (obfuscator.io string-array with RC4 decoding, anti-debug via Function.prototype.toString inspection, console-method hijacking) while the rest of the src/*.js tree is plain unobfuscated PostCSS code. The obfuscated module fetches a remote JSON payload, base64-decodes its message field, and executes it via new Function('require', m)(require), handing the caller's require to attacker-supplied code with retry-up-to-10-times logic. This fires when a consumer imports the package and instantiates the exported plugin (the documented usage in a build pipeline), giving the attacker arbitrary code execution on the installer/build machine with full access to the surrounding Node.js environment. The clean plugin surface + targeted obfuscation of only the network-and-eval module + evocative name mimicking the animate.css ecosystem are consistent with a supply-chain attack using a cover-story package.

Source: ghsa-malware (213036b34c4d72e2bbe7951b4299f121f281995b56abb3aeb29945eb351d5da7)

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": "IN-MAL-2026-010200",
            "import_time": "2026-07-13T10:37:37.150954665Z",
            "modified_time": "2026-07-13T09:21:32Z",
            "sha256": "2156080aac79f8a251ee10f328ba8df515372cd8db293d45655ff32d54f61257",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        },
        {
            "id": "GHSA-q9x5-95j3-g76v",
            "import_time": "2026-07-28T02:02:27.874832Z",
            "modified_time": "2026-07-27T12:33:39Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "213036b34c4d72e2bbe7951b4299f121f281995b56abb3aeb29945eb351d5da7",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-011232",
            "import_time": "2026-08-04T22:30:06.313784987Z",
            "modified_time": "2026-08-04T21:51:26Z",
            "sha256": "0969f007a776f7de55d658bbdad77127df7969bbe3c3dfd50e1ef0d7f20f7626",
            "source": "amazon-inspector",
            "versions": [
                "1.0.3"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / animated-css-kit

Package

Name
animated-css-kit
View open source insights on deps.dev
Purl
pkg:npm/animated-css-kit

Affected ranges

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

Affected versions

1.*
1.0.1
1.0.3

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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "src/side-effects.js",
            "sha256": "f8f786eaf000460bb05e883492c6d9d547b792fbb478c0cbe09d1dd1fa1a25ba",
            "tlsh": "0ff2f8fd32e5f444272b5a6084bf30dfb5ba24d238191c00d65aa4a93c73b1fa47ad9c"
        },
        {
            "path": "package.json",
            "sha256": "74ede890b38d782825d50ec7d3a01d5a39a96a2c747b5acd202b56324a3a2e05",
            "tlsh": "2e113273d5141d270bf8eaa099690152f6420b5f65708d0b30bb411c4f7752382aef78"
        }
    ],
    "package_integrity": [
        {
            "filename": "animated-css-kit-1.0.1.tgz",
            "hashes": {
                "sha1": "b354d0f15d1db31a17f36e0cd3c025b6a382a60f",
                "sha512_sri": "sha512-JpRu0/4m6y4xkO7KRUw+DsiGaPalvztFaiBT78hLQ9yP/c6HItHEcw8yeZg70VaSN3ALK/OZ8FZUVJ3UI7RilQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/animated-css-kit/MAL-2026-10432.json"