Malicious Code Injection in putri-pecel40-miaww Package
Summary
MAL-2025-89748: Malicious code in putri-pecel40-miaww (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 putri-pecel40-miaww package is part of the npm ecosystem, often utilized in JavaScript applications for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages, aimed at inflating developer reputation scores for token rewards. This package is particularly vulnerable due to its design, which allows for the automatic generation and publication of malicious variants.
Vulnerability Detail
The vulnerability originates from the package's involvement in the tea.xyz token reward campaign. It contains scripts that modify the package.json file to remove private flags, alter version numbers, and generate random package names. This leads to the continuous republishing of variants, which pollutes the npm registry and can potentially compromise the integrity of applications relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-pecel40-miaww
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 putri-pecel40-miaww package from your project and replace it with a trusted alternative. Additionally, you can monitor your package-lock.json file for any unauthorized changes, ensuring that no malicious packages are introduced.
Conclusion
The putri-pecel40-miaww package has been identified as a vector for malicious code injection, primarily due to its association with a token reward campaign. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications from potential threats.
See every vulnerability recorded for putri-pecel40-miaww →
FAQ
It is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
The vulnerability can lead to the introduction of malicious code, potentially compromising the security and integrity of your application.
You should immediately update the package to a patched version or remove it from your project.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.