hyperlane-plugin-security 22.14.0

A zero-allocation security hardening plugin for the Hyperlane framework providing prebuilt HSTS/CSP/COOP/COEP/CORP/Referrer headers, stateless HMAC-SHA256 CSRF protection, host/URI/body/path-traversal guards, and extensible SecurityRule hooks.
Documentation
1
2
3
4
use super::*;

/// Global process-wide [`SecurityPlugin`] singleton initialized via [`SecurityPlugin::init`].
pub(crate) static SECURITY_PLUGIN: OnceLock<SecurityPlugin> = OnceLock::new();