Malicious Code Detected in elf-stats-whimsical-lantern-823 Package

Summary

03/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192187: Malicious code in elf-stats-whimsical-lantern-823 (npm). Affects elf-stats-whimsical-lantern-823 versions 1.0.0. 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 elf-stats-whimsical-lantern-823 package is an npm library designed for statistical analysis and reporting in JavaScript applications. It is commonly used for enhancing the functionality of web applications by providing various statistical tools. However, this package has been identified to contain malicious code, posing a significant security risk to applications that utilize it.

Vulnerability Detail

The vulnerability in the elf-stats-whimsical-lantern-823 package stems from the inclusion of malicious code that can compromise the security of applications using this library. This malicious code can lead to unauthorized access, data breaches, and potential exploitation of the affected systems. The issue was identified by Amazon Inspector, which reported the package's SHA256 hash as 8ecf72175430e33341e2169ed5cc6b9744efe72b3d10ba8313b04987b0202466. The affected version is 1.0.0, and users are advised to take immediate action to mitigate risks.

How To Fix

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

npm uninstall elf-stats-whimsical-lantern-823

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 workaround, you can avoid using the elf-stats-whimsical-lantern-823 package in your application. Instead, consider using alternative libraries that provide similar functionality without the associated risks. Always ensure to review the security of any third-party packages before integrating them into your project.

Conclusion

The elf-stats-whimsical-lantern-823 package has been identified as containing malicious code that poses a significant security risk. Users are advised to remove the package and seek alternatives to protect their applications. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for elf-stats-whimsical-lantern-823 →

Share this vulnerability

FAQ

elf-stats-whimsical-lantern-823 is an npm package used for statistical analysis and reporting in JavaScript applications.

The malicious code can lead to unauthorized access and data breaches, compromising the security of applications that use the package.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By using the Vulert playground, you can check if your application is affected without needing to sign up.

It is recommended to remove the elf-stats-whimsical-lantern-823 package from your project immediately and replace it with a secure alternative.

Currently, there is no patched version available for the elf-stats-whimsical-lantern-823 package, so removal is the best option.

How To Fix

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

npm uninstall elf-stats-whimsical-lantern-823

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