Malicious Code Injection in oktafian-tomat18-ruro Package
Summary
MAL-2025-106711: Malicious code in oktafian-tomat18-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 oktafian-tomat18-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores in exchange for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability stems from the package's malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially affecting other developers and users relying on npm packages. The origin of this malicious activity is linked to a campaign aimed at exploiting the npm ecosystem for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall oktafian-tomat18-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 temporary measure, you can avoid using the oktafian-tomat18-ruro package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity of packages before installation.
Conclusion
The oktafian-tomat18-ruro package has been identified as containing malicious code that compromises the integrity of npm projects. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for oktafian-tomat18-ruro →
FAQ
It is an npm package associated with a token reward campaign that has been identified to contain malicious code.
The malicious code modifies your package.json file, removes private flags, and generates random package names, which can lead to pollution of the npm registry and affect your project's integrity.
You should uninstall the package immediately using 'npm uninstall oktafian-tomat18-ruro' and check for any other affected packages in your project.
Regularly update your dependencies, use trusted packages, and consider using tools like Vulert to monitor your project for vulnerabilities.
Vulert is a tool that monitors and alerts you in real-time for open-source vulnerabilities in your software using just package-lock.json. You can check if your application is affected by this vulnerability using the Vulert playground without any signup.