Malicious Code Vulnerability in putri-lapis21-pore Package
Summary
MAL-2025-98270: Malicious code in putri-lapis21-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 putri-lapis21-pore 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 in exchange for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the putri-lapis21-pore package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, primarily themed around Indonesian culture. The malicious code continuously republishes these variants, leading to pollution of the npm registry and potential misuse of developer reputations. The ramifications include compromised package integrity, potential security risks for applications relying on these packages, and a degraded npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-lapis21-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, avoid using the putri-lapis21-pore package and monitor your dependencies for any instances of this package. You can also utilize tools like Vulert to check your application for vulnerabilities without needing to access the code directly. For example, you can use the Vulert playground at https://vulert.com/scanner to assess your application.
Conclusion
The putri-lapis21-pore package has been identified as containing malicious code that compromises the npm ecosystem. It is crucial for developers to remove this package from their projects and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can aid in maintaining the security of your applications.
See every vulnerability recorded for putri-lapis21-pore →
FAQ
The putri-lapis21-pore package is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies package.json files, removes private flags, and can lead to the pollution of the npm registry, potentially compromising your application's integrity.
You should uninstall the putri-lapis21-pore package immediately using the command: npm uninstall putri-lapis21-pore.
Yes, you can use Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by vulnerabilities without needing to sign up.