Malicious Code Injection in trevora-jisa-cir7: A Threat to npm Packages
Summary
MAL-2025-169314: Malicious code in trevora-jisa-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-jisa-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 known to flood npm with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores for token rewards. The presence of such malicious code poses a significant risk to developers and users relying on npm packages.
Vulnerability Detail
The vulnerability in 'trevora-jisa-cir7' originates from its association with a malicious campaign that 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, polluting the npm registry and potentially compromising the integrity of other packages. The malicious payload can affect the reputation of developers and the overall trust in the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall trevora-jisa-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 workaround, you can avoid using 'trevora-jisa-cir7' and any other packages associated with the tea.xyz token reward campaign. Regularly audit your package dependencies using tools like 'npm audit' to identify and mitigate vulnerabilities.
Conclusion
The 'trevora-jisa-cir7' package poses a significant threat due to its malicious code designed to manipulate npm package metadata. It is crucial for developers to remove this package and regularly audit their dependencies to maintain the integrity of their projects. Utilizing tools like Vulert can help in monitoring for vulnerabilities effectively.
See every vulnerability recorded for trevora-jisa-cir7 →
FAQ
'trevora-jisa-cir7' is an npm package that has been identified as malicious and part of a campaign to manipulate package metadata for token rewards.
The vulnerability can lead to the pollution of the npm registry, compromising the integrity of your project and potentially affecting other packages you depend on.
You should uninstall 'trevora-jisa-cir7' immediately using 'npm uninstall trevora-jisa-cir7' and audit your other dependencies for vulnerabilities.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Yes, be cautious of packages associated with the tea.xyz token reward campaign, as they may exhibit similar malicious behaviors.