Malicious Code Injection in maya-nasi51-breki Package - npm Vulnerability
Summary
MAL-2025-74411: Malicious code in maya-nasi51-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 maya-nasi51-breki package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is suspected to be involved in a token reward campaign that has led to the proliferation of malicious packages on npm. It is designed to automate the generation and publication of derivative packages, which can compromise the integrity of the npm registry and the applications that depend on it.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to security risks, including the potential for dependency confusion and the introduction of untrusted code into applications that rely on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-nasi51-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 workaround, you can avoid using the maya-nasi51-breki package and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The maya-nasi51-breki package poses a significant security risk due to its malicious behavior of modifying package.json files and republishing variants to the npm registry. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities to maintain application security.
See every vulnerability recorded for maya-nasi51-breki →
FAQ
The maya-nasi51-breki package is an npm package that has been identified as malicious, involved in automating the publication of derivative packages to inflate developer reputation scores.
The vulnerability can lead to the introduction of untrusted code into your application, potentially compromising its security and integrity.
If you have installed the maya-nasi51-breki package, you should uninstall it immediately using the command npm uninstall maya-nasi51-breki.
You can use tools like npm audit to check for vulnerabilities in your dependencies. Additionally, Vulert can monitor your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.