MayFly LogoMayFly
CLI Reference

mayfly audit

Inspect access records and cryptographically verify the SHA-256 tamper-evident log chain.

Synopsis

# View chronological access trail
mf audit

# Cryptographically verify hash chain continuity
mf audit verify

Operations

mf audit

Display the chronological event history of secret access, injections, and vault modifications:

mf audit

Example output:

#12 2026-08-31T05:12:00Z INIT project=my-project secret= hash=f8a29b...
#13 2026-08-31T05:13:15Z SET  project=my-project secret=STRIPE_KEY hash=b41c0e...
#14 2026-08-31T05:14:00Z EXEC project=my-project secret=3 secrets hash=a3f9e1...

mf audit verify

Traverse the entire audit log file (~/.mayfly/audit.log) and verify the cryptographic continuity of the sequential SHA-256 hash chain:

mf audit verify

Output:

Audit log hash chain verified successfully.

If any log entry was tampered with, deleted, or altered out of sequence:

mayfly: audit log verification FAILED: hash mismatch at entry #14: expected a3f9e1... but found 9f81a2...