Critical Malicious Code Vulnerability in Aligned-Array Package
Summary
MAL-2026-670: Malicious code in aligned-array (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 aligned-array package is a utility in the npm ecosystem designed for managing and manipulating aligned arrays in JavaScript applications. It is commonly used for performance optimization in data processing tasks. However, this package has been identified as containing malicious code, posing significant security risks to any system that has it installed.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the aligned-array package. This code can compromise the entire system, allowing unauthorized access to sensitive information such as secrets and keys. Once installed, the package grants full control to an external entity, making it imperative for users to act swiftly to mitigate potential damage.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall aligned-array
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
There are no effective workarounds for this vulnerability. The only safe course of action is to uninstall the aligned-array package and secure your system.
Conclusion
The aligned-array package has been identified as containing malicious code, posing serious security risks. Immediate action is required to uninstall the package and secure any sensitive information. Users are encouraged to utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for aligned-array →
FAQ
You should uninstall the aligned-array package immediately and rotate any secrets or keys stored on your system.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.
Failure to address this vulnerability could lead to unauthorized access to sensitive data, system compromise, and potential data breaches.
While removing the package is essential, there is no guarantee that all malicious software will be removed. It is crucial to rotate all sensitive information from a secure system.
If a patched version is released, updating the package may resolve the issue. However, immediate uninstallation and securing your system are the top priorities.