Malicious Code Injection in samehadaku-msssi-usr7 Package
Summary
MAL-2025-165726: Malicious code in samehadaku-msssi-usr7 (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 samehadaku-msssi-usr7 package is part of the npm ecosystem, often utilized in JavaScript projects. It is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with numerous packages. This package, like others in the campaign, is designed to inflate developer reputation scores through automated publishing of derivative packages.
Vulnerability Detail
The vulnerability in the samehadaku-msssi-usr7 package stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, which leads to the continuous republishing of these variants. This behavior not only compromises the integrity of the npm registry but also poses risks to developers who may unknowingly use these tainted packages. The origin of this issue is linked to the broader tea.xyz token reward campaign that exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall samehadaku-msssi-usr7
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, avoid using the samehadaku-msssi-usr7 package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your dependencies using tools like Vulert to monitor for vulnerabilities.
Conclusion
The samehadaku-msssi-usr7 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 your dependencies for vulnerabilities using tools like Vulert.
See every vulnerability recorded for samehadaku-msssi-usr7 →
FAQ
It is an npm package linked to the tea.xyz token reward campaign, which has been associated with malicious activities.
The vulnerability can lead to the introduction of malicious code into your project, compromising its integrity and security.
You should uninstall the package immediately and check your project for any unintended consequences of its use.
You can use Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring installation.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without signing up.