Malicious Code Injection in tomi-rujak77-apidev Package
Summary
MAL-2025-91185: Malicious code in tomi-rujak77-apidev (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 tomi-rujak77-apidev package is part of the npm ecosystem, primarily used for developing APIs. This package has been identified as part of a malicious campaign that floods the npm registry with derivative packages to inflate developer reputation scores for token rewards. Its functionality has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the tomi-rujak77-apidev package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to continuously republish these variants, polluting the npm registry and potentially compromising the integrity of dependent projects. The ramifications include unauthorized access to sensitive information and the risk of executing malicious scripts.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall tomi-rujak77-apidev
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 tomi-rujak77-apidev package from your project by executing: npm uninstall tomi-rujak77-apidev. This will prevent the execution of any malicious code until a secure version is available.
Conclusion
The tomi-rujak77-apidev package has been identified as containing malicious code that compromises the security of projects relying on it. It is crucial to update or remove this package to safeguard your application. Utilizing tools like Vulert can help in monitoring and alerting for such vulnerabilities in real-time.
See every vulnerability recorded for tomi-rujak77-apidev →
FAQ
It is an npm package used for API development, which has been compromised by malicious code.
The malicious code can modify your package.json, remove private flags, and republish variants, potentially compromising your project's integrity.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
As a workaround, you can uninstall the package to prevent any malicious code execution until a secure version is available.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.