# 使用 Homebrew, apk 安装 h26forge

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

## 安装

```sh
sudo av install brew:h26forge
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install h26forge
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add h26forge
```

  证据: Alpine Linux edge package indexes: h26forge from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

## 软件包事实

- **软件包键:** brew:h26forge
- **软件包管理器:** Homebrew
- **版本:** 2024-07-06
- **来源摘要:** Tool for making syntactically valid but semantically spec-noncompliant videos
- **主页:** <https://github.com/h26forge/h26forge>
- **仓库:** <https://github.com/h26forge/h26forge>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- h26forge (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

H26Forge is a research-oriented H.264 security tool for producing syntactically valid but semantically non-compliant video bitstreams. Its package-manager niche is narrow: it gives codec and vulnerability researchers a reproducible CLI for generating, mutating, and editing Annex B H.264 streams without hand-editing entropy-coded syntax elements.

### 项目历史

The public repository was created in February 2023, alongside the USENIX Security 2023 paper by W.R. Vasquez, Stephen Checkoway, and Hovav Shacham. The README describes the tool as infrastructure for analyzing, generating, and manipulating H.264 files, and the paper frames it as a response to the difficulty of exploring bugs in hardware-accelerated and privileged video decoders.

H26Forge evolved around three modes: random mutation of syntax elements, scripted programmatic editing, and generation of Annex B H.264 streams that can be written to files or streamed over RTP. The project documentation also records conformance work against ITU H.264 test vectors and examples for reproducing specific decoder-bug conditions.

### 采用历史

Adoption is primarily visible in security-research use rather than broad application development. The README lists vulnerabilities and fixes associated with H26Forge-generated or H26Forge-assisted test cases across FFmpeg/VLC, Apple platforms, Firefox, Pixel hardware decoding, and CoreMedia on Windows.

Its Homebrew formula made the research tool easier to install as a normal command-line package, which matters for a tool whose users may be reproducing papers, validating decoder behavior, or generating batches of proof-of-concept media on macOS.

### 使用方式

Typical use starts with generating an Annex B H.264 bitstream, mutating syntax elements from an existing stream, or running a Python editing script over decoded syntax elements before re-encoding. The project points users to FFmpeg for extracting Annex B streams from MP4 input and to `config/default.json` or specialized configs for generation ranges.

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

H26Forge is interesting because it packages a highly specialized academic/security artifact as a Rust CLI. Instead of being a codec, encoder, or transcoder, it deliberately creates edge-case media that remains parseable enough to exercise decoder semantics, filling a gap between fuzzers, bitstream analyzers, and multimedia test suites.

### 时间线

- 2023: Public GitHub repository created.
- 2023: USENIX Security paper described H26Forge and its decoder-vulnerability workflow.
- 2024: README trophy list included later decoder findings such as Pixel MFC and Apple CoreMedia issues.

### Related projects

- H26Forge sits near FFmpeg, ITU H.264 conformance vectors, browser and OS video decoders, and security fuzzing infrastructure. Its documentation also relates it to H.264/AVC specification work and to proof-of-concept generation for decoder CVEs.

### 来源

- <https://formulae.brew.sh/formula/h26forge>
- <https://github.com/h26forge/h26forge>
- <https://github.com/h26forge/h26forge/blob/main/docs/GETTINGSTARTED.md>
- <https://raw.githubusercontent.com/h26forge/h26forge/main/README.md>
- <https://wrv.github.io/h26forge.pdf>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- apk - h26forge - 2024.07.06-r0: normalized package name match | Alpine Linux edge package indexes: h26forge from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Analyze, generate, and manipulate syntactically correct but semantically spec-non-compliant video files | https://github.com/h26forge/h26forge


## Combined YAML source

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


## 来源

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