Malicious Code Injection in ouyrjh-devapp: A Threat to npm Users
Summary
MAL-2025-106856: Malicious code in ouyrjh-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
ouyrjh-devapp is an npm package that is part of the tea.xyz token reward campaign, which has been associated with malicious activities. This package is designed to facilitate the distribution of token rewards but has been compromised to include harmful scripts that can manipulate package metadata and flood the npm registry with unwanted variants.
Vulnerability Detail
The vulnerability in ouyrjh-devapp originates from its association with a malicious campaign that aims to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious payload alters the package.json file by removing private flags, changing version numbers, and creating random package names, which can lead to pollution of the npm registry and potential exploitation of users who install these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ouyrjh-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 ouyrjh-devapp package until a secure version is released. Additionally, consider using a tool 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 without any signup.
Conclusion
The ouyrjh-devapp package has been identified as containing malicious code that can compromise npm projects. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities. Staying informed and proactive can help mitigate risks associated with open-source software.
See every vulnerability recorded for ouyrjh-devapp →
FAQ
ouyrjh-devapp is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The malicious code modifies package metadata, removes private flags, and floods the npm registry with unwanted package variants, potentially leading to security risks.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without needing to sign up.
If you have installed ouyrjh-devapp, it is advisable to remove it from your project and monitor for any updates or patches.
To prevent future vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about security advisories related to your packages.