Critical Malicious Code Vulnerability in @trigo/pathfinder-ui-css Package
Summary
MAL-2025-190689: Malicious code in @trigo/pathfinder-ui-css (npm). Affects @trigo/pathfinder-ui-css versions 0.1.1. 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 @trigo/pathfinder-ui-css package is an npm library designed for styling user interfaces in web applications. It provides a set of CSS styles and components that developers can use to enhance the visual appeal of their applications. However, this package has been identified as containing malicious code, posing a significant security risk to any system that has it installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @trigo/pathfinder-ui-css package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of the code means that simply removing the package may not eliminate all threats, as full control of the affected system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @trigo/pathfinder-ui-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
Currently, the only effective workaround is to uninstall the @trigo/pathfinder-ui-css package. You can do this by executing the following command in your terminal: npm uninstall @trigo/pathfinder-ui-css. Additionally, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The @trigo/pathfinder-ui-css package has been identified as containing malicious code that poses a severe security risk. It is essential to remove this package from your project and take necessary precautions to secure your system. Regular monitoring for vulnerabilities using tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for @trigo/pathfinder-ui-css →
FAQ
Immediately uninstall the package and rotate any sensitive information stored on the affected system.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
As of now, there is no patched version available. It is recommended to uninstall the package until further notice.
Failure to address this vulnerability can lead to unauthorized access to sensitive data and potential compromise of your entire system.
No, it is highly advised to remove the package immediately to prevent any security breaches.