Malicious Code Detected in com.microsoft.azure.spatial-anchors-sdk.android - Security Alert
Summary
MAL-2025-17324: Malicious code in com.microsoft.azure.spatial-anchors-sdk.android (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.microsoft.azure.spatial-anchors-sdk.android is part of the npm ecosystem and is designed to provide developers with tools for integrating spatial anchors into their applications. This package is utilized in augmented reality applications to enable persistent and shareable experiences across devices. However, it has been found to contain malicious code, posing significant security risks to applications that depend on it.
Vulnerability Detail
The vulnerability originates from the presence of malicious code within the com.microsoft.azure.spatial-anchors-sdk.android package. This malicious code can compromise the integrity of applications using this package, potentially leading to unauthorized access, data breaches, or other malicious activities. The issue affects all versions of the package starting from its introduction, making it critical for users to take immediate action to mitigate the risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall com.microsoft.azure.spatial-anchors-sdk.android
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 package from your project until a secure version is available. You can do this by running: npm uninstall com.microsoft.azure.spatial-anchors-sdk.android. Additionally, monitor your application for any unusual behavior that may indicate exploitation of this vulnerability.
Conclusion
The discovery of malicious code in the com.microsoft.azure.spatial-anchors-sdk.android package poses a serious threat to applications utilizing this package. Immediate action is required to update or remove the package to safeguard application integrity. Utilizing tools like Vulert can further enhance your security posture by providing real-time monitoring of vulnerabilities.
See every vulnerability recorded for com.microsoft.azure.spatial-anchors-sdk.android →
FAQ
The malicious code can potentially compromise application security, leading to unauthorized access or data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
It is crucial to check the package repository for any patched versions of com.microsoft.azure.spatial-anchors-sdk.android and update accordingly.
Consider removing the package from your project as a temporary measure until a secure version is available.
Vulert uses package-lock.json to monitor and alert in real-time for open-source vulnerabilities, ensuring your applications remain secure.