Audit trail
How the audit trail stays intact
Three independent layers. Each one makes it possible to check that no record was changed, deleted or rewritten after it was saved.
- 1
Chained records
Each trail event (who, what, when, old and new value) gets a SHA-256 digest computed over its own content and over the digest of the previous event. The trail is append-only: changing or removing a record breaks the chain from that point on, and the check shows which record.
- 2
Daily seal outside the database
Once a day, the platform checks each trail since the previous seal and writes the digest of the last record to separate storage (Amazon S3) locked against change and deletion, in compliance mode, for 5 years: during that period nobody can delete or replace the seal, not even the account administrators. Anyone rebuilding the whole trail would not match the stored seal. If the check fails, the trail is not sealed and an incident is opened, with an alert.
- 3
Public anchor
The day's seals form a manifest, kept in the same locked storage. Only the SHA-256 digest of that manifest is sent to the public OpenTimestamps servers, an open protocol that records the digest in a block of a public blockchain. The proof (.ots file) is kept next to the manifest and shows the seal already existed on that date, and it can be checked without relying on Veriqo.
What leaves the platform
Only the 64-character digest of the daily manifest. No record, document, GxP data or personal data leaves, and the content cannot be rebuilt from the digest.
If the public network is unavailable
The daily seal is written anyway: integrity remains assured by layers 1 and 2. The anchor is tried again on the next run of the routine, and the block confirmation, which takes a few hours, is fetched over the following 14 days. Since each seal closes the whole chain up to that point, one day's anchor also covers the earlier records.
Who can check
- Signed documents and records: anyone enters the verification code at veriqo.com.br/v, or scans the QR code in the footer, and sees the signed record to compare, without logging in.
- Trail and seals: the platform checks the chain against the seal every day, and the check can be repeated during an audit. The manifest and the .ots proof can be handed to the auditor, who checks the anchor with the open OpenTimestamps tool.
What the regulations ask of an audit trail
- 21 CFR Part 11, 11.10(e)
- A secure, computer-generated, time-stamped trail recording creation, modification and deletion without obscuring previous values, kept for the retention period and available for inspection.
- EU and PIC/S Annex 11, clause 9
- A record of GMP-relevant changes and deletions, with the reason documented, available and regularly reviewed.
- RDC 658/2022 (Anvisa)
- Brazilian Good Manufacturing Practices for medicines, with data integrity and audit trail requirements for computerised systems.
The Veriqo trail was designed to meet these points. Chaining, the seal and the public anchor are not regulatory requirements: they are ways to demonstrate the trail has not been changed. Compliance also depends on validating the system for each company's use and on its own procedures.