All projects
Zero Trust · 2026
gatekeep
An identity-aware reverse proxy in Go, BeyondCorp style: every request is authorised on who is calling, from what device and what they are asking for.
Approach
gatekeep sits in front of internal web apps. It authenticates users with OpenID Connect (authorization code + PKCE) and validates ID tokens strictly against a rotating JWKS, then keeps the session in an AES-256-GCM encrypted, purpose-bound cookie.
A posture agent signs short-lived device assertions bound to the browser session. Each route's CEL policy decides over identity, device and request attributes with deny-overrides and fail-closed semantics, and only allowed requests are forwarded, with a signed identity assertion for the upstream.
Highlights
- Hash-chained JSON audit record for every decision
- Replay protection, stale-posture handling and server-side session revocation
- Ships with a minimal OIDC provider and an offline end-to-end demo
- 91.3% core coverage; ~62 µs per authorised request in benchmarks