Malicious Code Injection in putri-kue46-pore: npm Package Vulnerability
Summary
MAL-2025-98268: Malicious code in putri-kue46-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 'putri-kue46-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 various packages. The primary function of such packages is to generate and publish derivative packages to inflate developer reputation scores for token rewards. However, this package has been compromised, leading to significant security concerns.
Vulnerability Detail
The vulnerability in 'putri-kue46-pore' arises from the inclusion of malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, which are often themed around Indonesian culture. The malicious payload continuously republishes these variants, polluting the npm registry and potentially leading to reputation damage for developers and security risks for users who inadvertently install these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-kue46-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 temporary workaround, you can avoid using the 'putri-kue46-pore' package altogether and look for alternative packages that provide similar functionality without the associated risks. Always ensure to review package details and maintainers before installation.
Conclusion
The 'putri-kue46-pore' package has been identified as containing malicious code that poses significant risks to developers and users alike. It is essential to take immediate action to remove this package and monitor your projects for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for putri-kue46-pore →
FAQ
The vulnerability involves malicious code that alters package metadata and repackages it under random names, leading to potential security risks.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities. Visit Vulert Scanner to check your application without any signup.
Immediately uninstall the package using 'npm uninstall putri-kue46-pore' and check for any alternative packages.
Yes, the impacts include potential security breaches, reputation damage for developers, and pollution of the npm registry.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and stay updated on security advisories related to the packages you use.