Malicious Code Detected in antd-lint-loopback-spawn Package
Summary
MAL-2025-14591: Malicious code in antd-lint-loopback-spawn (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 antd-lint-loopback-spawn package is an npm library designed to facilitate linting and code quality checks in projects that utilize Ant Design and Loopback frameworks. It is intended to streamline development processes by ensuring code adheres to specified standards. However, this package has been found to contain malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the antd-lint-loopback-spawn package stems from the inclusion of malicious code that can compromise the integrity of applications using this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall antd-lint-loopback-spawn
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, users can avoid using the antd-lint-loopback-spawn package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The discovery of malicious code in the antd-lint-loopback-spawn package highlights the importance of vigilance when using open-source libraries. Users must take immediate action to remove the affected package and monitor for updates or alternatives to ensure the security of their applications.
See every vulnerability recorded for antd-lint-loopback-spawn →
FAQ
It is an npm package used for linting and code quality checks in projects that utilize Ant Design and Loopback frameworks.
The malicious code can lead to unauthorized access and potential data breaches in applications using the package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Currently, there is no patched version available. Users are advised to remove the package until a secure version is released.
Remove the antd-lint-loopback-spawn package immediately and consider using alternative packages for linting and code quality checks.