Automic VaultAutomic Vault

brew

使用 Homebrew, apt, MacPorts 安装 jailkit

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install jailkit

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install jailkit

MacPorts ports tree · security/jailkit/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install jailkit

Debian stable package indexes · jailkit · 来源: deb.debian.org

概览

软件包摘要

Utilities to create limited user accounts in a chroot jail

命令和别名

  • jk_check
  • jk_chrootlaunch
  • jk_chrootsh
  • jk_cp
  • jk_init
  • jk_jailuser
  • jk_list
  • jk_lsh
  • jk_socketd
  • jk_uchroot
  • jk_update

历史

项目历史与用法

Jailkit is a Unix security toolkit for creating and maintaining chroot jails for users, shells, and daemons. It is an older, conservative package whose value is automation around a risky primitive: `chroot`.

项目历史

The project page and man page credit Olivier Sessink and carry copyright years beginning in 2003. Jailkit was built to automate repeated chroot setup tasks, including copying binaries and libraries into a jail, limiting commands through a restricted shell, checking jail integrity, and forwarding logs from inside a jail.

The project has stayed intentionally narrow. The homepage emphasizes stable, security-focused behavior: utilities abort when configuration or environment checks are not secure, and syslog messages explain what failed. Maintenance releases in 2019 and 2021 focused on Python 3 compatibility, `jk_update`, `jk_init`, and man-page cleanup rather than broad feature expansion.

采用历史

The homepage states that Jailkit is used in network security appliances, large enterprise and ISP internet servers, smaller companies, and private deployments for securing CVS, SFTP, shell, and daemon processes. Homebrew API data available during this enrichment recorded 142 installs over 365 days, which matches a specialized system-administration tool with long tail usage.

使用方式

Administrators use Jailkit to initialize a jail, copy only the commands and libraries needed for a task, move users into the jail, restrict allowed commands through `jk_lsh`, and check common jail security mistakes with `jk_check`. The man page stresses that writable system directories, setuid programs, and root privileges inside a jail can defeat the intended isolation.

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

Jailkit matters to package nerds because it packages institutional Unix hardening lore into named commands: `jk_init`, `jk_cp`, `jk_chrootsh`, `jk_lsh`, `jk_jailuser`, `jk_check`, and friends. It is not glamorous, but it turns chroot from a hand-built directory-tree ritual into repeatable system administration.

时间线

  • 2003: Project copyright and man-page history begin under Olivier Sessink.
  • 2019: Jailkit 2.21 added full Python 3 compatibility and removed the long-deprecated `jk_addjailuser` utility.
  • 2021: Jailkit 2.22 fixed Python 3 compatibility in `jk_update` and improved `jk_init.ini` defaults.
  • 2021: Jailkit 2.23 fixed `jk_init` edge cases and cleaned up man-page locations.
  • 2026: The project page documented non-exposure to CVE-2026-23268/CVE-2026-23269 because Jailkit exits when required system calls fail or are not permitted.

Related projects

  • Jailkit is related to the Unix `chroot(2)` facility, OpenSSH restricted SFTP setups, limited shells, rsync/scp/CVS jail deployments, and OS-level isolation mechanisms. Unlike containers, its focus is small, explicit filesystem jails for accounts and daemons.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
/etc/jailkit/JAIL/etc/jailkit/

可执行文件

已安装的可执行文件

命令类型暴露范围备注
jk_checkcli全局可执行文件
jk_chrootlaunchcli全局可执行文件
jk_chrootshcli全局可执行文件
jk_cpcli全局可执行文件
jk_initcli全局可执行文件
jk_jailusercli全局可执行文件
jk_listcli全局可执行文件
jk_lshcli全局可执行文件
jk_socketdcli全局可执行文件
jk_uchrootcli全局可执行文件
jk_updatecli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://olivier.sessink.nl/jailkit/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://olivier.sessink.nl/jailkit/none 置信度

安装元数据

软件包元数据

软件包键brew:jailkit
版本2.23
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/jailkit
主页https://olivier.sessink.nl/jailkit/
仓库https://cvs.savannah.nongnu.org/viewvc/jailkit
上游文档https://olivier.sessink.nl/jailkit
许可证BSD-3-Clause AND LGPL-2.0-or-later
源码归档https://olivier.sessink.nl/jailkit/jailkit-2.23.tar.bz2
依赖python@3.14
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

jailkit 2.23-2+b1

tools to generate chroot jails easily

https://olivier.sessink.nl/jailkit/

sudo apt install jailkit
  • Section: utils
  • Architecture: amd64
  • Source Package: jailkit
  • 2 依赖
  • normalized package name match
  • 匹配方式:Jailkit
Debian stable package indexes · deb.debian.org · Debian stable package indexes: jailkit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

jailkit 2.23-2

tools to generate chroot jails easily

https://olivier.sessink.nl/jailkit/

sudo apt install jailkit
  • Section: universe/utils
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Jailkit
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: jailkit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

jailkit

sudo port install jailkit
  • normalized package name match
  • 匹配方式:Jailkit
MacPorts ports tree · api.github.com · MacPorts ports tree: security/jailkit/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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment