Critical Malicious Code Vulnerability in @louisle2/cortex-js Package

@louisle2/cortex-js Updated 24 Nov 2025

Summary

24/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-190817: Malicious code in @louisle2/cortex-js (npm). Affects @louisle2/cortex-js versions 0.1.6. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @louisle2/cortex-js package is an npm library designed for JavaScript applications, providing various functionalities that enhance the development process. However, this package has been compromised, embedding malicious code that poses significant security risks to any system utilizing it. Users of this package should be aware of its potential to expose sensitive information and compromise system integrity.

Vulnerability Detail

The vulnerability stems from the presence of embedded malicious code within the @louisle2/cortex-js package. This code can fully compromise any computer where the package is installed, allowing unauthorized access to secrets and keys stored on the system. The malicious code was identified by the GitHub Security Advisory (GHSA) and is classified under CWE-506, indicating that it contains code that appears to be malicious in nature. The ramifications of this vulnerability are severe, as it can lead to data breaches and unauthorized control over affected systems.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @louisle2/cortex-js

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 workaround, if you need to maintain functionality while addressing the vulnerability, consider using an alternative package that offers similar features without the associated risks. Always ensure to review the security status of any package before installation.

Conclusion

The @louisle2/cortex-js package has been identified as containing malicious code that compromises system security. Immediate action is required to uninstall the package and secure any sensitive information. Users are encouraged to explore alternative packages and utilize tools like Vulert for ongoing vulnerability monitoring.

See every vulnerability recorded for @louisle2/cortex-js →

Share this vulnerability

FAQ

It is an npm library used in JavaScript applications, but it has been compromised with malicious code.

If you have installed the @louisle2/cortex-js package, your system may be compromised. It is recommended to uninstall it immediately.

Rotate all secrets and keys stored on the affected computer from a different, secure machine to prevent unauthorized access.

No patch is available for the @louisle2/cortex-js package. The only solution is to uninstall the package.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file. You can also check your application for vulnerabilities using the Vulert playground without any signup.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @louisle2/cortex-js

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback