Automic VaultAutomic Vault

brew

使用 Homebrew, apk, Nix 安装 kcgi

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install kcgi

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add kcgi

Alpine Linux edge package indexes · kcgi · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#kcgi

nixpkgs package indexes · pkgs/by-name/kc/kcgi/package.nix · 来源: api.github.com

概览

软件包摘要

Minimal CGI and FastCGI library for C/C++

命令和别名

  • kfcgi

历史

项目历史与用法

kcgi is Kristaps Dzonsons's minimal CGI and FastCGI library for C and C++ web applications. Its canonical site emphasizes security, auditability, and use in the BCHS stack.

项目历史

The public GitHub repository was created in January 2016, while the project site serves as the canonical release and documentation surface. kcgi grew around a conservative C web-programming model: parse CGI/FastCGI requests, validate inputs, produce HTTP output, and keep the untrusted request path small enough to audit.

The release archive shows a long 0.x series before 1.0.0 on November 10, 2025. Notable evolution includes bearer-token validation in 2021, seccomp maintenance changes in 2021, asynchronous FastCGI descriptor support in 2023, CORS header support in 2024, and fetch metadata/Priority header support in the 1.0.0 release.

采用历史

The official installation page names system packages for OpenBSD, FreeBSD, Homebrew, Arch Linux, and other systems. The batch input also records Alpine, Homebrew, and Nix packages, reflecting its niche but durable role in BSD-flavored C web stacks.

使用方式

kcgi is used as a C/C++ library rather than primarily as a standalone command. The documentation centers on CGI and FastCGI request parsing, HTTP headers and bodies, typed input validation, formatted writers for JSON/XML/HTML output, compression, authentication helpers, and sandboxing or process separation for untrusted input.

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

kcgi is interesting to package nerds because it preserves a small-C, manpage-first, BSD-style approach to web development while still being packaged for modern Unix systems. Its release archive is unusually explicit about ABI, platform, and security tradeoffs.

时间线

  • 2016-01-20: GitHub repository created.
  • 2021-05-08: 0.12.5 added bearer-token authorization support.
  • 2021-09-23: 0.13.0 changed Linux seccomp defaults.
  • 2023-11-19: 0.13.1 added asynchronous FastCGI descriptor support.
  • 2025-11-10: 1.0.0 release published.
  • 2025-11-17: 1.0.1 hot-fix release published.

Related projects

  • The project site groups kcgi with the BCHS-oriented BSD.lv tools sqlbox and openradtool, and its README notes development primarily on OpenBSD.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-07-25
管理器版本1.0.1
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://kristaps.bsd.lv/kcgi/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://kristaps.bsd.lv/kcgi/none 置信度

安装元数据

软件包元数据

软件包键brew:kcgi
版本1.0.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/kcgi
主页https://kristaps.bsd.lv/kcgi/
仓库https://github.com/kristapsdz/kcgi
上游文档https://kristaps.bsd.lv/kcgi
许可证ISC
源码归档https://kristaps.bsd.lv/kcgi/snapshots/kcgi-1.0.1.tgz
构建依赖bmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Nix95%

kcgi

nix profile install nixpkgs#kcgi
  • normalized package name match
  • 匹配方式:Kcgi
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/kc/kcgi/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

kcgi 1.0.1-r0

CGI and FastCGI library for C/C++ web applications

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

kcgi-dev 1.0.1-r0

CGI and FastCGI library for C/C++ web applications (development files)

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi-dev
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

kcgi-doc 1.0.1-r0

CGI and FastCGI library for C/C++ web applications (documentation)

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi-doc
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

kcgi-static 1.0.1-r0

CGI and FastCGI library for C/C++ web applications (static library)

https://kristaps.bsd.lv/kcgi

sudo apk add kcgi-static
  • License: ISC
  • Architecture: x86_64
  • Source Package: kcgi
  • normalized package name match
  • 匹配方式:Kcgi
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: kcgi-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 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