macOS
brew install kcgilocal Homebrew formula metadata
brew / 順位 11600
kcgi のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install kcgilocal Homebrew formula metadata
sudo apk add kcgiAlpine Linux edge package indexes · kcgi · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#kcginixpkgs package indexes · pkgs/by-name/kc/kcgi/package.nix · ソース: api.github.com
概要
Minimal CGI and FastCGI library for C/C++
履歴
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.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
kfcgi | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:kcgi |
|---|---|
| バージョン | 1.0.1 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://kristaps.bsd.lv/kcgi/ |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
kcgi
nix profile install nixpkgs#kcgikcgi 1.0.1-r0
CGI and FastCGI library for C/C++ web applications
sudo apk add kcgikcgi-dev 1.0.1-r0
CGI and FastCGI library for C/C++ web applications (development files)
sudo apk add kcgi-devkcgi-doc 1.0.1-r0
CGI and FastCGI library for C/C++ web applications (documentation)
sudo apk add kcgi-dockcgi-static 1.0.1-r0
CGI and FastCGI library for C/C++ web applications (static library)
sudo apk add kcgi-staticソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.