Malicious Code Injection in joni-semur26-ruro: A Threat to npm Packages
Summary
MAL-2025-104698: Malicious code in joni-semur26-ruro (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 joni-semur26-ruro 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 inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious nature of this package lies in its ability to modify critical files and republish itself under various names, thereby polluting the npm registry.
Vulnerability Detail
The vulnerability originates from the joni-semur26-ruro package, which is linked to a broader malicious campaign targeting npm. This package includes scripts that automatically alter the package.json file to remove private flags, change version numbers, and generate random package names. The ramifications of this vulnerability include potential exposure of sensitive information, degradation of the npm registry's integrity, and the risk of developers unknowingly using compromised packages. The technical aspects involve the use of autopublish scripts that facilitate the continuous republishing of malicious variants.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall joni-semur26-ruro
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, consider using a package-lock.json file to monitor your dependencies. This file can help you identify and manage vulnerable packages. You can also utilize tools like Vulert to monitor for vulnerabilities in real-time without needing to access the code directly. Visit https://vulert.com/scanner to check if your application is affected by this vulnerability.
Conclusion
The joni-semur26-ruro package poses a significant threat due to its malicious code designed to manipulate package metadata and republish itself. It is crucial for developers to remove this package and monitor their dependencies to maintain the integrity and security of their applications.
See every vulnerability recorded for joni-semur26-ruro →
FAQ
Joni-semur26-ruro is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the exposure of sensitive information and the degradation of the npm registry's integrity, potentially affecting your project's security.
You should uninstall the joni-semur26-ruro package immediately and check for any dependencies that may rely on it.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.