Malicious Code Detected in com.unity.addressables Package
Summary
MAL-2025-17352: Malicious code in com.unity.addressables (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 com.unity.addressables package is a widely used library in the npm ecosystem, primarily designed for managing and optimizing asset delivery in Unity applications. It allows developers to efficiently load and manage game assets, enhancing performance and user experience. However, this package has been identified to contain malicious code, posing significant risks to applications utilizing it.
Vulnerability Detail
The vulnerability stems from the inclusion of malicious code within the com.unity.addressables 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 users 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.unity.addressables
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, consider removing the com.unity.addressables package from your project until a secure version is available. You can do this by running the command: 'npm uninstall com.unity.addressables'. This will help mitigate the risk of exposure to the malicious code while you await a fix.
Conclusion
The discovery of malicious code in the com.unity.addressables package highlights the importance of vigilance in managing open-source dependencies. Users are urged to update their packages promptly and utilize tools like Vulert to monitor for vulnerabilities effectively.
See every vulnerability recorded for com.unity.addressables →
FAQ
The malicious code can lead to unauthorized access and potential data breaches in applications using the package.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By simply analyzing your package-lock.json file, Vulert can alert you to any vulnerabilities, including this one.
As of now, there is no specific patched version available. Users should monitor the package repository for updates.
Consider removing the package from your project as a temporary measure until a secure version is released.
Utilize tools like Vulert to receive real-time alerts about vulnerabilities in your open-source dependencies.