Malicious Code Vulnerability in okta-ubi23-ruro Package
Summary
MAL-2025-106661: Malicious code in okta-ubi23-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 okta-ubi23-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate token rewards for developers by generating and publishing derivative packages. However, it has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in the okta-ubi23-ruro package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry with numerous derivative packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which has been known to flood npm with such malicious packages. The ramifications include potential exposure of sensitive data and the degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall okta-ubi23-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 remove the okta-ubi23-ruro package from your project to mitigate the risk until a secure version is available. You can do this by executing: npm uninstall okta-ubi23-ruro.
Conclusion
The okta-ubi23-ruro package has been identified as containing malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to take immediate action by updating or removing the package to safeguard your projects.
See every vulnerability recorded for okta-ubi23-ruro →
FAQ
The okta-ubi23-ruro package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the exposure of sensitive data and the pollution of the npm registry, potentially affecting the integrity of your project.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
If an immediate update is not possible, consider removing the package as a temporary workaround to mitigate risks.
Detailed information can be found in the vulnerability report and by monitoring updates from the npm registry.