Malicious Code Injection in ctyedw-devapp: A Threat to npm Ecosystem
Summary
MAL-2025-101133: Malicious code in ctyedw-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
ctyedw-devapp is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate certain functionalities related to token rewards but has been compromised. It has been observed to contain malicious scripts that manipulate package metadata and flood the npm registry with derivative packages, which can harm developers' reputations and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in ctyedw-devapp originates from its association with a malicious campaign that aims to inflate developer reputation scores through automated package publishing. 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 to developers who may unknowingly use these compromised packages, leading to potential security breaches and loss of trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ctyedw-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 remove the ctyedw-devapp package from your project if it is not essential. Use the following command to uninstall it: npm uninstall ctyedw-devapp. Additionally, consider using alternative packages that do not have known vulnerabilities.
Conclusion
The ctyedw-devapp package has been identified as containing malicious code that can significantly impact the npm ecosystem. It is crucial for developers to remain vigilant, update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, developers can protect their projects and maintain the integrity of their software.
See every vulnerability recorded for ctyedw-devapp →
FAQ
ctyedw-devapp is an npm package associated with the tea.xyz token reward campaign, which has been compromised to include malicious code.
The vulnerability can lead to the automatic generation of malicious packages, which can compromise your project's integrity and security.
You should immediately update or uninstall the package to mitigate any potential risks associated with the vulnerability.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.