Malicious Code Detected in gamefiles Package - Security Alert
Summary
MAL-2025-21170: Malicious code in gamefiles (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 gamefiles package is a popular npm library used for managing game-related files and assets in JavaScript applications. It offers functionalities such as file handling, asset management, and integration with game engines. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the gamefiles package. This code can potentially compromise the integrity of applications that depend on it, leading to unauthorized access, data breaches, or other malicious activities. 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 gamefiles
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
If an immediate update is not feasible, consider removing the gamefiles package from your project until a secure version is released. You can do this by executing: 'npm uninstall gamefiles'. Additionally, review your codebase for any dependencies that may rely on this package.
Conclusion
The discovery of malicious code in the gamefiles package poses a serious threat to developers and their applications. It is crucial to take immediate action by updating or removing the package to safeguard your projects. Stay vigilant and utilize tools like Vulert for ongoing monitoring of open-source vulnerabilities.
See every vulnerability recorded for gamefiles →
FAQ
The malicious code is designed to exploit vulnerabilities in applications, potentially leading to unauthorized access or data manipulation.
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 installation.
Currently, all versions of gamefiles from version 0 onwards are affected. It is recommended to remove the package until a secure version is released.
Consider removing the gamefiles package from your project as a temporary measure until a patched version is available.
Regularly check the package repository and utilize tools like Vulert to receive real-time alerts about vulnerabilities in your dependencies.