Malicious Code Injection in putra-saguer24-pore: A Threat to npm Packages
Summary
MAL-2025-98259: Malicious code in putra-saguer24-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 package 'putra-saguer24-pore' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing a significant risk to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'putra-saguer24-pore' originates from its association with a malicious campaign that employs autopublish scripts to generate and publish derivative packages with randomized names. This malicious code modifies the package.json file by removing private flags, altering version numbers, and creating random package names, which leads to pollution of the npm registry. The ramifications include compromised package integrity, potential security risks for users, and damage to the reputation of legitimate developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putra-saguer24-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 workaround, you can avoid using the 'putra-saguer24-pore' package altogether. If it is already in use, consider replacing it with a similar package that does not have known vulnerabilities. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which analyzes your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The 'putra-saguer24-pore' package poses a significant risk due to its malicious code designed to manipulate package metadata. It is crucial for developers to remove this package and monitor their projects for vulnerabilities. Utilizing tools like Vulert can help in maintaining the security of your applications.
See every vulnerability recorded for putra-saguer24-pore →
FAQ
It is an npm package associated with a malicious campaign that aims to inflate developer reputation scores through the publication of derivative packages.
The vulnerability can compromise the integrity of your project by introducing malicious code that alters package metadata and potentially exposes your application to security risks.
You should remove the 'putra-saguer24-pore' package from your project and monitor for any updates or patches that may address this vulnerability.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software by analyzing your package-lock.json file. You can use the Vulert playground to check if your application is affected without any signup.
Failing to address this vulnerability can lead to compromised application security, potential data breaches, and damage to your project's reputation.