# 使用 Homebrew, MacPorts, Nix 安装 dalfox

查看 dalfox 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:dalfox
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dalfox
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dalfox
```

  证据: MacPorts ports tree: security/dalfox/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dalfox
```

  证据: nixpkgs package indexes: pkgs/by-name/da/dalfox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:dalfox
- **软件包管理器:** Homebrew
- **版本:** 3.2.0
- **来源摘要:** XSS scanner and utility focused on automation
- **主页:** <https://dalfox.hahwul.com>
- **仓库:** <https://github.com/hahwul/dalfox>
- **最后更新:** 2026-08-02T11:57:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dalfox (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.2.0
## 项目历史与用法

Dalfox is an open-source XSS scanner and security automation CLI built around parameter discovery, context-aware payload generation, and verified reporting formats useful in bug bounty and DevSecOps workflows.

### 项目历史

The project identifies itself as Dalfox, combining the Korean word for moon with 'Fox', and its older Go-era README described it as a successor-style rewrite after XSpear. Current official documentation presents v3 as a Rust rewrite while preserving the Go v2 branch for security backports.

### 采用历史

Dalfox became package-manager friendly because it ships as a single CLI and documents installation through Homebrew, Snap, Nix, cargo, Arch AUR, prebuilt binaries, and source builds. Its official pages emphasize fitting into existing recon stacks instead of requiring a heavy scanner platform.

### 使用方式

Typical use is to scan a single URL, a file of URLs, raw HTTP input, or piped crawler output, then export findings as plain text, JSON, JSONL, Markdown, SARIF, TOML, or through REST and MCP server modes.

### 为什么软件包爱好者会关心

For package maintainers, Dalfox is a modern security CLI with a clean single-binary distribution story and a visible language/runtime transition from Go v2 to Rust v3, making it a useful example of how security tools move across ecosystems while keeping package channels alive.

### 时间线

- 2020: Go module metadata records a stable v1-era Dalfox release.
- 2025: Official release notes documented expanded server, report, and raw request workflow support in the v2 line.
- 2026: Official docs present Dalfox v3.1.2 and a Rust-based v3 line.

### Related projects

- Dalfox's own history points back to XSpear as prior XSS tooling by the same author, and its package ecosystem sits beside proxy/recon tools such as Caido, Burp-style raw request workflows, and CI code-scanning consumers of SARIF.

### 来源

- <https://dalfox.hahwul.com/>
- <https://dalfox.hahwul.com/getting-started/>
- <https://dalfox.hahwul.com/getting-started/installation/>
- <https://dalfox.hahwul.com/getting-started/configuration/>
- <https://github.com/hahwul/dalfox>
- <https://www.hahwul.com/blog/2025/dalfox_2_12_released/>


## 安全说明

没有找到 dalfox 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $XDG_CONFIG_HOME/dalfox/config.toml, ~/.config/dalfox/config.toml
## 其他软件包管理器记录

- Nix - dalfox: normalized package name match | nixpkgs package indexes: pkgs/by-name/da/dalfox/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - dalfox: normalized package name match | MacPorts ports tree: security/dalfox/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/dalfox.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dalfox.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
