Malicious Code Injection in ocha-asinan80-breki Package - npm Vulnerability
Summary
MAL-2025-74680: Malicious code in ocha-asinan80-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 ocha-asinan80-breki package is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages. These packages are designed to inflate developer reputation scores through automated publishing scripts.
Vulnerability Detail
The vulnerability originates from the ocha-asinan80-breki package, which contains malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to significant security risks, including the potential for dependency confusion and the spread of malicious software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-asinan80-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 ocha-asinan80-breki package from your project by executing: npm uninstall ocha-asinan80-breki. This will prevent any malicious code from executing while you seek a more permanent solution.
Conclusion
The ocha-asinan80-breki package presents a significant security risk due to its malicious code designed to exploit the npm registry. It is crucial to take immediate action by updating or removing the package to safeguard your project from potential threats.
See every vulnerability recorded for ocha-asinan80-breki →
FAQ
The ocha-asinan80-breki package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
The malicious code modifies your package.json file, removes private flags, and can lead to the installation of unwanted or harmful packages.
You should uninstall the package immediately and check for any other affected packages in your project.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.