Malicious Code Injection in trevora-kkiissa-cir7: A Threat to npm Ecosystem
Summary
MAL-2025-169319: Malicious code in trevora-kkiissa-cir7 (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 'trevora-kkiissa-cir7' is part of the npm ecosystem, which is widely used for JavaScript package management. It is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious packages designed to inflate developer reputation scores. This package, like others in the campaign, is engineered to manipulate the npm registry by generating and publishing derivative packages with randomized names.
Vulnerability Detail
The vulnerability in 'trevora-kkiissa-cir7' stems from its malicious code that modifies the package.json file. It removes private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This behavior not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-kkiissa-cir7
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 'trevora-kkiissa-cir7' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The 'trevora-kkiissa-cir7' package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. It is essential for developers to remove this package and monitor their dependencies to maintain the security of their applications.
See every vulnerability recorded for trevora-kkiissa-cir7 →
FAQ
'trevora-kkiissa-cir7' is an npm package linked to a malicious campaign aimed at inflating developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should immediately remove the package from your project and check for any other dependencies that may be affected.
You can use tools like Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time. You can also check your application against known vulnerabilities using the Vulert playground.
Regularly audit your dependencies, use trusted sources for packages, and keep your packages updated to minimize the risk of vulnerabilities.