Untrusted context crosses boundaries
Web pages, documents, email, and tool responses can carry adversarial instructions. Provenance checks stop that content from silently acquiring authority.
AI actions, governed
A deterministic security boundary between model intent and real-world execution, with policy, risk, provenance, delegated authority, and human approval.
Live control surface
Select a scenario or submit an agent intent.
Problem statement
AI agents can interpret goals and propose useful actions, but model output is probabilistic, influenceable, and unfit to serve as an authorization decision. Prompt injection, over-broad credentials, confused delegation, and invisible side effects turn a capable assistant into an uncontrolled execution path.
Web pages, documents, email, and tool responses can carry adversarial instructions. Provenance checks stop that content from silently acquiring authority.
Possessing an API key says nothing about user intent. Delegation narrows actions, resources, beneficiaries, amounts, and time.
Deterministic decisions, explicit approvals, replay protection, and audit evidence make every action inspectable.
Decision pipeline
Providers remain interchangeable planners. Every proposal is normalized and evaluated by deterministic controls before a registered tool can run.
User goal plus source provenance
GPT, Claude, local, or mock model
Policy, delegation, and risk
Human step-up for sensitive actions
Bound tool call and audit evidence
About the project
Agent Security Gateway demonstrates a vendor-neutral pattern for separating AI reasoning from authorization and execution. The banking environment is simulated; the security architecture is the product.
FastAPI, deterministic YAML policy, risk scoring, delegated authority, approval expiry and replay protection, SQLite audit evidence, and provider adapters.
This is not a certified banking control. Production use requires authenticated identities and approvers, durable tamper-evident storage, credential brokering, rate limits, tenant isolation, observability, and formal policy review.