Critical Malicious Code Vulnerability in dfpgun Package

dfpgun Updated 02 Oct 2025

Summary

14/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-18415: Malicious code in dfpgun (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 dfpgun package is an npm library designed for specific functionalities within JavaScript applications. It is utilized by developers to streamline certain processes, but its recent discovery of malicious code raises significant concerns about its security and integrity. Users of this package must be aware of its vulnerabilities to protect their applications from potential threats.

Vulnerability Detail

The dfpgun package has been identified to contain malicious code that can compromise the security of applications utilizing it. This vulnerability originated from the package itself, which was found to be intentionally designed to execute harmful actions. The ramifications of this vulnerability can include unauthorized access to sensitive data, data corruption, and potential exploitation of the host system. It is crucial for developers to understand the risks associated with using this package and to take immediate action to mitigate these threats.

How To Fix

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

npm uninstall dfpgun

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 may consider isolating the usage of the dfpgun package in a controlled environment where it cannot access sensitive data or critical system resources. However, this is not a permanent solution and should not replace the removal of the package.

Conclusion

The discovery of malicious code within the dfpgun package poses a serious threat to developers and their applications. Immediate action is required to remove this package and safeguard your projects. Utilizing tools like Vulert can help monitor for vulnerabilities and ensure your software remains secure.

See every vulnerability recorded for dfpgun →

Share this vulnerability

FAQ

The dfpgun package is an npm library used in JavaScript applications for specific functionalities, but it has been found to contain malicious code.

You can use Vulert to monitor and alert in real-time for open-source vulnerabilities. Check your application using the Vulert playground at Vulert Scanner without any signup.

It is advised to remove the dfpgun package from your project and replace it with a secure alternative immediately.

Currently, there is no patched version available. Users should remove the package until a secure alternative is found.

Using malicious packages can lead to unauthorized access to sensitive data, data corruption, and exploitation of your system, posing significant security risks.

How To Fix

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

npm uninstall dfpgun

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