Malicious Code Injection in fdhsdg-notthedevs: A Threat to npm Packages
Summary
MAL-2025-102656: Malicious code in fdhsdg-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 'fdhsdg-notthedevs' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. It modifies the package.json file to remove private flags and alters version numbers, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'fdhsdg-notthedevs' originates from its malicious intent to manipulate the npm registry. It includes scripts that automatically publish variants of the package with random names, which can compromise the integrity of the registry and lead to confusion among developers. The malicious payload not only modifies package metadata but also continuously republishes these variants, making it difficult to track legitimate packages. This can result in security risks for applications relying on these packages, as they may inadvertently use compromised versions.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall fdhsdg-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 'fdhsdg-notthedevs' package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your project's dependencies using tools like Vulert, which can alert you to vulnerabilities in your open-source packages.
Conclusion
The 'fdhsdg-notthedevs' package poses a significant threat due to its malicious code designed to manipulate the npm registry. It is crucial for developers to be aware of such vulnerabilities and take immediate action to remove affected packages and monitor their dependencies. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for fdhsdg-notthedevs →
FAQ
'fdhsdg-notthedevs' is an npm package involved in a token reward campaign that generates and publishes malicious variants to inflate developer reputation.
This vulnerability can lead to the inclusion of compromised packages in your application, potentially introducing security risks and instability.
You should uninstall 'fdhsdg-notthedevs' immediately and check your project for any dependencies that may have been affected.
You can use Vulert to monitor your package-lock.json file for real-time alerts on open-source vulnerabilities without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.