# 使用 Homebrew 安装 copa

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

## 安装

```sh
sudo av install brew:copa
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install copa
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:copa
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/copa>
- **版本:** 0.14.2
- **来源摘要:** Tool to directly patch container images given the vulnerability scanning results
- **主页:** <https://project-copacetic.github.io/copacetic/>
- **仓库:** <https://github.com/project-copacetic/copacetic>
- **上游文档:** <https://project-copacetic.github.io/copacetic/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/project-copacetic/copacetic/archive/refs/tags/v0.14.2.tar.gz>
- **最后更新:** 2026-07-27T22:04:04+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- copa (cli)
- copa (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.14.2
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/project-copacetic/copacetic
- 检测到的最新版本: v0.14.2 (当前)
## 项目历史与用法

Copa is the CLI for Project Copacetic, a Go and BuildKit-based tool for patching vulnerable container images without doing a full image rebuild.

### 项目历史

The official repository was created in January 2023 and released v0.1.0 the next day. The project developed around direct vulnerability patching: adding a patch layer to existing images based on scanner output rather than forcing users to rebuild from source.

### 采用历史

The official site identifies Copacetic as a CNCF Sandbox project and lists ecosystem adoption by Azure Container Registry Continuous Patching, Kubescape, Devtron, and Helmper. It also documents featured talks at KubeCon North America 2024 and OpenSSF SOSS Fusion Conference 2024.

### 使用方式

Copa is commonly used in CI/CD and image-maintenance workflows. It consumes vulnerability scanning results, has built-in Trivy support, supports third-party scanners, and patches images across multiple Linux package-manager families and platforms.

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

For package and container maintainers, Copa sits at the boundary between OS package updates and container distribution. It is interesting because it turns package-manager-level remediation into a post-build image operation, which can reduce rebuild churn for downstream image consumers.

### 时间线

- 2023: Official GitHub repository created.
- 2023: v0.1.0 released.
- 2024: Project featured in KubeCon and OpenSSF talks listed by the official site.
- 2026: Official site lists Copacetic as a CNCF Sandbox project.

### Related projects

- Official documentation connects Copa with BuildKit, Trivy, Azure Container Registry Continuous Patching, Kubescape, Devtron, and Helmper.

### 来源

- <https://project-copacetic.github.io/copacetic/website/>
- <https://github.com/project-copacetic/copacetic>
- <https://github.com/project-copacetic/copacetic/releases>
- <https://api.github.com/repos/project-copacetic/copacetic>


## 安全说明

infrastructure mutation or orchestration signal.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** copa
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [clair](https://pkg.so/zh-hans/brew/clair/) - Shares pkgdb curated category or tags: cli, containers, security, vulnerability-scanning.
- [scrutineer](https://pkg.so/zh-hans/brew/scrutineer/) - Shares pkgdb curated category or tags: cli, containers, security, vulnerability-scanning.
- [bubblewrap](https://pkg.so/zh-hans/brew/bubblewrap/) - Shares pkgdb curated category or tags: cli, containers, security.
- [syft](https://pkg.so/zh-hans/brew/syft/) - Shares pkgdb curated category or tags: cli, containers, security.
- [grype](https://pkg.so/zh-hans/brew/grype/) - Shares pkgdb curated category or tags: cli, containers, security.
- [snyk-cli](https://pkg.so/zh-hans/brew/snyk-cli/) - Shares pkgdb curated category or tags: cli, security, vulnerability-scanning.
- [dependency-check](https://pkg.so/zh-hans/brew/dependency-check/) - Shares pkgdb curated category or tags: cli, security, vulnerability-scanning.
- [testssl](https://pkg.so/zh-hans/brew/testssl/) - Shares pkgdb curated category or tags: cli, security, vulnerability-scanning.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
