Malicious Code Injection in far_cobra_dumbs: npm Package Vulnerability
Summary
MAL-2025-102568: Malicious code in far_cobra_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 'far_cobra_dumbs' package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which are often used to inflate developer reputation scores in exchange for token rewards. The package's functionality revolves around creating and publishing these variants, which can lead to significant pollution of the npm registry.
Vulnerability Detail
The vulnerability in 'far_cobra_dumbs' originates from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, thereby compromising the integrity of the npm registry. The malicious payload can lead to unintended consequences for developers, including the potential for reputation damage and the proliferation of untrustworthy packages in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall far_cobra_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 remove the 'far_cobra_dumbs' package from your project by executing the following command: 'npm uninstall far_cobra_dumbs'. This will prevent the malicious code from executing until a fixed version is available.
Conclusion
The 'far_cobra_dumbs' package presents a significant vulnerability due to its malicious code that alters package metadata and floods the npm registry with untrustworthy variants. It is crucial for developers to take immediate action by updating or uninstalling the package to safeguard their projects.
See every vulnerability recorded for far_cobra_dumbs →
FAQ
The 'far_cobra_dumbs' package is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the modification of your package.json file, removal of private flags, and the creation of untrustworthy package variants, potentially damaging your project's reputation.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
If you cannot update the package right away, consider uninstalling it as a temporary measure to prevent the execution of malicious code.
You can find detailed information about this vulnerability in the official npm registry or through security advisories related to the 'far_cobra_dumbs' package.