Malicious Code Injection in kuroichi12-tower-toward Package
Summary
MAL-2025-157930: Malicious code in kuroichi12-tower-toward (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 kuroichi12-tower-toward package is part of the npm ecosystem, often utilized for various JavaScript applications. This package has been identified as part of a broader malicious campaign aimed at manipulating the npm registry. It is designed to automatically generate and publish derivative packages, which can lead to reputation inflation for developers involved in the tea.xyz token reward scheme.
Vulnerability Detail
The vulnerability in the kuroichi12-tower-toward package stems from its malicious code that modifies the package.json file. This code removes private flags, alters version numbers, and generates random package names, contributing to the pollution of the npm registry. The malicious payload can lead to security risks for applications relying on this package, as it may inadvertently introduce untrusted code into their environments.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall kuroichi12-tower-toward
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 remove the kuroichi12-tower-toward package from your project by executing the following command: npm uninstall kuroichi12-tower-toward. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The kuroichi12-tower-toward package has been identified as containing malicious code that poses significant risks to applications using it. It is essential to take immediate action by updating or removing the package to safeguard your project from potential threats.
See every vulnerability recorded for kuroichi12-tower-toward →
FAQ
The main issue is that it contains malicious code that modifies package.json and publishes derivative packages, which can compromise the integrity of the npm registry.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By analyzing your package-lock.json, it can alert you to any vulnerabilities, including those in the kuroichi12-tower-toward package.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for real-time monitoring, and avoid using unverified packages from the npm registry.
If an immediate update is not possible, consider removing the package from your project until a secure version is released.
Detailed information can be found on the official npm registry and vulnerability databases, as well as through security advisories from trusted sources.