Tamper-Evident Evidence Bundles for Infrastructure Change
By Chirag Panchal · Founder & Lead Architect · · 7 min read
How InfraOrcinus exports a change plan or a single run as an evidence bundle: JSON files listed in a SHA-256 manifest, signed with an operator-held Ed25519 key, and exported deterministically so a re-export can be compared byte for byte. How a bundle is verified, and why the control mapping is labelled as pending review rather than as a certification.
Development Status & Architectural Evolution: InfraOrcinus is in active development. Architecture specifications, internal interfaces, and operational protocols described herein reflect our current engineering design and are continuously refined to make InfraOrcinus robust, resilient, and enterprise-grade.
When an auditor asks "show me how this change was approved and applied," the honest answer used to be a screenshot, a ticket and someone's memory. The records exist inside the system, but a screenshot proves nothing and a database query proves only what the database says today.
An evidence bundle is the answer built to be handed to someone outside the system. It is a self-contained export of one change, with a signature that lets the recipient prove two things: that the files are exactly what InfraOrcinus produced, and that none has been altered since.
1. What Goes Into a Bundle
There are two kinds, both built from records the platform already keeps.
A change-plan bundle contains:
plan.json: the plan, its waves, the variable changes and the risk score.approvals.json: who drafted and who approved it, and when.runs.json: the runs each wave launched.verification.json: the post-apply drift checks and their results.audit.json: the audit entries that relate to the plan.controls.json: the control mapping (section 5).
A run bundle is the same idea for one run: the job, its approvals, the plan and the policy result, the apply output and the audit entries.
A bundle only contains what the requester is allowed to see. A plan or run outside the caller's organization and project scope is reported as not found, like everywhere else in the product.
2. A Manifest, and a Signature Over the Manifest
The files are not signed one by one. The bundle holds a manifest that lists every file with its SHA-256 hash, and the manifest is signed with an Ed25519 key. The manifest also records:
- the bundle format version,
- the plan or run it describes,
- the time the plan was last updated,
- the identifier of the signing key (a short hash of the public key), and
- the version and review status of the control catalog.
This is the usual shape for a reason. Signing a short manifest is cheap and settles the whole bundle: change one byte in any file and its hash no longer matches the signed list; change the list and the signature no longer matches.
3. The Key Is Yours, and It Never Leaves
The signing key is provided by the operator, as a base64-encoded 32-byte Ed25519 seed in the server's environment. The platform never generates one for you and never exports it; only the public half is ever available, for verification.
If no key is configured, evidence export is disabled, and both routes refuse to run. That is deliberate: a bundle signed with a key nobody controls would look like proof and prove nothing.
Treat the key as you treat any signing key: hold it in your secret manager, restrict who can read it, and plan for rotation. The key identifier in each manifest says which key signed it, so older bundles stay verifiable with the older public key.
4. Deterministic Export
A re-export of an unchanged plan produces the same bytes. Files are written in a stable order with stable formatting, and the manifest records the plan's last-updated time rather than the time of export, so exporting twice does not invent a difference.
That has a practical use. If an auditor receives a bundle in March and you re-export in September, a byte-for-byte match is the evidence that nothing about the plan's recorded history changed in between. A difference is the question to investigate.
5. Verifying a Bundle
Verification checks, in order:
- The signature is valid for the manifest under the public key.
- The manifest was signed by the expected key (its key identifier matches).
- Every listed file is present and its hash matches.
- There are no extra files: a file in the bundle that the manifest does not list is a failure.
Any failure ends in a clear message ("audit.json has been modified", "signature does not match the manifest"). You can verify through the product, which checks an uploaded bundle against the platform's public key, or independently, with the public key and any SHA-256 and Ed25519 tooling. The second is the better answer for a skeptical third party, because it does not depend on trusting InfraOrcinus to say the bundle is fine.
6. The Control Mapping Is a Reference, Not a Certification
controls.json maps pieces of evidence to controls an auditor may care about: SOC 2 change management (CC8.1), ISO/IEC 27001:2022 change management (A.8.32), NIS2 risk-management measures (Article 21), and DORA ICT change management (Article 9). Each entry names the files that support it.
The mapping is explicitly not a claim of compliance. Its status, written into every manifest, is pending review, and it stays that way until legal and compliance have approved the catalog version. Marking it reviewed is a change to the code, reviewed like any other. A bundle that says "this evidence is relevant to these control families" is useful. A bundle that said "you are compliant" would be a lie the product has no standing to tell.
7. What a Bundle Does Not Prove
- It proves integrity, not truth. It shows the exported records are unaltered since export, not that the underlying system was never compromised before. Pair it with a SIEM copy of the audit trail.
- It is as complete as the records. The audit trail holds metadata, not request bodies, so a bundle cannot replay what was typed.
- Key custody is on you. Whoever holds the private key can sign a bundle.
Summary
An evidence bundle exports a change plan or a run as JSON files, listed with SHA-256 hashes in a manifest signed by an operator-held Ed25519 key, identically every time for an unchanged plan. Anyone with the public key can verify it, including without InfraOrcinus. The control mapping is a labelled reference pending review, and export is off until you provide a signing key.