Skip to main content

appjail logo

appjail

PyPI Python CI License: MPL-2.0 REUSE

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.

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, GPU, 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, 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.

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).

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 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.
  • 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.
  • 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.6.0

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.6.0
File Size Uploaded Provenance Actions
appjail-0.6.0.tar.gz 143.9 kB With provenance Details for appjail-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 318.1 kB

Release files / appjail-0.6.0.tar.gz

Download URL appjail-0.6.0.tar.gz
Size 143.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9a96bea02a6312228928f0856a9e599df256d37d91413a4a524ef03cacd922ec
BLAKE2b-256 checksum
How to use checksums
706e890fca8594b2b40b2becb41bff84bf83fcf19acc760cb419f9c0d3197605
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 15, 2026.

Transparency log

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

Download URL appjail-0.6.0-py3-none-any.whl
Size 174.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a8610ddda5d8f048c53da1750b4306ede9c2aa752b7bd5f32e6e071a3583da9
BLAKE2b-256 checksum
How to use checksums
c3d1d5ca8a64aafc9dea5dfca02085aef7c5aa6be722227ccfb3bd209ef65bf1
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 15, 2026.

Transparency log

Security for appjail 0.6.0

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.6.0.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 15, 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