Malicious Code Injection in oytrii-devapp: A Threat to npm Packages
Summary
MAL-2025-106876: Malicious code in oytrii-devapp (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
oytrii-devapp is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities within the ecosystem, but it has been compromised to include malicious code. The vulnerability stems from the package's ability to modify its own metadata, which can lead to severe consequences for developers and users relying on its integrity.
Vulnerability Detail
The vulnerability in oytrii-devapp originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only pollutes the npm registry but also poses a risk of reputation damage for developers and potential security threats for users who unknowingly install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall oytrii-devapp
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 oytrii-devapp package until a patched version is released. Additionally, consider using npm audit to identify and address vulnerabilities in your project's dependencies.
Conclusion
The oytrii-devapp package has been compromised with malicious code that alters its metadata and floods the npm registry. Developers and users should take immediate action to update or avoid this package to mitigate potential risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for oytrii-devapp →
FAQ
The vulnerability involves malicious code that modifies package metadata and floods the npm registry with compromised packages.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.
The consequences include reputation damage for developers, security risks for users, and pollution of the npm registry with malicious packages.
Yes, you can avoid using the oytrii-devapp package and run npm audit to identify other vulnerabilities in your dependencies.
The vulnerability was reported by Amazon Inspector, a tool designed to identify security issues in software packages.