Malicious Code Injection in pilu-aku-kin: A Threat to npm Ecosystem
Summary
MAL-2025-164221: Malicious code in pilu-aku-kin (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 pilu-aku-kin is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized in various applications to enhance functionality through reusable code. However, this package has been identified as part of a malicious campaign that seeks to exploit npm's publishing mechanisms, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in pilu-aku-kin originates from its involvement in the tea.xyz token reward campaign. This package contains malicious scripts that automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. The scripts continuously republish these variants, polluting the npm registry and potentially compromising the integrity of other packages. This poses a significant risk as it can inflate developer reputation scores fraudulently and lead to the distribution of compromised software.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pilu-aku-kin
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, avoid using the pilu-aku-kin package and consider using alternative packages that provide similar functionality without the associated risks. Regularly audit your dependencies to ensure they are secure.
Conclusion
The pilu-aku-kin package poses a significant security risk due to its malicious code injection capabilities. It is crucial for developers to be vigilant and remove this package from their projects. Regular monitoring and auditing of dependencies can help maintain the security of applications.
See every vulnerability recorded for pilu-aku-kin →
FAQ
pilu-aku-kin is an npm package that has been identified as part of a malicious campaign aimed at exploiting the npm registry.
The vulnerability can lead to the injection of malicious code into your application, potentially compromising its security and integrity.
You should uninstall the package immediately and check for any dependencies that may also be affected.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.