Critical Malicious Code Vulnerability in douquan Package

douquan Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-18678: Malicious code in douquan (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 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 douquan package is an npm library designed for specific functionalities within JavaScript applications. It is widely used for its ease of integration and utility in various projects. However, it has been identified to contain malicious code, posing a significant risk to applications that depend on it. This vulnerability can lead to unauthorized access or data breaches, making it crucial for developers to address it promptly.

Vulnerability Detail

The vulnerability in the douquan package stems from the inclusion of malicious code that can execute harmful actions within the user's environment. This code was introduced in all versions starting from 0, which means any application using this package is at risk. The ramifications of this vulnerability can include data theft, unauthorized access to sensitive information, and potential compromise of the entire application. It is essential for developers to understand the technical implications of this vulnerability to mitigate risks effectively.

How To Fix

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

npm uninstall douquan

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, consider removing the douquan package from your project until a secure version is released. You can do this by executing the following command: npm uninstall douquan. This will help mitigate the risk of malicious code execution in your application.

Conclusion

The discovery of malicious code in the douquan package highlights the importance of vigilance in managing open-source dependencies. Developers must take immediate action to update or remove the affected package to safeguard their applications from potential threats.

See every vulnerability recorded for douquan →

Share this vulnerability

FAQ

The douquan package is an npm library used in JavaScript applications for various functionalities. However, it has been found to contain malicious code.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.

If you are using the douquan package, it is crucial to update it to the latest patched version or remove it from your project until a secure version is available.

The malicious code can lead to unauthorized access, data breaches, and potential compromise of your application, posing significant security risks.

Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions to minimize the risk of vulnerabilities.

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 douquan

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