Malicious Code Injection in riswold-notthedevs Package
Summary
MAL-2025-108160: Malicious code in riswold-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 riswold-notthedevs package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that aims to exploit npm's infrastructure by flooding it with derivative packages that can inflate developer reputation scores through token rewards.
Vulnerability Detail
The vulnerability in the riswold-notthedevs package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the integrity of the ecosystem. The ramifications include the risk of developers unknowingly using compromised packages, leading to security breaches and loss of trust in the npm registry.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall riswold-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, avoid using the riswold-notthedevs package and consider using alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your dependencies using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The riswold-notthedevs package poses a significant risk due to its malicious code designed to exploit the npm registry. It is crucial for developers to be aware of such vulnerabilities and take proactive measures to secure their applications. Regular audits and the use of monitoring tools like Vulert can help maintain the integrity of your software.
See every vulnerability recorded for riswold-notthedevs →
FAQ
The riswold-notthedevs package is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should uninstall the riswold-notthedevs package immediately and audit your project for any other potentially compromised packages.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.