Incident Response Runbooks¶
These runbooks are for managed sovereign operation. They are intentionally plain: stop the bad trust path, preserve evidence, restore service, and document what changed.
Operator Key Compromise¶
Use this when an operator signing key may have been exposed.
Remove the compromised key from
OPERATOR_PUBLIC_KEYS_JSONor the operator key environment file.Restart the Network Authority.
Confirm old-key admin requests fail.
Rotate to a new operator key and record the new key ID.
Export audit events around the compromise window:
genesis-mesh managed audit-export \ --db-path /var/lib/genesis-mesh/na.db \ --output ./incident-audit.jsonl
Review admin actions signed by the compromised key.
Revoke or supersede any trust material created by the compromised key.
Bad Treaty Issued¶
Use this when a recognition treaty was issued with the wrong subject sovereign, public key, role, validity window, or metadata.
Revoke the treaty:
curl -X POST https://<na>/admin/recognition-treaties/<treaty-id>/revoke
Confirm
/connectome.jsonshows the revoked edge.Export audit events for the treaty:
genesis-mesh managed audit-export \ --db-path /var/lib/genesis-mesh/na.db \ --output ./bad-treaty-audit.jsonl \ --event-type recognition_treaty_issued
Issue a corrected treaty only after the subject public keys and scope are independently checked.
Notify affected operators if any attestation was accepted under the bad treaty.
Bad Revocation Feed Imported¶
Use this when a signed feed was imported from the wrong issuer, stale sequence, wrong public key, or wrong incident scope.
Stop importing new feeds from the affected issuer until the source is understood.
Export
sovereign_revocation_feed_importedandsovereign_revocation_feed_rejectedaudit events.Review
/connectome.jsonrevocation blast radius.Restore from the most recent known-good DB backup if the imported feed must be removed from state.
Re-import the corrected feed.
Confirm the expected attestations are accepted or rejected after import.
Database Restore¶
Use this when DB state is corrupt, accidental trust data was deleted, or a bad import must be rolled back.
Stop the Network Authority.
Create a pre-restore copy of the current DB.
Restore the selected backup:
genesis-mesh managed restore \ --db-path /var/lib/genesis-mesh/na.db \ --backup /backups/genesis-mesh-na-known-good.db \ --pre-restore-backup /backups/na-before-restore.db \ --yes
Start the Network Authority.
Check:
curl -fsS http://127.0.0.1:8443/healthz curl -fsS http://127.0.0.1:8443/readyz curl -fsS http://127.0.0.1:8443/connectome.json
Export audit events after restore and attach them to the incident record.
Revocation Blast-Radius Review¶
Use this after any membership attestation or treaty revocation that may affect another sovereign.
Fetch
/connectome.json.Review
revocation_blast_radius.Identify accepting sovereigns affected by the revoked trust material.
Confirm each affected sovereign has imported the latest feed.
Record expected accept/reject behavior for the affected attestations.