Malicious code in @lognex/ecom-recommendations (npm)

@lognex/ecom-recommendations Updated 02 Oct 2025

Summary

29/11/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8630: Malicious code in @lognex/ecom-recommendations (npm). Affected versions are not published. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The @lognex/ecom-recommendations package is an npm package used for e-commerce recommendations. It provides functionality for generating personalized product recommendations based on user behavior and preferences. This package is commonly used in e-commerce applications to enhance the user experience and drive sales. However, it has been discovered that the package contains malicious code, which poses a significant security risk to any computer that has it installed or running.

Vulnerability Detail

The malicious code in @lognex/ecom-recommendations has been identified as a high-severity vulnerability. The source of the code is a known malware repository, and any computer with this package installed should be considered fully compromised. This means that all secrets and keys stored on the affected computer may have been exposed to an outside entity. It is crucial to rotate all compromised secrets and keys immediately from a different computer. Removing the package may not guarantee the removal of all malicious software resulting from its installation, as the outside entity may have gained full control of the affected computer.

How To Fix

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

npm uninstall @lognex/ecom-recommendations

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 →

Conclusion

The @lognex/ecom-recommendations package has been found to contain malicious code, posing a significant security risk to any computer with it installed. It is crucial to take immediate action by rotating compromised secrets and keys, removing the package, and conducting a thorough security audit. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for @lognex/ecom-recommendations →

Share this vulnerability

FAQ

@lognex/ecom-recommendations is an npm package used for generating personalized product recommendations in e-commerce applications.

The malicious code compromises the security of the affected computer, giving an outside entity full control. All secrets and keys stored on the computer may have been exposed.

If you have @lognex/ecom-recommendations installed, it is crucial to rotate all secrets and keys stored on the affected computer immediately from a different, secure computer. Remove the package and perform a thorough security audit.

Removing the package may not guarantee the removal of all malicious software resulting from its installation. A thorough security audit is recommended to identify and remove any remaining malicious software.

Regularly update and patch all software and packages used in the e-commerce application to ensure the latest security fixes are applied.

How To Fix

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

npm uninstall @lognex/ecom-recommendations

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