# 使用 Homebrew 安装 copa

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install copa
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:copa
- **软件包管理器:** Homebrew
- **版本:** 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>
- **最后更新:** 2026-07-27T22:04:04+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- copa (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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


## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
