appjail¶
AppImages from sources you name, pinned by hash, each in its own jail.
appjail installs and runs AppImages on Linux and treats every one of them as untrusted software. You name where an app comes from (a GitHub repository, a URL or a file); appjail downloads it in a sandbox, pins it by its hash, records what evidence there is about who built it, and runs it in a bubblewrap sandbox of its own (a jail) that starts with nothing but a window. Everything else, from sound to a folder of your documents, is a permission you grant and can read back. It works in user mode (no root), on Wayland desktops, with X11-only apps through a private Xwayland.
Young software
appjail has had no external security review. Read the problem for what it does not protect against before relying on it.
Two lines of defence¶
An AppImage is a program you run with your own privileges: it can read your files, watch your other windows and talk to every service of your session. appjail answers with two defences, each built on the assumption that the other can fail:
Provenance. The source is the one you name, never one the software suggests. The downloaded bytes are pinned by their SHA-256 hash and checked again before every start. The evidence about who published them (a build attestation, the publisher's digest, or only "first seen") is recorded as an evidence tier that is never lowered silently. A new version waits in quarantine and is shown to you as a difference before it replaces the old one.
Containment. Every step that touches the untrusted bytes runs in a jail with only the access that step needs: the
download has a network (a private one, with passt installed) and no file of yours, the extraction has neither network nor anything outside its work directory,
and the app itself gets a private home, a read-only system and a window. What it may reach beyond that is written in
its manifest, and a permission appjail cannot enforce is refused rather than ignored.
Where to go next¶
| You want to | Read |
|---|---|
| Install appjail and a first app | Getting started |
| Understand why appjail is built this way | The problem, then the principles |
| See how an app is fetched and checked | Acquisition |
| See how an app is isolated | Isolation |
| See what an app can reach of your desktop | Desktop access |
| Know how updates are checked | Updates |
| Know where search results come from | Catalog |
| Give an app access to something | Permissions |
| Know why a choice was made | Decisions |
| Look up a command or a permission | Commands, permissions |
| Fix a problem | Troubleshooting |
| Work on appjail | Architecture |
The source code, issues and releases are on GitHub; appjail is published on PyPI under the MPL-2.0.