Malicious Code Injection in prime_galliform_dumbs Package
Summary
MAL-2025-107265: Malicious code in prime_galliform_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 prime_galliform_dumbs package is part of the npm ecosystem, often used in JavaScript projects. It has been identified as part of a larger campaign that aims to exploit npm's package publishing system. This package, like others in the campaign, is designed to manipulate the npm registry by generating and publishing numerous derivative packages with altered metadata, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the prime_galliform_dumbs package stems from its malicious code, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially compromising the integrity of other packages. The origin of this vulnerability is linked to a campaign that floods npm with such malicious packages, specifically targeting developers participating in the tea.xyz token reward program.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall prime_galliform_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 avoid using the prime_galliform_dumbs package and any packages that depend on it. Additionally, consider using tools like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The prime_galliform_dumbs package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial to remove this package from your project and utilize tools like Vulert to monitor for vulnerabilities in real-time.
See every vulnerability recorded for prime_galliform_dumbs →
FAQ
The prime_galliform_dumbs package is an npm package that has been identified as part of a malicious campaign to exploit the npm registry.
This vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your project by introducing unwanted packages.
You should uninstall the prime_galliform_dumbs package immediately and monitor your project for any other vulnerabilities.
Yes, regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.