Malicious Code Injection in flat_mink_0xrequest Package
Summary
MAL-2025-102814: Malicious code in flat_mink_0xrequest (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 flat_mink_0xrequest package is part of the npm ecosystem, often used in JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages typically include scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in flat_mink_0xrequest arises from malicious code embedded within the package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall flat_mink_0xrequest
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 flat_mink_0xrequest package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The flat_mink_0xrequest package poses significant risks due to its malicious code that alters package metadata and floods the npm registry. It is essential to remove this package from your projects and monitor for similar vulnerabilities using tools like Vulert.
See every vulnerability recorded for flat_mink_0xrequest →
FAQ
flat_mink_0xrequest is an npm package that has been identified as malicious, often used in campaigns to inflate developer reputation scores.
The vulnerability can lead to unauthorized modifications of your package metadata and potentially expose your project to further security risks.
You should uninstall the flat_mink_0xrequest package immediately and check your project for any unauthorized changes.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without signup at the Vulert playground.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about known vulnerabilities in the packages you use.