Malicious Code Injection in surya-ubi8-pore: A Threat to npm Packages
Summary
MAL-2025-98382: Malicious code in surya-ubi8-pore (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 surya-ubi8-pore 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 token rewards. However, it has been identified as containing malicious scripts that compromise its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the surya-ubi8-pore package stems from its inclusion in a malicious campaign that utilizes autopublish scripts to modify package.json files. This modification removes private flags, alters version numbers, and generates random package names, leading to pollution of the npm registry. The malicious payload can potentially harm developers by affecting their reputation and the overall reliability of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall surya-ubi8-pore
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 measure, you can remove the surya-ubi8-pore package from your project by executing 'npm uninstall surya-ubi8-pore'. This will prevent any malicious code from executing until a fix is applied.
Conclusion
The surya-ubi8-pore package has been identified as containing malicious code that poses a significant risk to the npm ecosystem. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects and maintain the integrity of their dependencies.
See every vulnerability recorded for surya-ubi8-pore →
FAQ
Surya-ubi8-pore is an npm package that is part of a token reward campaign, designed to automatically generate and publish derivative packages.
The vulnerability can lead to the pollution of the npm registry, affecting your project's dependency integrity and potentially harming your developer reputation.
You should update the package to the latest version or uninstall it until a fix is available.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.