Malicious Code Injection in thirsty_cockroach-teagooddev: npm Package Vulnerability

thirsty_cockroach-teagooddev Updated 18 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-109612: Malicious code in thirsty_cockroach-teagooddev (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The package 'thirsty_cockroach-teagooddev' is part of the tea.xyz token reward campaign, which has been associated with a series of malicious npm packages. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The malicious nature of this package lies in its ability to modify critical files and republish variants, thereby polluting the npm registry.

Vulnerability Detail

This vulnerability originates from the package's design to include autopublish scripts that manipulate the package.json file. The malicious payload removes private flags, alters version numbers, and generates random package names, which can lead to a significant increase in spammy packages within the npm ecosystem. This not only affects the integrity of the npm registry but also poses risks to developers who may unknowingly install these compromised packages.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall thirsty_cockroach-teagooddev

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 'thirsty_cockroach-teagooddev' package and consider using alternative packages that provide similar functionality without the associated risks.

Conclusion

The 'thirsty_cockroach-teagooddev' package poses a significant risk due to its malicious code designed to manipulate npm registry integrity. It is crucial for developers to take immediate action by removing this package and utilizing tools like Vulert to safeguard their projects against similar vulnerabilities.

See every vulnerability recorded for thirsty_cockroach-teagooddev →

Share this vulnerability

FAQ

The vulnerability can lead to the proliferation of spammy packages in the npm registry, affecting the integrity of the ecosystem and potentially compromising other projects.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. By simply analyzing your package-lock.json file, Vulert provides real-time alerts for vulnerabilities.

Regularly audit your dependencies and utilize tools like Vulert to monitor for vulnerabilities. Keeping your packages updated and avoiding unverified packages can also help.

Immediately uninstall the 'thirsty_cockroach-teagooddev' package and check your project for any other potentially compromised packages.

Detailed information can be found in the vulnerability report on the official GitHub repository and through security advisories related to npm packages.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall thirsty_cockroach-teagooddev

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback