Malicious Code Injection in ngrdlc-devapp: A Threat to npm Ecosystem
Summary
MAL-2025-106295: Malicious code in ngrdlc-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
ngrdlc-devapp is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the development of applications by providing various functionalities. However, this package has been identified as malicious, containing scripts that manipulate its own metadata and publish derivative packages to inflate developer reputation scores.
Vulnerability Detail
The vulnerability in ngrdlc-devapp originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall ngrdlc-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 ngrdlc-devapp package from your project by executing the command: 'npm uninstall ngrdlc-devapp'. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The ngrdlc-devapp package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry. It is crucial to take immediate action by updating or removing the package to safeguard your applications.
See every vulnerability recorded for ngrdlc-devapp →
FAQ
ngrdlc-devapp is an npm package that is part of a token reward campaign, but it has been identified as containing malicious code.
The malicious code modifies package metadata and floods the npm registry with derivative packages, which can lead to confusion and potential security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you cannot update the package, consider removing it from your project as a temporary measure until a secure version is released.
More information can be found in the vulnerability report on the GitHub repository for malicious packages.