# Hyperion: Let it run.

Your agent calls real APIs holding **fake keys**. The real ones go on the wire outside the agent. Repo deletes, `DROP TABLE`, anything your policy names **freezes mid-flight** until you approve it.

Hyperion is one Rust binary that runs on your machine. It works with Claude Code, Codex, OpenCode, `gh`, `curl` and `psql`, unmodified. Current release: **v0.3.0**.

## Install

```bash
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/aetosdios27/hyperion/main/scripts/install.sh | sh
# or: brew install aetosdios27/tap/hyperion
```

```powershell
# Windows (PowerShell)
irm https://raw.githubusercontent.com/aetosdios27/hyperion/main/scripts/install.ps1 | iex
```

## Run

```bash
hyp claude                    # no .env changes
hyp run --strict -- claude    # the agent can't read the vault or route around the proxy
hyp docker run --lease-scope github:read -- --rm alpine curl -s https://api.github.com/user
```

## Hiding the key is half the job

A proxy that swaps in your real token will swap it straight into `DELETE /repos/acme/prod`. Hyperion holds that exact request, unsent, until you decide.

- **Ghost Credentials:** the agent sees `GH_TOKEN=HYP_GHOST_GITHUB_TOKEN`. The real key is swapped in on the wire, only for its own host, over HTTP, HTTPS, WebSocket and HTTP Basic auth, and scrubbed out of every response in every common encoding.
- **Freeze-and-Escalate:** policy-matched requests wait in flight. Approve, deny, edit or allow for session from your terminal, tmux, the dashboard, a `--tunnel` link or Slack. The agent cannot approve itself: `hyp mcp` is notify-only.
- **Protocol guards:** Ghost Postgres and Ghost Redis freeze destructive statements; the AWS broker re-signs SigV4; the ssh-agent gate holds signatures for unknown hosts; force-pushes to `main` freeze.
- **`--strict`:** Linux Landlock + namespaces + seccomp, or macOS Seatbelt. In default mode a same-user process can still read your files; `--strict` makes that a wall.

## We tried to break it

21 red-team findings fixed in v0.3.0. 12 fuzz targets. 6 Kani model-checking harnesses as a CI gate. `cargo-deny` on every PR. SLSA build provenance on every release archive.

## Known limits

- Custom request signing other than AWS SigV4
- Raw TCP/UDP other than Postgres, Redis and ssh-agent
- Default mode does not stop a same-user agent from reading local files (use `--strict`)
- Clients with hard-coded certificate pins
- `--strict` fails closed on Windows (use WSL 2)

## Links

- Machine-readable index: [`/llms.txt`](./llms.txt)
- Full agent reference: [`/llms-full.txt`](./llms-full.txt)
- GitHub: https://github.com/aetosdios27/hyperion
- Releases: https://github.com/aetosdios27/hyperion/releases
- Security: https://github.com/aetosdios27/hyperion/blob/main/SECURITY.md
