# hyperlane-plugin-audit
Tamper-evident SHA-256 hash-chained security audit trail middleware for [Hyperlane](https://github.com/hyperlane-dev/hyperlane).
## Features
- Cryptographic SHA-256 hash chaining (`prev_hash` -> `entry_hash`) with `verify_audit_chain()`.
- Automatic redaction of sensitive headers (`Authorization`, `Cookie`, and custom names).
- Method and path prefix filtering (`mutations_only`, `include_prefixes`, `exclude_prefixes`).
- Bounded `InMemoryAuditSink` ring buffer plus pluggable `AuditSink` trait.
- Opt-in and transparent (`Status::Continue`) when unconfigured (`-118` / `92`).