Malicious Code Injection in putri-pecel78-miaww Package
Summary
MAL-2025-89752: Malicious code in putri-pecel78-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-pecel78-miaww 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 code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the putri-pecel78-miaww package originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of these variants, polluting the npm registry and potentially affecting other developers and projects relying on npm packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-pecel78-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 avoid using the putri-pecel78-miaww package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The putri-pecel78-miaww package has been identified as containing malicious code that compromises the npm registry. It is essential to remove this package from your projects and monitor for similar vulnerabilities using tools like Vulert to ensure the security of your software.
See every vulnerability recorded for putri-pecel78-miaww →
FAQ
The putri-pecel78-miaww package is an npm package linked to a token reward campaign that has been identified as containing malicious code.
This vulnerability can compromise the integrity of your project by introducing malicious code that modifies your package.json and floods the npm registry with unwanted packages.
You should uninstall the putri-pecel78-miaww package immediately using 'npm uninstall putri-pecel78-miaww' to mitigate any potential risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay informed about known vulnerabilities in the packages you use.