← Back to Home

Security

Sentinel Finance is designed for enterprises that need auditable, tamper-evident spend governance for AI agents.


πŸ”’ Authentication & Access Control

  • Admin sessions β€” HMAC-SHA256 signed, HttpOnly, Secure, SameSite=Strict cookies with 8-hour TTL
  • Agent API keys β€” Peppered SHA-256 hashed keys (sk_live_ prefix), support key rotation
  • RBAC β€” Three roles: Owner, Approver, Auditor with server-side enforcement
  • CSRF protection β€” Origin/Referer validation on all admin endpoints
  • Login lockout β€” Exponential backoff (30s β†’ 15min) after 5 failed attempts per IP+email
  • IP allowlists β€” Per-agent IP restrictions via scopes.allowed_ips

πŸ“‹ Audit Logging

  • Every gate decision, approval, rejection, and payment execution is logged with actor, timestamp, and correlation ID
  • Admin login events (success & failure) are captured with IP and user-agent
  • Agent authentication events tracked in dedicated agent_auth_events table
  • Full audit trail exportable as CSV

🏒 Multi-Tenancy Isolation

  • Every table has org_id NOT NULL with foreign key constraint
  • Row Level Security (RLS) enabled on 15+ tables
  • Server-side org_id filtering on every query
  • Cross-org access tests in automated test suite

πŸ” Encryption & Data Protection

  • All data encrypted at rest via Supabase (PostgreSQL with AES-256)
  • TLS enforced for all API traffic (HSTS headers applied)
  • Agent API keys stored as peppered hashes β€” raw keys never persisted
  • Admin passwords stored as bcrypt (cost β‰₯ 12) or PBKDF2

πŸ›‘οΈ Shadow Mode & Policy Safety

  • Shadow evaluation allows testing new policies against live traffic without affecting decisions
  • Canary rollout support β€” deploy policies to a percentage of traffic
  • Policy simulator for dry-run testing in the admin console

πŸ—ΊοΈ Compliance Roadmap

  • SOC 2 Type I preparation in progress
  • Infrastructure audit logging and evidence export tools built-in
  • Incident response evidence packaging available via admin API

For security inquiries: security@sentinelfinancehq.com

Last updated: March 2026