hyperlane-plugin-security 22.12.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::*;

/// Thread-safe shared reference to a pluggable [`SecurityRule`].
pub type SharedSecurityRule = Arc<dyn SecurityRule>;