Malicious Code Injection in gothic_giraffe-biggestdev Package
Summary
MAL-2025-103314: Malicious code in gothic_giraffe-biggestdev (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 gothic_giraffe-biggestdev 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 can inflate developer reputation scores for token rewards. However, it has been compromised to include malicious scripts that alter package metadata and republish variants to pollute the npm registry.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the gothic_giraffe-biggestdev package. This code modifies the package.json file by removing private flags, changing version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to potential reputation damage for developers and pollution of the npm registry. The impact is significant as it undermines the integrity of the npm ecosystem and can lead to confusion among developers regarding legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gothic_giraffe-biggestdev
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 gothic_giraffe-biggestdev package from your project by executing the command: 'npm uninstall gothic_giraffe-biggestdev'. This will prevent any malicious code from executing until a safe version is available.
Conclusion
The gothic_giraffe-biggestdev package contains a serious vulnerability due to malicious code that alters package metadata and repopulates the npm registry with compromised variants. It is crucial to update or remove this package to protect your project from potential threats.
See every vulnerability recorded for gothic_giraffe-biggestdev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies package metadata and can lead to the pollution of the npm registry, affecting the integrity of your project.
You should uninstall the package immediately and check for any updates or patches that may address the vulnerability.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities without needing to sign up.