Critical Malicious Code Vulnerability in firefox-profiler Package
Summary
MAL-2025-6160: Malicious code in firefox-profiler (npm). Affects firefox-profiler versions 1.0.0. 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 firefox-profiler package is a tool designed for profiling Firefox applications, enabling developers to analyze performance and optimize their code. However, this package has been identified to contain malicious code, posing significant security risks to any system where it is installed. The malicious nature of the code can compromise sensitive data and grant unauthorized access to external entities.
Vulnerability Detail
The vulnerability stems from the presence of embedded malicious code within the firefox-profiler package. This code can lead to complete system compromise, allowing attackers to access sensitive information such as secrets and keys stored on the affected computer. The malicious code was identified in the npm ecosystem, and its presence indicates a severe security threat that requires immediate attention.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall firefox-profiler
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 measure, avoid using the firefox-profiler package until it has been confirmed safe. Additionally, rotate all secrets and keys stored on the affected system from a secure, unaffected computer.
Conclusion
The firefox-profiler package has been identified as containing malicious code, posing a significant security risk. Immediate action is required to remove the package and secure any sensitive information. Regular monitoring and updates are essential to prevent similar vulnerabilities in the future.
See every vulnerability recorded for firefox-profiler →
FAQ
You should remove the firefox-profiler package immediately 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 requiring any signup.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated to the latest versions.
Failing to address this vulnerability can lead to unauthorized access to sensitive data, potential data breaches, and complete system compromise.
Detailed information can be found on the GitHub security advisory page and through the official npm package repository.