Malicious Code Injection in bauscc-devapptea Package
Summary
MAL-2025-99813: Malicious code in bauscc-devapptea (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 bauscc-devapptea package is part of the tea.xyz token reward campaign that has recently flooded the npm ecosystem. This package is designed to facilitate token rewards through various scripts that automate the publishing of derivative packages. However, its functionality has been compromised by malicious code that alters package metadata and floods the npm registry with harmful variants.
Vulnerability Detail
The vulnerability originates from the malicious code embedded in the bauscc-devapptea 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 these variants. The ramifications include the pollution of the npm registry, potential security risks for developers using these packages, and a negative impact on the reputation of legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall bauscc-devapptea
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 bauscc-devapptea package and monitor your dependencies for any malicious activity. Utilize tools like Vulert to scan your package-lock.json for vulnerabilities. You can access the Vulert playground at https://vulert.com/scanner to check if your application is affected by this vulnerability without any signup.
Conclusion
The bauscc-devapptea package contains malicious code that poses significant risks to developers and the npm ecosystem. It is crucial to remove this package and monitor your dependencies for any vulnerabilities. Utilizing tools like Vulert can help ensure your projects remain secure.
See every vulnerability recorded for bauscc-devapptea →
FAQ
The bauscc-devapptea package is part of a campaign that rewards users with tokens for publishing packages, but it has been compromised with malicious code.
The malicious code modifies your package.json file, removes private flags, and floods the npm registry with harmful variants, which can lead to security risks.
You should remove the bauscc-devapptea package from your project immediately and monitor for any updates or patches.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring an account.