Malicious Code Injection in compact_rook-gooddev Package

compact_rook-gooddev Updated 24 Nov 2025

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-100735: Malicious code in compact_rook-gooddev (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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The compact_rook-gooddev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. It is designed to facilitate the distribution of software packages. However, this package has been compromised, leading to significant security concerns. The malicious code embedded within this package is intended to manipulate package metadata and flood the npm registry with derivative packages, potentially harming developers' reputations and the integrity of the npm ecosystem.

Vulnerability Detail

The vulnerability originates from a malicious payload that alters the package.json file of the compact_rook-gooddev package. This payload removes private flags, modifies version numbers, and generates random package names, leading to the automatic republishing of these variants. The implications of this vulnerability include the pollution of the npm registry, which can mislead developers and users, inflate reputation scores fraudulently, and compromise the security of applications relying on this package.

How To Fix

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

npm uninstall compact_rook-gooddev

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 compact_rook-gooddev package from your project by executing the following command: npm uninstall compact_rook-gooddev. This will prevent any malicious code from executing while you assess the situation.

Conclusion

The compact_rook-gooddev package has been compromised with malicious code that alters package metadata and floods the npm registry. It is crucial to update or remove this package to safeguard your projects. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for compact_rook-gooddev →

Share this vulnerability

FAQ

The compact_rook-gooddev package is an npm package associated with the tea.xyz token reward campaign, designed to distribute software packages.

The malicious code modifies your package.json file, removes private flags, and floods the npm registry with derivative packages, potentially harming your project's integrity.

You should update the package to a patched version if available or uninstall it to prevent any malicious activity.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json. You can also check your application for vulnerabilities using the Vulert playground without any signup.

You can refer to the vulnerability details provided by Amazon Inspector or check the GitHub repository for more insights.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall compact_rook-gooddev

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