Critical Malicious Code Vulnerability in elf-stats-cocoa-cocoa-280 Package

elf-stats-cocoa-cocoa-280 Updated 03 Dec 2025

Summary

03/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192205: Malicious code in elf-stats-cocoa-cocoa-280 (npm). Affects elf-stats-cocoa-cocoa-280 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The elf-stats-cocoa-cocoa-280 package is an npm library that provides functionalities related to ELF (Executable and Linkable Format) statistics for Cocoa applications. It is commonly used in projects that require analysis or manipulation of ELF files. However, this package has been identified to contain malicious code, posing significant risks to applications that depend on it.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within the elf-stats-cocoa-cocoa-280 package, specifically in version 1.0.0. This code can potentially compromise the security of applications using this package, leading to unauthorized access, data breaches, or other malicious activities. The malicious code was detected by Amazon Inspector, indicating a serious threat to users of this package.

How To Fix

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

npm uninstall elf-stats-cocoa-cocoa-280

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 remove the elf-stats-cocoa-cocoa-280 package from your project and replace it with a different library that offers similar features. Ensure to thoroughly test your application after making this change to confirm that it operates as expected.

Conclusion

The elf-stats-cocoa-cocoa-280 package contains a serious vulnerability due to malicious code, posing significant risks to applications that utilize it. It is crucial to remove the affected version and consider alternatives or patched versions to ensure the security of your software.

See every vulnerability recorded for elf-stats-cocoa-cocoa-280 →

Share this vulnerability

FAQ

elf-stats-cocoa-cocoa-280 is an npm package used for analyzing ELF files in Cocoa applications.

The malicious code was detected by Amazon Inspector, a security assessment service that identifies vulnerabilities in software packages.

Using the compromised package can lead to unauthorized access, data breaches, and other security threats to your application.

Yes, you can use Vulert to monitor and alert for open-source vulnerabilities in your software without requiring access to the code or installation.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

How To Fix

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

npm uninstall elf-stats-cocoa-cocoa-280

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