Malicious Code Detected in elf-stats-tinsel-cookiejar-315 Package

Summary

11/12/2025
CRITICAL
No i
Critical
Not published

MAL-2025-192537: Malicious code in elf-stats-tinsel-cookiejar-315 (npm). Affects elf-stats-tinsel-cookiejar-315 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 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 elf-stats-tinsel-cookiejar-315 package is an npm module designed for managing cookie jars in Node.js applications. It provides functionalities for creating, parsing, and manipulating cookies. However, this package has been identified to contain malicious code, posing a significant risk to applications that utilize it.

Vulnerability Detail

The vulnerability originates from the inclusion of malicious code within the elf-stats-tinsel-cookiejar-315 package. This code can potentially compromise the security of applications by allowing unauthorized access to sensitive data or executing harmful operations. The specific technical details of the malicious code have not been disclosed, but it is crucial for developers to be aware of the risks associated with using this package.

How To Fix

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

npm uninstall elf-stats-tinsel-cookiejar-315

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-tinsel-cookiejar-315 package altogether and implement cookie management using native Node.js modules or other trusted libraries. For example, you can use the 'cookie' package for cookie parsing and serialization.

Conclusion

The elf-stats-tinsel-cookiejar-315 package has been identified as containing malicious code, which poses significant security risks to applications. It is crucial for developers to remove this package and consider secure alternatives to protect their applications from potential threats.

See every vulnerability recorded for elf-stats-tinsel-cookiejar-315 →

Share this vulnerability

FAQ

It is an npm package used for managing cookie jars in Node.js applications.

The specific nature of the malicious code has not been disclosed, but it poses risks such as unauthorized data access.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software without requiring code access. Visit Vulert Scanner to check your application.

The best mitigation is to remove the package and use a secure alternative. Avoid using it until a patched version is released.

The vulnerability was reported by Amazon Inspector, a security assessment service.

How To Fix

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

npm uninstall elf-stats-tinsel-cookiejar-315

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