systemprompt-security 0.9.0

Security infrastructure for systemprompt.io AI governance: JWT, OAuth2 token extraction, scope enforcement, ChaCha20-Poly1305 secret encryption, the four-layer tool-call governance pipeline, and the unified authz decision plane (deny-overrides resolver + AuthzDecisionHook) shared by gateway and MCP enforcement.
Documentation
1
2
3
4
5
6
7
8
9
//! Request validation: turns an [`axum::http::HeaderMap`] into a
//! [`systemprompt_models::execution::context::RequestContext`] using a
//! configured JWT secret, issuer, and audience set.

mod hook_token;
mod validation;

pub use hook_token::{HookTokenValidator, ValidatedHookClaims};
pub use validation::{AuthMode, AuthValidationService};