Malicious Code Injection in putra-semur44-riris: A Threat to npm Ecosystem
Summary
MAL-2025-89604: Malicious code in putra-semur44-riris (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 package 'putra-semur44-riris' is part of a broader campaign that exploits the npm ecosystem, primarily associated with the tea.xyz token reward initiative. This package is designed to generate and publish derivative packages with randomized names, aiming to inflate developer reputation scores for token rewards. It poses a significant risk to developers and users by polluting the npm registry with malicious variants.
Vulnerability Detail
The vulnerability in 'putra-semur44-riris' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior allows the package to continuously republish variants, leading to a polluted npm registry and potential security risks for users who inadvertently install these malicious packages. The presence of autopublish scripts further automates this malicious activity, making it a persistent threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-semur44-riris
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 affected package and monitor your project for any dependencies that may inadvertently include it. Utilize tools like Vulert to scan your package-lock.json for vulnerabilities. You can access Vulert's playground at https://vulert.com/scanner to check if your application is affected without requiring any signup.
Conclusion
The 'putra-semur44-riris' package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to be vigilant and regularly monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in identifying and mitigating such risks effectively.
See every vulnerability recorded for putra-semur44-riris →
FAQ
The vulnerability can lead to the installation of malicious packages that may compromise your application's integrity and security.
You can use tools like Vulert to analyze your package-lock.json file for vulnerabilities related to this package.
There is no patch for the specific package 'putra-semur44-riris'. The recommended action is to uninstall the package.
The payload modifies the package.json file, removes private flags, and generates random package names, allowing it to republish variants continuously.
Immediately uninstall the package using 'npm uninstall putra-semur44-riris' and review your project's dependencies for any other vulnerabilities.