OpsAirlock
Run one command on your VPS (opsairlock install), close SSH forever, and manage AI Agents & contractors from Slack — OS sandboxing, 1-tap approvals, TTL auto-revoke, and local session replay.
100% Glass-Box Trust: Pure Python 3 standard library (
dependencies = []), zero hidden telemetry, and 100% unmodified official Apache-2.0 bastion engine (Warpgate0.30.0). All session recordings and audit logs remain strictly local on your VPS.
Quick Start (Default: Zero-Port Router Mode)
By default, OpsAirlock opens zero inbound ports on your VPS and requires zero firewall or domain setup. The bastion binds strictly to 127.0.0.1:8888 and connects outbound over HTTPS to the OpsAirlock Approval Router:
# Recommended (PEP-668 safe on Ubuntu 24.04 / Debian 12+)
pipx install opsairlock && opsairlock install
# Alternative: zero-dependency shell installer from a cloned repo
./install.sh && opsairlock install
In 60 seconds, opsairlock install initializes the loopback-only bastion, pairs your Slack workspace via 1-click link, and enables opsairlock-daemon.service. Manage everything from Slack:
/airlock grant human --profile deploy --workdir /srv/app --ttl 3h→ Ready-to-share browser Web SSH pass./airlock grant agent --profile readonly --ttl 2h→ Ready-to-pasteuvx --from opsairlock opsairlock-mcpsnippet for Claude Code / Cursor.- High-risk commands pause and pop
[Approve] / [Deny]directly in Slack (or fail closed offline). /airlock audit&/airlock revoke→ 3-second Red/Yellow/Green risk summary + local replay link + instant kill switch.
Choose Your Access Mode (Router Default vs. Self-Hosted Own Port)
By default, OpsAirlock uses Zero-Port Router Mode (includes 3 free grants/month, up to 3 hours per session). If you prefer not to route Web SSH through router.opsairlock.com or want to expose your own domain/port directly, explicitly opt in via CLI flags or ~/.opsairlock/.env.airlock:
Mode (PROXY_MODE) |
VPS Inbound Ports | Best For | What You Need to Configure |
|---|---|---|---|
router (Default) |
None (127.0.0.1:8888 only) |
Fast setup, strict firewalls, Free tier (3 grants/mo) or Pro | Nothing — just run opsairlock install |
caddy (Opt-in) |
TCP 443 (your own Caddy) | Privacy-first teams with their own domain & TLS | Point DNS + add generated Caddyfile.airlock to Caddy + open TCP 443 |
standalone (Opt-in) |
Custom TCP port (e.g. 8080) |
Direct IP access without Caddy or a domain | Open your chosen TCP port in your VPS firewall / security group |
Path 1 — Zero-Port Router Mode (Default, Free 3 Grants/Month)
- Run
opsairlock install(no flags required). - Click the pairing link in your terminal to connect Slack.
- Done — zero inbound ports are opened on your VPS. Free tier includes 3 grants/month (max 3h per session); upgrade to Pro (
$19/mounlimited) or Credit Packs ($9 / 10 grants) anytime at opsairlock.com.
Path 2 — Self-Hosted Own Domain with Caddy (PROXY_MODE=caddy)
Use this if you want contractor Web SSH traffic to terminate directly on your own VPS domain over HTTPS port 443:
- Point a DNS
Arecord (e.g.bastion.yourdomain.com) to your VPS public IP and allow inbound TCP 443 on your firewall. - Run with explicit CLI flags:
opsairlock install --proxy caddy --host bastion.yourdomain.com
(Or pre-configure~/.opsairlock/.env.airlockwithPROXY_MODE=caddyandEXTERNAL_HOST=bastion.yourdomain.com, then runopsairlock install.) - Copy the generated
~/.opsairlock/Caddyfile.airlockblock into/etc/caddy/Caddyfileand reload Caddy (sudo systemctl reload caddy).
Path 3 — Self-Hosted Direct Port (PROXY_MODE=standalone)
Use this if you want direct access on your own VPS port without Caddy:
- Allow your chosen TCP port (e.g.
8080or8899) in your VPS firewall / cloud security group. - Run with explicit CLI flags:
opsairlock install --proxy standalone --port 8080 --host <YOUR_VPS_IP_OR_DOMAIN>
(Or pre-configure~/.opsairlock/.env.airlockwithPROXY_MODE=standalone,EXTERNAL_PORT=8080, andEXTERNAL_HOST=<YOUR_VPS_IP_OR_DOMAIN>, then runopsairlock install.)
How OpsAirlock Compares
| Solution | Best For | Why Teams Pick OpsAirlock Instead |
|---|---|---|
| Teleport / Hoop.dev | Enterprise platform teams | Heavy multi-component clusters; OpsAirlock deploys on a single VPS in 60 seconds |
| ssh-mcp / MCP plugins | Local MCP clients only | No server-side OS sandbox, no contractor browser Web SSH, no session replay |
| Raw SSH / Root Keys | Solo hobby servers | Standing root keys, no sandbox isolation, no kill switch, no audit trail |
| OpsAirlock | 1–50 person SMBs, AI agencies, indie founders | Zero-Port Default • Slack Control Plane • 3 OS Sandbox Profiles • TTL Kill Switch |
Attribution & License
Licensed under the Apache-2.0 License. Powered by the unmodified upstream Warpgate (Apache-2.0) bastion engine. See LICENSE, NOTICE.
Metadata
Release files for opsairlock 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opsairlock-0.2.1.tar.gz | 48.6 kB | With provenance | Details for opsairlock-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opsairlock-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for opsairlock-0.2.1-py3-none-any.whl |
Total release size: 92.3 kB
Release files / opsairlock-0.2.1.tar.gz
| Download URL | opsairlock-0.2.1.tar.gz |
|---|---|
| Size | 48.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
566d6618cf89e2da75b82f27fdc0d3ab3020062b3eb776b414fe0ab2d04baa57
|
|
BLAKE2b-256 checksum How to use checksums |
e7ba9c2f0265bf45bb82d4805c34b1f2532b16f77624111788cf013e15ea2e1d
|
| 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 Dec 4, 2026.
Transparency logRelease files / opsairlock-0.2.1-py3-none-any.whl
| Download URL | opsairlock-0.2.1-py3-none-any.whl |
|---|---|
| Size | 43.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc04a01795806e0e64646dee7aee31d99f2019fe4e86aba862e341ce4be02de2
|
|
BLAKE2b-256 checksum How to use checksums |
09a298ca7c687b5a9ad083fa300bfb1fbee8a8c1017f70ed8bc4de31d6d0419e
|
| 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 Dec 4, 2026.
Transparency logSecurity for opsairlock 0.2.1
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.
Attestation for opsairlock-0.2.1.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 Dec 4, 2026.
Transparency logA 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.