Malicious Code Injection in nadia-lapis4-breki Package
Summary
MAL-2025-74519: Malicious code in nadia-lapis4-breki (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 nadia-lapis4-breki package is part of the npm ecosystem, often utilized in various JavaScript projects. It is typically involved in automating tasks related to package management. However, this package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the creation and publication of numerous derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the nadia-lapis4-breki package stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, which pollutes the npm registry and can compromise the integrity of projects relying on this package. The malicious code is designed to exploit the npm ecosystem, making it a significant threat to developers and users of affected packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nadia-lapis4-breki
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, you can remove the nadia-lapis4-breki package from your project by executing the following command: npm uninstall nadia-lapis4-breki. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The nadia-lapis4-breki package poses a significant security risk due to its malicious code that alters package management files and floods the npm registry. It is crucial for developers to take immediate action by updating or removing the package to protect their projects from potential threats.
See every vulnerability recorded for nadia-lapis4-breki →
FAQ
The nadia-lapis4-breki package is an npm package used in JavaScript projects, but it has been identified as part of a malicious campaign.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
You should immediately update or uninstall the nadia-lapis4-breki package to mitigate the risk of malicious code execution.
Yes, you can use Vulert to monitor and alert you in real-time for open-source vulnerabilities in your software without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.