# 使用 Homebrew, Nix 安装 cfripper

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

## 安装

```sh
sudo av install brew:cfripper
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cfripper
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cfripper
```

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

## 软件包事实

- **软件包键:** brew:cfripper
- **软件包管理器:** Homebrew
- **版本:** 1.21.0
- **来源摘要:** Library and CLI tool to analyse CloudFormation templates for security issues
- **主页:** <https://cfripper.readthedocs.io>
- **最后更新:** 2026-07-01T15:27:38Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cfripper (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

CFRipper is a Skyscanner library and CLI for analyzing AWS CloudFormation templates for security and compliance issues. The official README describes it as a way to prevent deploying insecure AWS resources and to add custom compliance plugins.

### 项目历史

The official GitHub repository was created in July 2018. Its documentation presents CFRipper as both a library and command-line analyzer, with examples for scanning CloudFormation YAML or JSON templates, resolving references, emitting text or JSON output, and loading custom rule configuration.

The project sits in the CloudFormation security-analysis niche rather than the general linting niche: its examples focus on wildcard principals, overprivileged IAM roles, monitored issues, and compliance rule customization.

### 采用历史

Official documentation is published on Read the Docs, the README advertises PyPI and Homebrew badges, and the package metadata in this batch shows Homebrew and Nix packaging.

CFRipper's adoption is tied to security review workflows for CloudFormation templates: it is useful before deployment, in CI, or as a library embedded in custom cloud-governance checks.

### 使用方式

The README documents running `cfripper` against one or more CloudFormation templates, choosing `txt` or `json` output, using `--resolve`, writing results with `--output-folder`, and passing custom rules config or rules filter folders.

The official docs show rules config files as command inputs rather than a fixed application config location, so `config-file-location` remains null. No official credential file location is documented for the CLI.

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

CFRipper is notable because it packages cloud-security review into an ordinary CLI: a repository can add it to pre-deploy checks without first building an internal CloudFormation parser and IAM rule engine.

It also shows the common packaging path for Python security tools: library plus CLI, PyPI first, then Homebrew or Nix for operators who want a standalone command.

### 时间线

- 2018: The Skyscanner/cfripper repository is created on GitHub.
- 2018: The project documents CloudFormation security analysis and custom compliance plugins.
- 2026: The repository and Read the Docs site remain the official documentation surfaces.

### Related projects

- AWS CloudFormation templates are the artifacts CFRipper analyzes.
- IAM policy and principal rules are central to the README examples.
- cfn-lint is an adjacent CloudFormation validation tool, while CFRipper focuses on security and compliance rules.

### 来源

- <https://api.github.com/repos/Skyscanner/cfripper>
- <https://github.com/Skyscanner/cfripper>
- <https://cfripper.readthedocs.io>
- <https://cfripper.readthedocs.io/>
- <https://formulae.brew.sh/api/formula/cfripper.json>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal

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

- Nix - cfripper: normalized package name match | nixpkgs package indexes: pkgs/by-name/cf/cfripper/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cfripper.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cfripper.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
