Critical Malicious Code Vulnerability in fe-hoc-theme Package
Summary
MAL-2025-5688: Malicious code in fe-hoc-theme (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 fe-hoc-theme package is an npm library designed to provide a set of theming functionalities for applications. It allows developers to customize the appearance of their applications easily. However, this package has been found to contain embedded malicious code, posing significant security risks to any system that utilizes it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code embedded within the fe-hoc-theme package. This code can compromise the security of any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code means that simply removing the package may not eliminate all threats, as full control of the 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 fe-hoc-theme
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 advisable to immediately rotate all secrets and keys stored on the affected computer from a different, secure machine. This step is crucial to mitigate any potential damage caused by the malicious code.
Conclusion
The fe-hoc-theme package has been identified as containing malicious code that poses significant security risks. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in the future.
See every vulnerability recorded for fe-hoc-theme →
FAQ
fe-hoc-theme is an npm package that provides theming functionalities for applications, allowing developers to customize their app's appearance.
The malicious code can compromise your system, allowing unauthorized access to sensitive information and potentially leading to further security breaches.
You should remove the fe-hoc-theme package immediately and rotate any sensitive information stored on the affected 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 any signup.
Not necessarily. While removing the package is crucial, there is no guarantee that all malicious software resulting from its installation will be removed.