Malicious Code Detected in foxgame Package - Security Alert
Summary
MAL-2025-20845: Malicious code in foxgame (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 foxgame package is a JavaScript library available on the npm ecosystem, primarily used for game development. It provides various functionalities that facilitate game mechanics, graphics rendering, and user interactions. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the foxgame package arises from the inclusion of malicious code that can compromise the security of applications using this library. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The issue was introduced in version 0 and affects all subsequent versions, making it critical for developers to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall foxgame
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, consider removing the foxgame package from your project until a secure version is released. You can uninstall it using the command: 'npm uninstall foxgame'. This will prevent any potential exploitation of the malicious code while you await a fix.
Conclusion
The foxgame package has been identified to contain malicious code that poses serious security risks. Developers using this package should take immediate action to update or remove it from their projects to safeguard their applications. Regular monitoring for updates and vulnerabilities is crucial.
See every vulnerability recorded for foxgame →
FAQ
The foxgame package is a JavaScript library used for game development, providing tools for mechanics and graphics.
The malicious code can lead to unauthorized access and data breaches within applications using the foxgame package.
You can use Vulert to monitor and alert for vulnerabilities in your application. Visit Vulert Scanner to check your package-lock.json for vulnerabilities without signup.
Currently, there is no specific patched version available. It is recommended to monitor the package repository for updates.
If immediate updates are not possible, consider removing the foxgame package from your project as a temporary workaround.