Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in animate-css-vite (npm)

0
Critical
Published: 08/19/2026 (08/19/2026, 03:37:16 UTC)
Source: GCVE Database
Product: animate-css-vite

Description

The animate-css-vite npm package version 1.0.1 contains malicious code that fetches and executes remote code during the build process. This behavior is hidden by obfuscation techniques including RC4 and base64 encoding. The remote code execution occurs via a dynamic function call with require in scope, allowing arbitrary code execution within the consumer's build environment.

Affected software

npmghsa
animate-css-vite
Affected versions
=1.0.1

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

AILast updated: 08/19/2026, 14:34:02 UTC

Technical Analysis

The animate-css-vite package version 1.0.1 includes an obfuscated function in plugin.js that, when instantiated, constructs a URL and fetches remote code at runtime. The fetched response is base64-decoded and executed dynamically using new Function with require passed in scope. This allows the remote operator to execute arbitrary code inside the consumer's build process. The obfuscation uses a 130-entry RC4 string array with multiple decoders and a self-defending console-hook stub to conceal the network destination and execution logic. Such behavior is unexpected and malicious for a PostCSS plugin, which normally does not fetch or execute remote code.

Potential Impact

Consumers of animate-css-vite version 1.0.1 who include this package in their build process risk arbitrary code execution by a remote attacker. This can lead to compromise of the build environment, potential injection of malicious code into built artifacts, and further downstream supply chain attacks.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid using animate-css-vite version 1.0.1 and consider removing or replacing this package from their build dependencies.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14226
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4c2acd9273b492524f7

Added to database: 08/19/2026, 13:50:58 UTC

Last enriched: 08/19/2026, 14:34:02 UTC

Last updated: 08/19/2026, 14:34:02 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses