Malicious Code Injection in okta-papeda78-riris Package
Summary
MAL-2025-89198: Malicious code in okta-papeda78-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-papeda78-riris 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 through the generation and publication of derivative packages. However, it has been identified as containing malicious code that compromises its integrity and the security of applications that depend on it.
Vulnerability Detail
The vulnerability originates 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 is intended to inflate developer reputation scores for the tea protocol token rewards. The continuous republishing of these variants leads to pollution of the npm registry, potentially affecting other developers and applications relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall okta-papeda78-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 prevent the installation of this package by using npm's package-lock.json to monitor dependencies. If you are using Vulert, you can check for vulnerabilities in your project by visiting the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The okta-papeda78-riris package poses a significant security risk due to its malicious code that alters package metadata and inflates developer reputation scores. It is essential to remove this package from your projects and monitor your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for okta-papeda78-riris →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The package modifies package.json files, removes private flags, and generates random package names to inflate developer reputation scores.
You can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.
You should uninstall the package immediately using 'npm uninstall okta-papeda78-riris' and check for any lingering references in your package-lock.json.
Currently, there is no patched version available. The best course of action is to remove the package from your project.