Malicious Code Injection in imperial_jackal_0xrequest: A Threat to npm Ecosystem
Summary
MAL-2025-103983: Malicious code in imperial_jackal_0xrequest (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 'imperial_jackal_0xrequest' is part of a series of npm packages associated with the tea.xyz token reward campaign. These packages are designed to automate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. This behavior poses a significant risk to the integrity of the npm registry.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the 'imperial_jackal_0xrequest' package. This code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of variants. This not only pollutes the npm registry but also compromises the security and reliability of dependent projects. The malicious payload is part of a broader scheme to exploit the npm ecosystem for token rewards.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall imperial_jackal_0xrequest
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 'imperial_jackal_0xrequest' package and replace it with a trusted alternative. Additionally, you can monitor your package-lock.json file for any unauthorized changes and revert them if necessary.
Conclusion
The 'imperial_jackal_0xrequest' package poses a significant risk due to its malicious code designed to manipulate npm packages. It is essential to remove this package and monitor your dependencies for any vulnerabilities to maintain the security of your projects.
See every vulnerability recorded for imperial_jackal_0xrequest →
FAQ
It is an npm package associated with a token reward campaign that automates the generation of derivative packages.
The malicious code can compromise the integrity of your project by altering dependencies and introducing security risks.
You can use Vulert to monitor your package-lock.json for vulnerabilities. Visit Vulert Scanner to check your application without any signup.
Remove the package immediately and check for any unauthorized changes in your project files.
Yes, Vulert provides real-time monitoring and alerts for open-source vulnerabilities using just your package-lock.json.