Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 bubblewrap

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bubblewrap

local Homebrew formula metadata

Linux

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

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

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

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

Fedora dnf已验证 · 92%
sudo dnf install bubblewrap

Fedora Rawhide package metadata · bubblewrap · 来源: dl.fedoraproject.org

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S bubblewrap

Arch Linux sync databases · bubblewrap · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install bubblewrap

openSUSE Tumbleweed package metadata · bubblewrap · 来源: download.opensuse.org

概览

软件包摘要

Unprivileged sandboxing tool for Linux

命令和别名

  • bwrap

历史

项目历史与用法

bubblewrap is a low-level Linux sandboxing tool that constructs restricted process environments with namespaces, bind mounts, seccomp, and related kernel features. It is best known as the small, auditable sandbox primitive used by Flatpak and similar desktop/container tools.

项目历史

The bubblewrap README positions it against system-administrator container runtimes such as Docker and systemd-nspawn: those tools are not suitable to hand directly to unprivileged users, while bubblewrap is designed around unprivileged sandbox construction.

The original code predates modern unprivileged user namespaces and inherits from xdg-app helper code, which in turn derives from linux-user-chroot. Older bubblewrap also supported a setuid mode for systems without unprivileged user namespaces, but the README notes that setuid support has been removed.

The public GitHub repository was created in February 2016. The repository description identifies bubblewrap as a low-level unprivileged sandboxing tool used by Flatpak and similar projects, with topics for Linux containers and user namespaces.

采用历史

bubblewrap spread because Flatpak and related desktop sandboxing systems needed a small shared primitive instead of each project carrying its own privileged helper. The README lists Flatpak, rpm-ostree unprivileged, and bwrap-oci as users or intended users.

The input package metadata shows broad Linux distribution packaging through Alpine, Debian, Fedora/dnf, Nix, Arch/pacman, Ubuntu, and openSUSE/zypper, plus Homebrew. That breadth reflects its role as plumbing for sandbox frameworks rather than as an end-user application.

Security-sensitive adoption is cautious: bubblewrap constructs a sandbox, but the actual security boundary depends on the arguments supplied by the caller. This makes it attractive for larger frameworks that own policy and want a narrow mechanism.

使用方式

bwrap creates a new mount namespace whose root is an empty tmpfs, then command-line options bind selected host paths, create proc/dev views, unshare namespaces, apply seccomp filters, and run a command inside the resulting environment.

Typical direct use is scripting a constrained shell or process; typical indirect use is through Flatpak or another framework that assembles a policy-specific bwrap command. The project has no ordinary per-user config file or credentials store.

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

bubblewrap is package-manager-significant because a small CLI becomes part of the desktop Linux trust base. Its package version, setuid/user-namespace behavior, CVE history, and distribution kernel defaults can affect whether higher-level sandboxing stacks actually work.

It is also a clean example of separating mechanism from policy: package the tiny sandbox constructor once, let Flatpak and peers define the higher-level sandbox rules.

时间线

  • Pre-2016: Code lineage passes through linux-user-chroot and xdg-app helper.
  • 2016: Public GitHub repository for bubblewrap is created.
  • 2010s: bubblewrap becomes associated with Flatpak-style application sandboxing.
  • 2020s: setuid mode is removed; user namespaces are the documented sandbox basis.
  • 2026: Tags include v0.11.x, showing continuing maintenance.

Related projects

  • Flatpak is the most prominent higher-level application sandbox stack using bubblewrap.
  • xdg-app helper is part of bubblewrap's code lineage.
  • linux-user-chroot is an older related sandbox/chroot tool in the lineage.
  • Firejail is a comparable desktop sandboxing project discussed in the bubblewrap README.
  • xdg-dbus-proxy is commonly paired with bubblewrap to mediate D-Bus access.

安全态势

风险级别:绿色

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 元数据适用于 2 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 5 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/containers/bubblewrap

安装元数据

软件包元数据

软件包键brew:bubblewrap
版本0.11.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bubblewrap
主页https://github.com/containers/bubblewrap
仓库https://github.com/containers/bubblewrap
上游文档https://github.com/containers/bubblewrap#readme
许可证LGPL-2.0-or-later
源码归档https://github.com/containers/bubblewrap/releases/download/v0.11.2/bubblewrap-0.11.2.tar.xz
最后更新2026-06-11T17:22:39Z
Pulseupdated
依赖libcap
构建依赖docbook-xsl, libxslt, meson, ninja, pkgconf
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

bubblewrap 0.11.0-2+deb13u1

utility for unprivileged chroot and namespace manipulation

https://github.com/containers/bubblewrap

sudo apt install bubblewrap
  • Section: admin
  • Architecture: amd64
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bubblewrap
Debian stable package indexes · deb.debian.org · Debian stable package indexes: bubblewrap from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

bubblewrap

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

bubblewrap 0.9.0-1build1

utility for unprivileged chroot and namespace manipulation

https://github.com/containers/bubblewrap

sudo apt install bubblewrap
  • Section: admin
  • Architecture: amd64
  • 3 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Bubblewrap
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: bubblewrap from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

bubblewrap 0.11.2-r0

Unprivileged sandboxing tool

https://github.com/containers/bubblewrap

sudo apk add bubblewrap
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bubblewrap
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bubblewrap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bubblewrap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bubblewrap-bash-completion 0.11.2-r0

Bash completions for bubblewrap

https://github.com/containers/bubblewrap

sudo apk add bubblewrap-bash-completion
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bubblewrap
  • normalized package name match
  • 匹配方式:Bubblewrap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bubblewrap-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bubblewrap-doc 0.11.2-r0

Unprivileged sandboxing tool (documentation)

https://github.com/containers/bubblewrap

sudo apk add bubblewrap-doc
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bubblewrap
  • normalized package name match
  • 匹配方式:Bubblewrap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bubblewrap-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bubblewrap-static 0.11.2-r0

Unprivileged sandboxing tool (static binary)

https://github.com/containers/bubblewrap

sudo apk add bubblewrap-static
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bubblewrap
  • 1 提供
  • normalized package name match
  • 匹配方式:Bubblewrap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bubblewrap-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

bubblewrap-zsh-completion 0.11.2-r0

Zsh completions for bubblewrap

https://github.com/containers/bubblewrap

sudo apk add bubblewrap-zsh-completion
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bubblewrap
  • normalized package name match
  • 匹配方式:Bubblewrap
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bubblewrap-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

bubblewrap 0.11.0-4.fc44

Core execution tool for unprivileged containers

https://github.com/containers/bubblewrap/

sudo dnf install bubblewrap
  • License: LGPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bubblewrap
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bubblewrap
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bubblewrap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

bubblewrap 0.11.2-1

Unprivileged sandboxing tool

https://github.com/containers/bubblewrap

sudo pacman -S bubblewrap
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Bubblewrap
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bubblewrap from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

bubblewrap 0.11.2-1.1

Core execution tool for unprivileged containers

https://github.com/containers/bubblewrap

sudo zypper install bubblewrap
  • License: LGPL-2.0-or-later
  • Category: Productivity/Security
  • Architecture: x86_64
  • Source Package: bubblewrap
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Bubblewrap
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bubblewrap from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

bubblewrap-zsh-completion 0.11.2-1.1

Zsh tab-completion for bubblewrap

https://github.com/containers/bubblewrap

sudo zypper install bubblewrap-zsh-completion
  • License: LGPL-2.0-or-later
  • Category: System/Shells
  • Architecture: x86_64
  • Source Package: bubblewrap
  • 1 提供
  • normalized package name match
  • 匹配方式:Bubblewrap
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bubblewrap-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

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