Malicious Code Injection in putri-jamblang48-ruro: A Threat to npm Packages
Summary
MAL-2025-107485: Malicious code in putri-jamblang48-ruro (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 'putri-jamblang48-ruro' is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to generate and publish derivative packages with randomized names, which can inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability in 'putri-jamblang48-ruro' originates from malicious code embedded in the package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. The ramifications include pollution of the npm registry and potential exploitation of developers' reputations. The malicious payload is designed to operate silently, making it difficult for developers to detect its presence.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-jamblang48-ruro
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 'putri-jamblang48-ruro' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package-lock.json file for any unauthorized changes.
Conclusion
The 'putri-jamblang48-ruro' package poses a significant threat due to its embedded malicious code, which alters package metadata and can harm developer reputations. It is crucial to remove this package and monitor your projects for similar vulnerabilities using tools like Vulert.
See every vulnerability recorded for putri-jamblang48-ruro →
FAQ
The vulnerability involves malicious code that modifies package metadata and repackages it under random names, leading to npm registry pollution.
You can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
Using this package can lead to reputation damage for developers and pollution of the npm registry, making it harder to find legitimate packages.
Regularly audit your dependencies and use tools like Vulert to monitor for vulnerabilities in your open-source packages.
If immediate removal is not possible, ensure to monitor your project closely for any unusual behavior and consider isolating the affected package.