Malicious Code Injection in polite_boa_requirement Package
Summary
MAL-2025-95923: Malicious code in polite_boa_requirement (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 'polite_boa_requirement' package is part of the npm ecosystem, often utilized in JavaScript projects for various functionalities. However, this package has been identified as part of a malicious campaign associated with the tea.xyz token reward system. It is known for generating and publishing derivative packages with randomized names, which can lead to reputation inflation for developers involved in the tea protocol.
Vulnerability Detail
The vulnerability in the 'polite_boa_requirement' package stems from its inclusion in a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior can lead to the pollution of the npm registry, making it difficult for developers to find legitimate packages and potentially compromising their projects with untrusted code.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polite_boa_requirement
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 'polite_boa_requirement' package altogether. If it is a dependency of another package, consider removing that package or replacing it with a safer alternative until a patch is available.
Conclusion
The 'polite_boa_requirement' package has been compromised by malicious code that can affect the integrity of projects using it. It is crucial to monitor for updates and consider alternatives to mitigate risks associated with this vulnerability.
See every vulnerability recorded for polite_boa_requirement →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the introduction of untrusted code into your project, potentially compromising its integrity and security.
Check the npm registry for any updates to the 'polite_boa_requirement' package that may address this vulnerability.
You can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check your application for vulnerabilities without needing to sign up.