Malicious Code Injection in samehadsaku-qeupss-ur Package
Summary
MAL-2025-165747: Malicious code in samehadsaku-qeupss-ur (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 samehadsaku-qeupss-ur package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the samehadsaku-qeupss-ur package, which includes scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior leads to the continuous republishing of variants, polluting the npm registry and potentially impacting other developers by inflating reputation scores fraudulently. The malicious payload can also lead to security risks for applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall samehadsaku-qeupss-ur
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 workaround, you can avoid using the samehadsaku-qeupss-ur package altogether. If it is already in use, consider removing it from your dependencies and replacing it with a trusted alternative.
Conclusion
The samehadsaku-qeupss-ur package contains malicious code that poses a significant risk to developers and their applications. It is crucial to remove this package and monitor for any updates or patches to ensure the security of your projects.
See every vulnerability recorded for samehadsaku-qeupss-ur →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry and may compromise the integrity of your application if it relies on affected packages.
You should remove the samehadsaku-qeupss-ur package from your project and monitor for any updates or patches.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.