Malicious Code Vulnerability in okta-tahu26-riris: Exploitation of npm Packages
Summary
MAL-2025-89221: Malicious code in okta-tahu26-riris (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 'okta-tahu26-riris' is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development of applications by providing reusable code. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages designed to manipulate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the 'okta-tahu26-riris' 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 other packages. This can lead to significant security risks, including unauthorized access to sensitive data and disruption of application functionality.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall okta-tahu26-riris
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 avoid using the 'okta-tahu26-riris' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner.
Conclusion
The 'okta-tahu26-riris' package poses a significant security risk due to its malicious code designed to manipulate npm registry data. It is essential to remove this package from your projects and stay vigilant about the packages you use. Utilizing tools like Vulert can help you monitor and manage vulnerabilities effectively.
See every vulnerability recorded for okta-tahu26-riris →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
The vulnerability can lead to unauthorized access, data breaches, and the pollution of the npm registry, which may compromise the integrity of your application.
You should uninstall the 'okta-tahu26-riris' package immediately and monitor your project for any further vulnerabilities.
Yes, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.