Malicious Code Detected in fuji-css Package - Security Alert
Summary
MAL-2025-21036: Malicious code in fuji-css (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The fuji-css package is an npm library designed for CSS styling and management in web applications. It offers various features that simplify the process of applying styles to HTML elements. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the fuji-css package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code can lead to unauthorized access, data breaches, or other malicious activities. The issue originated from the package's initial release and affects all versions starting from 0. The ramifications of this vulnerability can be severe, impacting both the integrity and confidentiality of user data.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fuji-css
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 temporary workaround, you can avoid using the fuji-css package altogether and implement CSS styles directly in your application or use a different, trusted CSS library. This will help mitigate the risks associated with the malicious code present in fuji-css.
Conclusion
The fuji-css package has been identified to contain malicious code, posing serious security risks to applications that utilize it. It is essential for developers to take immediate action by removing the package and considering alternative solutions. Regular monitoring for updates and vulnerabilities is crucial to maintaining application security.
See every vulnerability recorded for fuji-css →
FAQ
fuji-css is an npm package used for styling web applications, providing various features for CSS management.
The malicious code can lead to unauthorized access and potential data breaches, compromising application security.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Remove the fuji-css package from your project and consider using a secure alternative for CSS styling.
As of now, there is no patched version available. It is recommended to remove the package until a secure version is released.