Malicious Code Injection in Apollo Deimos Resolvers Arcturus - npm Package Vulnerability
Summary
MAL-2025-139504: Malicious code in apollo-deimos-resolvers-arcturus (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
Apollo Deimos Resolvers Arcturus is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate the development of applications by providing resolvers for Apollo GraphQL. However, it has been compromised, making it susceptible to malicious code injection, which can lead to severe security risks for developers using this package.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which are then republished to the npm registry. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, potentially leading to dependency confusion and further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall apollo-deimos-resolvers-arcturus
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 affected package from your project by running the command: 'npm uninstall apollo-deimos-resolvers-arcturus'. Consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The apollo-deimos-resolvers-arcturus package has been identified as containing malicious code that poses significant risks to developers. It is essential to take immediate action by updating or removing the package to safeguard your applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for apollo-deimos-resolvers-arcturus →
FAQ
The vulnerability involves malicious code that modifies package.json and repackages the software to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
Using the compromised package can lead to dependency confusion, security breaches, and the introduction of further vulnerabilities into your application.
Regularly audit your dependencies, use tools like Vulert for monitoring, and stay updated with the latest security patches for all packages.
If immediate updates are not feasible, consider removing the package and using alternative solutions until a secure version is available.