Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts 安装 cdebug

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cdebug

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install cdebug

MacPorts ports tree · sysutils/cdebug/Portfile · 来源: api.github.com

概览

软件包摘要

Swiss army knife of container debugging

命令和别名

  • cdebug

历史

项目历史与用法

cdebug is a Go-based command-line tool for debugging containers and Kubernetes pods, especially slim, scratch, and distroless images that do not include a shell or troubleshooting tools.

项目历史

The upstream README calls cdebug a 'swiss army knife of container debugging' and documents commands for exec-style debugging, local port forwarding, and exporting or inspecting container filesystems. Its exec workflow is explicitly based on ideas from the iximiuz article about debugging slim Docker containers.

The GitHub releases begin with v0.0.1 on 2022-11-06 and continue through v0.0.19 on 2026-01-18, showing an active small-tool release history around container debugging workflows.

采用历史

cdebug entered package-manager culture as a modern container-debugging utility rather than a classic Unix tool. The Homebrew input records Homebrew and MacPorts packaging, and the upstream README documents Homebrew installation for macOS and Linux.

使用方式

Users run cdebug exec against Docker, containerd, nerdctl, or Kubernetes targets to start a temporary debugging sidecar whose tools are available in the target container's filesystem view. The README also documents cdebug port-forward for exposing unpublished or localhost-only container ports.

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

cdebug is notable because it packages a container namespace trick into a single statically linked binary. It sits in the practical space between docker exec, kubectl debug, nsenter-style debugging, and ad hoc sidecar containers, which makes it attractive to operators dealing with minimal images.

时间线

  • 2022-11-06: v0.0.1 and v0.0.2 published.
  • 2022-12: v0.0.4 through v0.0.6 published.
  • 2023: Multiple releases through v0.0.14.
  • 2024: v0.0.15 through v0.0.18 published.
  • 2026-01-18: v0.0.19 published.

Related projects

  • The upstream README frames cdebug exec as a cross between docker exec and kubectl debug, and points to Nixery as a way to build custom debugging images.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:container

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cdebugcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.0.19
管理器更新时间2026-06-15
本地数据OK
上游当前
检测到的最新版本v0.0.19

https://github.com/iximiuz/cdebug

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:cdebug
版本0.0.19
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cdebug
主页https://iximiuz.com/en/posts/docker-debug-slim-containers/
仓库https://github.com/iximiuz/cdebug
上游文档https://github.com/iximiuz/cdebug#readme
许可证Apache-2.0
源码归档https://github.com/iximiuz/cdebug/archive/refs/tags/v0.0.19.tar.gz
最后更新2026-06-15T10:20:12-04:00
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecdebug
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

cdebug

sudo port install cdebug
  • normalized package name match
  • 匹配方式:Cdebug
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/cdebug/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment