Malicious Code Injection in kentung-70 Package
Summary
MAL-2025-157554: Malicious code in kentung-70 (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 kentung-70 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 for token rewards. However, it has been identified as containing malicious code that compromises its integrity and the security of the npm registry.
Vulnerability Detail
The vulnerability in the kentung-70 package originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, effectively polluting the npm registry. The ramifications include potential security risks for developers who unknowingly use these compromised packages, as well as damage to the reputation of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kentung-70
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 kentung-70 package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The kentung-70 package poses a significant security risk due to its malicious code that alters package metadata and repopulates the npm registry with compromised versions. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities.
See every vulnerability recorded for kentung-70 →
FAQ
The kentung-70 package is an npm package associated with a token reward campaign that automates the generation of derivative packages.
The malicious code modifies your package.json file and can lead to the publication of compromised packages, which may introduce security vulnerabilities.
You should remove the kentung-70 package from your project immediately and check for any other affected packages.
Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software. It requires only the package-lock.json file for real-time alerts.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.