Malicious Code Injection in okta-semur78-riris Package
Summary
MAL-2025-89216: Malicious code in okta-semur78-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 okta-semur78-riris package is part of the npm ecosystem, primarily used for JavaScript development. It is associated with the tea.xyz token reward campaign, which has been linked to various malicious activities. This package, like others in the campaign, is designed to inflate developer reputation scores by automatically generating and publishing numerous derivative packages with randomized names.
Vulnerability Detail
The vulnerability in the okta-semur78-riris package stems from its 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 compromising the integrity of the software supply chain. The source of this vulnerability is traced back to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall okta-semur78-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 measure, you can avoid using the okta-semur78-riris package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The okta-semur78-riris package poses a significant risk due to its malicious behavior, which can compromise the integrity of applications using it. It is essential to remove this package and monitor for vulnerabilities in your dependencies to maintain a secure software environment.
See every vulnerability recorded for okta-semur78-riris →
FAQ
The okta-semur78-riris package is an npm package linked to the tea.xyz token reward campaign, which has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and compromise the integrity of your application by introducing malicious code.
You should uninstall the okta-semur78-riris package immediately and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.