Malicious Code Detected in duel-core Package - Security Alert

duel-core Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-18959: Malicious code in duel-core (npm). Affected versions are not published. 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 duel-core package is an npm library designed for specific functionalities within JavaScript applications. It is utilized for various purposes, including enhancing performance and providing core functionalities. However, the package has been identified to contain malicious code, posing a significant risk to applications that depend on it.

Vulnerability Detail

The vulnerability in the duel-core package originates from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code can lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this code makes it imperative for developers to take immediate action to mitigate potential risks.

How To Fix

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

npm uninstall duel-core

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 duel-core package from your project if it is not critical to your application's functionality. This can be done using the command: npm uninstall duel-core. Consider replacing it with a safer alternative until a patched version is available.

Conclusion

The duel-core package has been identified to contain malicious code, posing significant risks to applications that utilize it. Developers are urged to update to a patched version or remove the package until a safe alternative is found. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for duel-core →

Share this vulnerability

FAQ

The duel-core package is an npm library used for various functionalities in JavaScript applications, but it has been found to contain malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. By checking your package-lock.json file, you can determine if your application is affected by this vulnerability.

The risks include unauthorized access to your application, potential data breaches, and other harmful actions that could compromise your system's integrity.

Yes, it is recommended to update the duel-core package to the latest patched version to mitigate the risks associated with the malicious code.

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

How To Fix

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

npm uninstall duel-core

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