Malicious Code Detected in ifood-docusaurus-theme: Security Alert
Summary
MAL-2025-6728: Malicious code in ifood-docusaurus-theme (npm). Affects ifood-docusaurus-theme versions >= 2.0.4. 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 'ifood-docusaurus-theme' is an npm package designed for creating themes in Docusaurus, a popular static site generator. This package allows developers to customize their Docusaurus sites with various themes and styles. However, it has been identified to communicate with a domain associated with malicious activities, raising significant security concerns for users who integrate this package into their projects.
Vulnerability Detail
The vulnerability arises from the package's communication with a domain linked to malicious activities. This could potentially lead to data breaches, unauthorized access, or the execution of harmful scripts within applications that utilize this package. The issue was introduced in version 2.0.4, making it critical for users to assess their current usage of this package and take appropriate action to mitigate risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ifood-docusaurus-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
If an immediate update is not feasible, consider removing the package from your project until a secure version is released. You can do this by executing: 'npm uninstall ifood-docusaurus-theme'. Additionally, monitor your application for any unusual behavior that may arise from the use of this package.
Conclusion
The 'ifood-docusaurus-theme' package has been flagged for a serious vulnerability due to its communication with a malicious domain. Users are urged to update or remove the package to protect their applications from potential threats. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for ifood-docusaurus-theme →
FAQ
It is an npm package used to create themes for Docusaurus, allowing developers to customize their static sites.
The package communicates with a domain known for malicious activities, which could compromise the security of applications using it.
You can use Vulert, which monitors open-source vulnerabilities in your software. Simply upload your package-lock.json file to check for vulnerabilities.
Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities without requiring code access or installation.
Consider removing the package from your project temporarily and monitor your application for any unusual behavior.