Malicious Code Detected in com.apple.unityplugin.gamekit - Security Alert
Summary
MAL-2025-17314: Malicious code in com.apple.unityplugin.gamekit (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 com.apple.unityplugin.gamekit is an npm package designed for integrating Apple's GameKit features into Unity applications. It provides developers with tools to implement game functionalities such as leaderboards, achievements, and multiplayer capabilities. However, this package has been identified to contain malicious code, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability stems from the presence of malicious code within the com.apple.unityplugin.gamekit package. This code can potentially compromise the security of applications that depend on this package, 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 com.apple.unityplugin.gamekit
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, developers can remove the com.apple.unityplugin.gamekit package from their project until a secure version is released. This can be done by executing the command: 'npm uninstall com.apple.unityplugin.gamekit'.
Conclusion
The discovery of malicious code in the com.apple.unityplugin.gamekit package poses a serious threat to developers and their applications. It is crucial to take immediate action by updating or removing the package to mitigate potential risks. Utilizing tools like Vulert can further enhance security by providing real-time alerts for vulnerabilities.
See every vulnerability recorded for com.apple.unityplugin.gamekit →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications using this package.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Consider removing the package from your project as a temporary measure until a secure version is available.
Currently, all versions of com.apple.unityplugin.gamekit are affected. It is advisable to monitor the package repository for updates.
Vulert uses the package-lock.json file to monitor and alert in real-time for open-source vulnerabilities, ensuring your application remains secure.