Critical Malicious Code Vulnerability in css-dedoupe Package

css-dedoupe Updated 25 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190953: Malicious code in css-dedoupe (npm). Affects css-dedoupe versions 0.1.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The css-dedoupe package is a tool used in the npm ecosystem for optimizing CSS files by removing duplicate styles. It is designed to enhance performance and reduce file size in web applications. However, this package has been found to contain malicious code, posing significant security risks to systems that utilize it.

Vulnerability Detail

The css-dedoupe package has been identified to harbor malicious code that compromises the security of any system where it is installed. This vulnerability originates from two sources: Amazon Inspector and GHSA Malware, which have confirmed the presence of embedded malicious code. Systems running this package should be considered fully compromised, and all sensitive information, such as secrets and keys, must be rotated immediately. The malicious code may persist even after the package is removed, indicating a severe risk to system integrity.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall css-dedoupe

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, it is recommended to avoid using the css-dedoupe package altogether until a secure version is released. If you need similar functionality, consider using alternative packages that do not have known vulnerabilities.

Conclusion

The css-dedoupe package has been identified as containing malicious code, posing a significant security threat to systems using it. Immediate action is required to uninstall the package and secure sensitive information. Users should remain vigilant and consider using alternative solutions until a safe version is available.

See every vulnerability recorded for css-dedoupe →

Share this vulnerability

FAQ

css-dedoupe is an npm package designed to optimize CSS files by removing duplicate styles, improving performance and reducing file size.

The malicious code can compromise your system's security, potentially allowing unauthorized access to sensitive information and control over your machine.

You should immediately uninstall the css-dedoupe package and rotate any sensitive information stored on your system.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without needing to sign up.

While removing the package is essential, there is no guarantee that all malicious software will be removed. It is advisable to take additional security measures.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall css-dedoupe

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback