Security/GitHub/Framework
capchain
by waheebedrees·Last observed 2026-10-26
★ 1 stars⑂ 0 forks
capchain is a capability-chain primitive for machine-to-machine authorization. A gateway validates append-only Ed25519-signed token blocks, binds them to the presenting workload over mTLS, checks request scope and budget, then records evidence before allowing side effects.
Useful for
- Authorize an LLM inference request by checking its token, proof of possession, scope and budget before invoking the tool.
Key features
- The gateway checks chain scope and budget, binds authorization to the workload’s mTLS connection, and records admits and denials in an evidence log.
Requirements & limitations
- The application supplies TLS sockets; the default peer identity requires an `ssl.SSLSocket` in `CERT_REQUIRED` mode.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.