Malicious Code Injection in possible_snipe-smiletea Package
Summary
MAL-2025-107163: Malicious code in possible_snipe-smiletea (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 possible_snipe-smiletea package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate interactions with the tea protocol, which incentivizes developers through token rewards. However, it has been identified as containing malicious scripts that can compromise the integrity of the npm registry and developer reputation.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the possible_snipe-smiletea package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to create and republish numerous derivative packages, thereby polluting the npm registry and inflating developer reputation scores fraudulently. The ramifications include potential security risks for developers using these packages, as well as the degradation of the npm ecosystem's reliability.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall possible_snipe-smiletea
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 possible_snipe-smiletea package until a secure version is released. Additionally, consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The possible_snipe-smiletea package has been identified as containing malicious code that compromises the integrity of the npm registry. It is crucial for developers to update their packages and monitor for vulnerabilities to maintain a secure development environment.
See every vulnerability recorded for possible_snipe-smiletea →
FAQ
The possible_snipe-smiletea package is an npm package associated with the tea.xyz token reward campaign, designed to incentivize developers through token rewards.
The package contains scripts that modify package.json files, remove private flags, and generate random package names, leading to the pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By utilizing the Vulert playground, you can check if your application is affected without any signup.
If you are using the possible_snipe-smiletea package, you should update it to the latest patched version or consider removing it until a secure version is available.
Vulert uses the package-lock.json file to monitor for open-source vulnerabilities in your software, providing real-time alerts and insights.