Malicious Code Injection in awrence-notthedevs: A Threat to npm Users
Summary
MAL-2025-99723: Malicious code in awrence-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 package 'awrence-notthedevs' is part of the npm ecosystem, which is widely used for JavaScript package management. This package has been identified as part of a malicious campaign that aims to exploit npm's publishing capabilities. It is designed to generate and publish derivative packages with randomized names, which can lead to reputation inflation for malicious actors involved in the tea.xyz token reward scheme.
Vulnerability Detail
The vulnerability originates from the package's malicious code that modifies the package.json file by removing private flags and changing version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to developers who may unknowingly install these malicious packages, leading to potential data breaches or system compromises.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall awrence-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 measure, you can avoid using the 'awrence-notthedevs' package and any packages that depend on it. Additionally, consider using tools like Vulert to monitor your package-lock.json 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 'awrence-notthedevs' package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. It is crucial for developers to be vigilant, remove any affected packages, and utilize tools like Vulert to monitor for vulnerabilities in their projects.
See every vulnerability recorded for awrence-notthedevs →
FAQ
It is an npm package identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the installation of malicious code, compromising your project's security and integrity.
You should uninstall the package immediately using 'npm uninstall awrence-notthedevs' and check for any dependencies that may be affected.
Regularly update your packages, monitor your dependencies, and use tools like Vulert to stay informed about vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.