Malicious Code Injection in dimsum-notthedevs Package
Summary
MAL-2025-101575: Malicious code in dimsum-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 dimsum-notthedevs package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to artificially inflate developer reputation scores for token rewards. Its functionality is compromised due to the presence of malicious scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability in the dimsum-notthedevs package originates from its association with a malicious campaign that floods the npm registry with derivative packages. The malicious payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, leading to the pollution of the npm registry. This can result in significant security risks, including the potential for unauthorized access and exploitation of affected systems.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dimsum-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 prevent the installation of the dimsum-notthedevs package by using npm's package-lock.json to monitor dependencies. Ensure that your project does not include this package in its dependencies.
Conclusion
The dimsum-notthedevs package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your project and monitor for any dependencies that may be affected. Utilizing tools like Vulert can help you stay informed about vulnerabilities in your open-source dependencies.
See every vulnerability recorded for dimsum-notthedevs →
FAQ
The dimsum-notthedevs package is an npm package associated with a token reward campaign that generates derivative packages to inflate developer reputation.
The vulnerability can lead to unauthorized modifications of your package.json file and the potential for malicious code execution, compromising your project's security.
You should uninstall the dimsum-notthedevs package immediately and check for any dependencies that may be affected.
Yes, you can use Vulert to monitor your project for open-source vulnerabilities in real-time by analyzing your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.