Malicious Code Detected in appkeys Package - Security Alert
Summary
MAL-2025-14673: Malicious code in appkeys (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 appkeys package is a Node.js library designed for managing application keys securely. It is widely used in various npm projects to handle sensitive information. However, recent findings have revealed that this package contains malicious code, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the appkeys package originates from the inclusion of malicious code that can compromise the integrity and security of applications using this library. This malicious code may allow unauthorized access to sensitive data, lead to data breaches, or enable further exploitation of the affected systems. The issue affects all versions starting from 0, 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 appkeys
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 appkeys package from your project until a secure version is released. You can do this by running: npm uninstall appkeys. Additionally, review your codebase for any instances where appkeys is used and replace it with a secure alternative if necessary.
Conclusion
The appkeys package has been identified as containing malicious code, posing a serious security threat to applications that utilize it. Developers are urged to update or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for appkeys →
FAQ
The appkeys package is used for managing application keys securely in Node.js applications.
The malicious code can compromise application security, potentially leading to unauthorized data access and breaches.
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.
Yes, it is recommended to update the appkeys package to the latest secure version to mitigate the vulnerability.
As a workaround, consider removing the appkeys package from your project until a secure version is available.