Malicious Code Injection in ocha-buburayam49-riris: A Threat to npm Packages
Summary
MAL-2025-88973: Malicious code in ocha-buburayam49-riris (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 package 'ocha-buburayam49-riris' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with a token reward campaign that has been known to flood the npm registry with malicious packages. Its primary functionality is to serve as a part of a broader scheme to inflate developer reputation scores through the automatic generation and publication of derivative packages.
Vulnerability Detail
The vulnerability in 'ocha-buburayam49-riris' stems from its malicious code that modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is part of a larger scheme to pollute the npm registry, making it difficult for developers to trust the integrity of packages. The malicious payload can lead to security risks, including the potential for unauthorized access to sensitive information and the degradation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ocha-buburayam49-riris
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 avoid using the 'ocha-buburayam49-riris' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The 'ocha-buburayam49-riris' package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial for developers to remain vigilant, remove affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for ocha-buburayam49-riris →
FAQ
The malicious code can lead to unauthorized modifications in your project, potentially compromising sensitive data and the integrity of your application.
You can check your package-lock.json file for any references to 'ocha-buburayam49-riris' or use tools like Vulert to monitor for vulnerabilities.
Immediately uninstall the package using 'npm uninstall ocha-buburayam49-riris' and review your project for any other potentially vulnerable packages.
Yes, tools like Vulert can monitor your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Regularly update your packages, review their sources, and utilize vulnerability scanning tools to keep your dependencies secure.