Skip to main content

appjail logo

appjail

PyPI Python CI License: MPL-2.0 REUSE Docs

A small command-line manager for AppImages that runs every app inside a bubblewrap sandbox. It works in user mode (no sudo), supports GUI apps on Wayland (and X11-only apps through a private Xwayland), and treats the software you install as untrusted.

The appjail window: installed apps with their icons, the selected app's grants and its actions The same window in the dark palette Adding an app: the source, the permissions and the access it gets Editing an app's permissions

The optional window, appjail-gui: every action runs the same command as the terminal, which reviews and asks before anything changes. The apps shown are examples.

appjail is young software: read the limits before relying on it.

Documentation: https://alberto743.github.io/appjail/

Why

The usual way to use an AppImage is to download it and run it with your full privileges, and most tools that manage AppImages do the same. appjail is built around the opposite assumptions:

  • Nothing from the network is executed. An app is a small TOML manifest: source, pinned hash, permissions. appjail runs no install scripts and does not update itself.
  • You name the source. A GitHub owner/repo, an AppImage URL or a file; nothing the software says can change it.
  • Downloads and extraction are jailed, each step with only the access it needs.
  • Nothing is granted by default. An app starts with a private home and a window; sound, microphone, GPU, camera, network, folders, D-Bus names and portals are permissions you grant and can read back.
  • Updates are reviewed. A new release waits in quarantine (7 days by default), is shown as a difference, and is blocked if its evidence gets weaker or the repository changes owner.

Why each of these, and how it works: Understanding appjail.

Requirements

Linux on x86-64 (Debian 13, Ubuntu 26.04 or Fedora 45, or later), Python 3.12 or later, bubblewrap 0.10 or later, a Wayland desktop for apps with a window. On Debian or Ubuntu:

sudo apt install bubblewrap squashfs-tools passt xdg-dbus-proxy xwayland openbox git \
    librsvg2-bin libgtk-3-bin desktop-file-utils dbus-bin libnotify-bin

On Fedora:

sudo dnf install bubblewrap squashfs-tools passt xdg-dbus-proxy xorg-x11-server-Xwayland openbox git \
    librsvg2-tools gtk-update-icon-cache desktop-file-utils dbus-tools libnotify

What each package is for: Getting started.

Install

pipx install appjail        # or: pip install --user appjail

appjail has no Python dependencies and never updates itself: upgrade with pipx upgrade appjail after reading what changed (release notes).

Quick start

appjail add skyjake/lagrange     # review the repository, pick the asset, download, pin, extract
appjail run lagrange             # run it in its jail
appjail perms lagrange --allow network   # grant more than a window
appjail list                     # installed apps and their evidence tiers
appjail update                   # check every app for a newer release
appjail remove lagrange          # delete the app and its private home

appjail-gui opens a window with the same commands (needs python3-tk, python3-tkinter on Fedora).

Read For
Guide installing apps, permissions, files, D-Bus and portals, updates, search, troubleshooting
Reference every command, option, permission and file
Understanding appjail the threat model, the principles and every mechanism, with references
Decisions why each choice was made, and related projects
Development the code, the tests and how to contribute

Limits

  • Not audited. bubblewrap and the Linux kernel do the isolation; appjail configures them conservatively but has had no external review.
  • The Wayland socket is only as restricted as the compositor makes it. appjail refuses an app whose socket offers privileged interfaces, unless you accept that per app; on KDE Plasma and Cinnamon 6.8 that is every app for now.
  • Evidence proves "unchanged", not "safe". A publisher who ships malware from the start passes every check; containment is what limits it.
  • An app sees your system's programs and libraries. The host's /usr and /lib* are bound read-only: an app can list the installed software and library versions and run any program there, inside its jail. There is no runtime to hide them.
  • A grant widens what a compromised app can do. An app with network reaches your LAN; a granted D-Bus name of an unknown service reaches everything its owner serves.
  • Links reach an app only through a relay you opt into. There is no reply from it, so a link the app ignores is not reported, and a file cannot be handed to an app that is already running.
  • Releases are resolved on GitHub only; x86-64 only.

The complete list is on each mechanism's page; see The problem. To report a vulnerability, see SECURITY.md.

License

MPL-2.0. The repository follows the REUSE specification.

Metadata

Release files for appjail 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for appjail 0.7.2
File Size Uploaded Provenance Actions
appjail-0.7.2.tar.gz 186.4 kB With provenance Details for appjail-0.7.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for appjail 0.7.2
File Interpreter ABI Platform Actions
appjail-0.7.2-py3-none-any.whl Python 3 none any Details for appjail-0.7.2-py3-none-any.whl

Total release size: 407.5 kB

Release files / appjail-0.7.2.tar.gz

Download URL appjail-0.7.2.tar.gz
Size 186.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8019a1369ea5a9c14153e78b59a813be1d1e3fa174ab5d89767b95e3bd1afb59
BLAKE2b-256 checksum
How to use checksums
7a9dec93a3fa79f3d109b503910ca42288e585ee39b2e7e2299520e11379eb9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / appjail-0.7.2-py3-none-any.whl

Download URL appjail-0.7.2-py3-none-any.whl
Size 221.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0606ad1c735064aa1b0811c67c5cfd146c64254df2df1da77bb8565f6d404c5
BLAKE2b-256 checksum
How to use checksums
db8b1c68690d6b05bae3d849e38735e907be4471d40d3261453f06da5650ebf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for appjail 0.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for appjail-0.7.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page