How to verify an LLM agent's audit log without the decryption key
Описание и применение
Проверка целостности журнала действий агента LLM без расшифровки и раскрытия ключа, используя цепочку хешей и внешнюю контрольную точку.
Задача
Verifying that an LLM agent’s audit log has not been tampered with without decrypting its contents or revealing the decryption key.
Результат
The verifier confirms log integrity without decrypting bodies, detects tampering or truncation, and provides exit codes suitable for CI integration.
Рабочий процесс
- Install Palimpsests via pip and run the demo to generate a deterministic audit log.
- Use
palimpsests pala verify <file>to check internal consistency of the log headers and body hashes. - Extract the head hash from the verification output and supply it as an anchor with
--anchorto detect truncation or replacement. - Tamper with a byte in the log file and rerun verification to see how the tool reports the specific link break.
- Interpret the exit codes: 0 for success, 1 for integrity failure, 2 for incomplete checks.
Доказательства
The verifier walks the headers one by one and compares each body with the digest stored for it. It never decrypts a body, so it never needs the key.
Exit code 0. No key was used at any point.
The log implementation has not been through an independent penetration test yet.
- Дата записи: 2026-10-04T14:40:44.682Z