Malicious Code Injection in enwynn-notthedevs: A Threat to npm Packages
Summary
MAL-2025-102148: Malicious code in enwynn-notthedevs (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 'enwynn-notthedevs' package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is implicated in a malicious campaign associated with the tea.xyz token reward initiative. It is designed to manipulate the npm registry by generating and publishing numerous derivative packages with altered metadata, thereby compromising the integrity of the npm ecosystem.
Vulnerability Detail
This vulnerability originates from a malicious payload embedded within the 'enwynn-notthedevs' package. The payload modifies the package.json file by removing private flags, altering version numbers, and creating random package names, primarily themed around Indonesian culture. This behavior leads to the automatic generation and republishing of these packages, which can clutter the npm registry and inflate developer reputation scores fraudulently. The ramifications include potential security risks for developers who unknowingly integrate these compromised packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall enwynn-notthedevs
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 'enwynn-notthedevs' package altogether. If you have already installed it, remove it from your project using the command: npm uninstall enwynn-notthedevs. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities.
Conclusion
The 'enwynn-notthedevs' package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with compromised packages. It is essential to remove this package from your projects and utilize monitoring tools like Vulert to safeguard against future vulnerabilities.
See every vulnerability recorded for enwynn-notthedevs →
FAQ
The 'enwynn-notthedevs' package is an npm package involved in a malicious campaign that manipulates the npm registry.
This vulnerability can lead to the inclusion of malicious code in your project, potentially compromising its security and integrity.
You should uninstall the package immediately and monitor your project for any signs of compromise.
Yes, you can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Regularly monitor your dependencies using tools like Vulert, and stay updated on security advisories related to the packages you use.