# 使用 Homebrew Cask 安装 mitmproxy

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

## 安装

```sh
sudo av install cask:mitmproxy
```

其他安装命令:

### macOS

- Homebrew Cask (100%):

```sh
brew install --cask mitmproxy
```

  证据: local Homebrew cask metadata

## 软件包事实

- **软件包键:** cask:mitmproxy
- **软件包管理器:** Homebrew Cask
- **版本:** 12.2.3
- **来源摘要:** Intercept, modify, replay, save HTTP/S traffic
- **主页:** <https://mitmproxy.org/>
- **最后更新:** 2026-05-12T20:21:31Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mitmproxy (二进制)
- mitmdump (二进制)
- mitmweb (二进制)
- mitmdump (别名)
- mitmproxy (别名)
- mitmweb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

mitmproxy is a free and open-source interactive HTTPS proxy created by Aldo Cortesi, Maximilian Hils, Thomas Kriechbaumer, and contributors. The project's citation entry dates it from 2010 onward and describes it as an interactive HTTPS proxy, while the project homepage identifies the same authors and the contributor-maintained core team.

### 项目历史

Technically, mitmproxy grew into a suite of related interfaces: `mitmproxy` for the interactive console, `mitmdump` as a command-line/tcpdump-like interface for HTTP traffic, and `mitmweb` as a web UI. The official documentation describes its practical uses: intercepting and modifying HTTP and HTTPS requests and responses, saving conversations for replay and analysis, replaying clients or server responses, reverse-proxy and transparent-proxy modes, generated interception certificates, and Python addons for scripted traffic changes.

### 使用方式

Its ecosystem role is between developer debugging tools and security testing proxies such as Burp Suite or Charles Proxy, but with an open-source Python extension model and a terminal-first workflow. The Homebrew cask packages the prebuilt macOS tarball and exposes all three executables, making it a convenient install path for API debugging, mobile traffic inspection, privacy research, and test fixtures built from recorded flows.

### 来源

- <https://docs.mitmproxy.org/stable/>
- <https://formulae.brew.sh/cask/mitmproxy>
- <https://github.com/mitmproxy/mitmproxy>
- <https://www.mitmproxy.org/>
- <https://www.mitmproxy.org/publications/>


## 安全说明

没有找到 mitmproxy 的匹配本地密钥处理 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: ~/.mitmproxy/config.yaml

## Credential files

- Unix: ~/.mitmproxy/mitmproxy-ca.pem
## 其他软件包管理器记录

- Nix - mitmproxy: normalized package name match | nixpkgs package indexes: mitmproxy from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - mitmproxy - 8.1.1-2: normalized package name match | Ubuntu 24.04 LTS package indexes: mitmproxy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | SSL-capable man-in-the-middle HTTP proxy | https://mitmproxy.org
- apk - mitmproxy - 11.0.0-r3: normalized package name match | Alpine Linux edge package indexes: mitmproxy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Interactive TLS-capable intercepting HTTP proxy | https://mitmproxy.org/
- apk - mitmproxy-pyc - 11.0.0-r3: normalized package name match | Alpine Linux edge package indexes: mitmproxy-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for mitmproxy | https://mitmproxy.org/
- pacman - mitmproxy - 12.2.3-1: normalized package name match | Arch Linux sync databases: mitmproxy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | SSL-capable man-in-the-middle HTTP proxy | https://mitmproxy.org
- Chocolatey - mitmproxy: normalized package name match | Chocolatey community package catalog: mitmproxy from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','microsoft-windows-terminal'
- Scoop - extras/mitmproxy: normalized package name match | Scoop official bucket manifest trees: bucket/mitmproxy.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- winget - mitmproxy.mitmproxy: normalized package name match | Windows Package Manager source index: mitmproxy.mitmproxy from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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