Critical Malicious Code Vulnerability in sds-swissid-common Package
Summary
MAL-2025-192582: Malicious code in sds-swissid-common (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 sds-swissid-common package is an npm library designed for integration with SwissID services, providing functionalities such as user authentication and identity management. However, this package has been found to contain malicious code that compromises the security of any system it is installed on, making it a significant threat to users and organizations relying on it.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the sds-swissid-common package. This code can fully compromise any computer that has the package installed, allowing unauthorized access to sensitive information, including secrets and keys. The ramifications of this vulnerability are severe, as it can lead to data breaches and loss of control over the affected systems. The malicious nature of the code has been confirmed by security researchers, highlighting the critical need for immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sds-swissid-common
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
Currently, there are no effective workarounds to mitigate the risks associated with the sds-swissid-common package. The only recommended action is to uninstall the package and secure your system.
Conclusion
The discovery of malicious code within the sds-swissid-common package poses a significant threat to users and organizations. Immediate action is required to uninstall the package and secure any compromised systems. Utilizing tools like Vulert can help in monitoring for such vulnerabilities in the future.
See every vulnerability recorded for sds-swissid-common →
FAQ
You should immediately uninstall the package and rotate any secrets or keys stored on the affected system.
You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.
Failing to address this vulnerability can lead to unauthorized access to sensitive information, data breaches, and complete loss of control over your systems.
No, there is currently no patched version available for this package. The only solution is to remove it entirely.
Regularly monitor your dependencies using tools like Vulert, keep your packages updated, and review the security advisories for any libraries you use.