Malicious Code Injection in dian-kue51-pore: A Threat to npm Packages
Summary
MAL-2025-97705: Malicious code in dian-kue51-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 'dian-kue51-pore' is part of a series of npm packages that were created as part of a token reward campaign for the tea.xyz protocol. These packages are designed to manipulate the npm registry by automatically generating and publishing derivative packages with randomized names. This behavior not only inflates developer reputation scores but also poses a significant risk to the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in 'dian-kue51-pore' stems from its malicious code that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This can lead to a loss of trust in the npm ecosystem and potential exploitation of developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dian-kue51-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 measure, you can avoid using the affected package by removing it from your dependencies and replacing it with a trusted alternative. Ensure to audit your npm packages regularly to identify any potential vulnerabilities.
Conclusion
The 'dian-kue51-pore' package poses a significant risk due to its malicious code that alters package configurations and floods the npm registry with compromised packages. It is essential to remove this package from your projects and monitor for any similar vulnerabilities to maintain the integrity of your software.
See every vulnerability recorded for dian-kue51-pore →
FAQ
The 'dian-kue51-pore' package is an npm package that is part of a malicious campaign to inflate developer reputation scores through automated publishing of derivative packages.
This vulnerability can compromise the integrity of your project by introducing malicious code that modifies your package.json and potentially exposes your application to further risks.
If you have installed 'dian-kue51-pore', you should uninstall it immediately using 'npm uninstall dian-kue51-pore' and check your project for any other affected packages.
You can use Vulert, which monitors and alerts you in real-time for open-source vulnerabilities by analyzing your package-lock.json. You can check your application for vulnerabilities using the Vulert playground without any signup.
It is recommended to look for well-maintained packages that serve the same functionality as 'dian-kue51-pore' but have a good reputation and community support.