Malicious Code Injection in pil-aku-kin: A Threat to npm Packages
Summary
MAL-2025-164077: Malicious code in pil-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 'pil-aku-kin' is part of a series of npm packages that have been associated with the tea.xyz token reward campaign. 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 significant risks to users who may unknowingly install these malicious packages.
Vulnerability Detail
The vulnerability in 'pil-aku-kin' originates from its association with malicious scripts that modify the package.json file. These scripts remove private flags, alter version numbers, and generate random package names, leading to the continuous republishing of variants that pollute the npm registry. The ramifications include potential exposure to untrusted code, which could compromise application security and integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall pil-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 workaround, avoid using 'pil-aku-kin' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your project's dependencies to ensure no malicious packages are included.
Conclusion
The 'pil-aku-kin' package poses a significant security risk due to its malicious code that modifies package configurations and repopulates the npm registry with harmful variants. It is crucial to remove this package and monitor your dependencies regularly to maintain application security.
See every vulnerability recorded for pil-aku-kin →
FAQ
'pil-aku-kin' is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By checking your package-lock.json file, you can identify if your application is affected by this vulnerability.
If you have installed 'pil-aku-kin', you should uninstall it immediately using 'npm uninstall pil-aku-kin' and check for any other potentially malicious packages.
Yes, Vulert provides a playground where you can check if your application is affected by vulnerabilities without requiring access to the code or installation.
Using malicious npm packages can lead to exposure to untrusted code, which may compromise your application's security, lead to data breaches, or cause other unforeseen issues.