Malicious Code Detected in adonis-bootstrap-mantle-loop Package
Summary
MAL-2025-14106: Malicious code in adonis-bootstrap-mantle-loop (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 adonis-bootstrap-mantle-loop package is a Node.js library designed to facilitate the integration of Bootstrap with the AdonisJS framework. It provides developers with a streamlined way to implement responsive design elements in their AdonisJS applications. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the adonis-bootstrap-mantle-loop package. This code can potentially compromise the security of applications by allowing unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 of the package, and it is crucial for developers to be aware of the risks associated with using this compromised library.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall adonis-bootstrap-mantle-loop
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, consider using alternative packages that provide similar functionality without the associated risks. Review your project's dependencies and replace adonis-bootstrap-mantle-loop with a secure alternative until a patch is released.
Conclusion
The discovery of malicious code in the adonis-bootstrap-mantle-loop package highlights the importance of regularly auditing dependencies in software projects. Developers should take immediate action to remove the affected package and consider alternatives to safeguard their applications from potential threats.
See every vulnerability recorded for adonis-bootstrap-mantle-loop →
FAQ
It is a Node.js library that integrates Bootstrap with the AdonisJS framework, aimed at simplifying responsive design implementation.
The malicious code was identified through security audits conducted by Amazon Inspector, which flagged the package for containing harmful elements.
Using this package can lead to unauthorized access, data breaches, and other security vulnerabilities in your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. Check your application with Vulert Playground at Vulert Scanner.
Yes, you can use the Vulert Playground without any signup to check if your application is affected by this vulnerability.