Tamper-evident audit records for AI decisions in .NET. SHA-256 hashing, hash chaining, and RSA signatures — so you can verify it later.
How it works
Each decision is hashed with SHA-256. The hash covers timestamp, model, user ID, prompt, and output.
Every record stores the hash of the previous one. Remove or alter any record and the chain breaks permanently.
Sign each record with your RSA private key for non-repudiation and independent third-party verification.
Run chain verification at any time. AiTrace detects tampering, missing files, and broken chains instantly.
Features
Every audit record is a plain JSON file in a local folder you control. No database, no external service.
Records are cryptographically linked. Any retroactive modification to any record is immediately detectable.
One call to AddAiTrace(). Inject IAuditStore anywhere in your app.
Sign records with your private key. Regulators and clients can independently verify with your public key.
Generate text and JSON reports summarizing integrity, signature validity, and time range covered.
Export a sealed, self-contained audit trail snapshot with a SHA-256 bundle hash. Built for legal review.
AiTrace.Pro
Non-repudiation for every decision record
Text and JSON — regulator-ready output
Sealed, portable audit trail snapshots
SHA-256 fingerprint of the entire bundle
Compare two bundles with CI-ready exit codes
Enforce append-only policies on audit dirs
Open source, MIT licensed, no external dependencies. Works with any .NET 8 app.