Malicious Code Detected in elf-stats-joyous-sparkler-347 Package

Summary

03/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192071: Malicious code in elf-stats-joyous-sparkler-347 (npm). Affects elf-stats-joyous-sparkler-347 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The elf-stats-joyous-sparkler-347 package is an npm library designed for statistical analysis and reporting of ELF (Executable and Linkable Format) files. It is commonly used in applications that require detailed insights into binary files. However, this package has been found to contain malicious code, posing significant security risks to users who integrate it into their projects.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within the elf-stats-joyous-sparkler-347 package. This code can potentially compromise the integrity of applications that utilize this package, leading to unauthorized access, data breaches, or system corruption. The specific version affected is 1.0.0, and the malicious code was identified by Amazon Inspector, raising concerns about the security of npm packages.

How To Fix

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

npm uninstall elf-stats-joyous-sparkler-347

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-joyous-sparkler-347 package altogether. If your application relies on its functionality, consider looking for alternative packages that provide similar features without the associated risks.

Conclusion

The elf-stats-joyous-sparkler-347 package has been flagged for containing malicious code, posing a serious risk to applications that utilize it. Users are advised to remove the package and seek alternatives while monitoring for any updates or patches. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects.

See every vulnerability recorded for elf-stats-joyous-sparkler-347 →

Share this vulnerability

FAQ

It is an npm package used for statistical analysis of ELF files, but it has been found to contain malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application by uploading your package-lock.json file at Vulert Scanner.

You should remove the affected package and look for alternatives or wait for a patched version to be released.

The best mitigation is to avoid using the package until it has been confirmed safe or patched.

The vulnerability was identified by Amazon Inspector, which is a security assessment service.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

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

npm uninstall elf-stats-joyous-sparkler-347

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