Malicious Code Injection in samehadaku-sess-sur7 Package
Summary
MAL-2025-165735: Malicious code in samehadaku-sess-sur7 (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-sess-sur7 package is part of the npm ecosystem, primarily used for various JavaScript functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with harmful packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks for users and developers alike.
Vulnerability Detail
The vulnerability in the samehadaku-sess-sur7 package arises from its malicious code that modifies the package.json file to remove private flags and alters version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This behavior is part of a broader scheme associated with the tea.xyz token reward campaign, which aims to inflate developer reputation scores through deceptive practices. The ramifications include potential exposure of sensitive data, compromised application integrity, and a polluted npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall samehadaku-sess-sur7
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 remove the samehadaku-sess-sur7 package from your project by executing the following command: npm uninstall samehadaku-sess-sur7. This will prevent any malicious code from executing in your application.
Conclusion
The samehadaku-sess-sur7 package poses a significant security risk due to its malicious code designed to manipulate npm registry practices. It is crucial for developers to take immediate action by updating or removing the package to protect their applications from potential threats.
See every vulnerability recorded for samehadaku-sess-sur7 →
FAQ
The samehadaku-sess-sur7 package is an npm package that has been identified as part of a malicious campaign to manipulate developer reputation scores.
The vulnerability can lead to the exposure of sensitive data, compromised application integrity, and pollution of the npm registry, affecting the overall security of your application.
If you have the samehadaku-sess-sur7 package installed, you should update it to the latest patched version or uninstall it to mitigate the risk.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just the package-lock.json file. You can check if your application is affected by this vulnerability using the Vulert playground.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without requiring any signup.