Malicious Code Injection in just_sawfish_dumbs Package - npm Vulnerability
Summary
MAL-2025-104738: Malicious code in just_sawfish_dumbs (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 just_sawfish_dumbs package is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This behavior raises significant concerns regarding the integrity and security of the npm ecosystem.
Vulnerability Detail
The vulnerability in the just_sawfish_dumbs package stems from its malicious payload, which modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the affected package but also leads to the pollution of the npm registry with numerous derivative packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms for malicious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall just_sawfish_dumbs
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 just_sawfish_dumbs 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 just_sawfish_dumbs package is a clear example of how malicious actors can exploit the npm ecosystem. By understanding the nature of this vulnerability and taking proactive steps to mitigate its impact, developers can better protect their projects and maintain the integrity of their software.
See every vulnerability recorded for just_sawfish_dumbs →
FAQ
The just_sawfish_dumbs package is an npm package that is part of a malicious campaign aimed at inflating developer reputation scores through automated publishing.
This vulnerability can lead to the pollution of the npm registry and compromise the integrity of your project by introducing malicious code.
You should remove the just_sawfish_dumbs package from your project and update to a secure alternative if available.
You can use Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.