Malicious Code Injection in nina-kepok40-ruro Package
Summary
MAL-2025-106319: Malicious code in nina-kepok40-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 nina-kepok40-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 publishing of derivative packages, which can inflate developer reputation scores. However, it has been compromised to include malicious scripts that alter package metadata and flood the npm registry with variants.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the nina-kepok40-ruro package. This code modifies the package.json file by removing private flags, changing version numbers, and generating random package names. The scripts are designed to continuously republish these variants, leading to pollution of the npm registry and potential exploitation of developers' reputations. The ramifications include loss of control over package versions and the risk of unintentional dependency on compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nina-kepok40-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 workaround, you can prevent the installation of the nina-kepok40-ruro package by using a package-lock.json file that excludes it. You can also monitor your dependencies using tools like Vulert, which can alert you to vulnerabilities in real-time without requiring code access.
Conclusion
The nina-kepok40-ruro package has been identified as containing malicious code that can compromise your project's integrity. It is crucial to uninstall this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your open-source projects.
See every vulnerability recorded for nina-kepok40-ruro →
FAQ
The nina-kepok40-ruro package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file and can lead to the unintentional publication of compromised packages, affecting your project's integrity.
If you have installed the nina-kepok40-ruro package, you should uninstall it immediately using npm uninstall nina-kepok40-ruro.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
Regularly update your dependencies, use tools like Vulert for monitoring, and review package sources before installation to mitigate risks.