Malicious Code Detected in elf-stats-midnight-pinecone-982 Package

Summary

03/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192092: Malicious code in elf-stats-midnight-pinecone-982 (npm). Affects elf-stats-midnight-pinecone-982 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-midnight-pinecone-982 package is an npm package designed for specific functionalities within JavaScript applications. It is utilized for various tasks, but its integrity is compromised due to the presence of malicious code. This vulnerability poses a significant risk to applications relying on this package, potentially leading to unauthorized access or data breaches.

Vulnerability Detail

The vulnerability originates from the elf-stats-midnight-pinecone-982 package, which has been identified to contain malicious code. This malicious code can execute harmful actions within the user's environment, potentially leading to data theft, unauthorized access, or system compromise. The affected version is 1.0.0, and it has been flagged by Amazon Inspector, indicating a serious security concern that needs immediate attention.

How To Fix

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

npm uninstall elf-stats-midnight-pinecone-982

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 replace the functionality provided by the elf-stats-midnight-pinecone-982 package with alternative packages that do not have known vulnerabilities. Review your project's dependencies and consider using well-maintained packages with a good security track record.

Conclusion

The elf-stats-midnight-pinecone-982 package has been identified as containing malicious code, posing significant risks to applications that utilize it. Immediate action is required to uninstall the package and seek alternatives or updates. Utilizing tools like Vulert can help in monitoring and preventing future vulnerabilities.

See every vulnerability recorded for elf-stats-midnight-pinecone-982 →

Share this vulnerability

FAQ

It is an npm package used for specific functionalities in JavaScript applications, but it has been compromised with malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.

You should uninstall the package immediately and look for alternatives or a patched version if available.

The risks include unauthorized access to your application, data breaches, and potential harm to your users' systems.

Regularly monitor your dependencies using tools like Vulert, and keep your packages updated to the latest secure versions.

How To Fix

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

npm uninstall elf-stats-midnight-pinecone-982

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