CipherActContinuous Auditteam@cipheract.dev

CipherAct · Continuous Audit

Continuous security checks for mixed codebases.

Audit findings, protocol invariants, and accepted risks live in Git right next to your code. Every pull request runs concrete checks across smart contracts, Rust or Go services, and formal models, signing verdicts that anyone can verify offline.

Specs in Git
Rules and accepted risks are versioned right beside the source code they guard.
Mixed stacks
Solidity contracts, Rust or Go services, and formal models are verified together.
Signed verdicts
Each commit emits a content-addressed receipt that can be checked offline.

Where It Fits

Proven verification methods, unified for mixed environments

Production protocols span smart contracts, off-chain nodes, and backend services. Existing tools each solve an important part of the verification problem within a single layer.

CERTORA CVL · FOUNDRY · HALMOS

Smart-contract invariants in the repository

Teams such as Aave, Lido, Morpho, and Maker keep specification files right next to Solidity contracts so CI checks balance and access invariants on every pull request. Their coverage stays inside the EVM.

QUINT · ETHEREUM CONSENSUS-SPECS

Model-based testing for Rust and Go nodes

Executable protocol models generate event traces and replay them against production Rust and Go node implementations. These suites focus on state transitions and live separately from static checks and audit waivers.

AWS CEDAR · AMAZON S3 SHARDSTORE

Differential testing against compiled Lean 4

AWS Automated Reasoning proves core policies and storage designs in Lean 4 and tests live production code against compiled formal oracles on every pull request inside an internal platform built for AWS.

OPENGREP · CODEQL

Repository-wide static patterns and taint

Static analyzers scan Rust, Go, and contract repositories quickly for syntactic patterns and unsafe data flow, operating independently of protocol state invariants and recorded audit decisions.

CipherAct Continuous Audit combines the strengths of these approaches in a single mixed-environment setup. Versioned rules guard every pull request like Certora, live code is checked differentially against compiled Lean 4 and SMT oracles like AWS Cedar, and static lifecycles and taint checks stay bound to your audit findings and accepted risks across Solidity, Rust, and Go together.

Real Failure Classes

How Continuous Audit stops historic regressions before merge

Zero-root upgrade marks unproven messages valid

In the 2022 Nomad upgrade, initializing confirmAt[bytes32(0)] to 1 caused any unproven message to pass acceptableRoot(0x00) in Replica.sol. Existing contract tests stayed green while anyone could copy a valid transaction and drain the bridge.

contracts/Replica.solSolidity · Formal invariant
function initialize(bytes32 _committedRoot) public {
confirmAt[_committedRoot] = 1; // _committedRoot == 0x00
}
function process(bytes memory _msg) public returns (bool) {
require(acceptableRoot(messages[hash]), "!proven");
}
Blocked · Invariant Violatedrules/zero_root.cfspec

Unproven message passes admission under zero root

Upgrade diffInitialization script passes bytes32(0) as initial committed root.
Formal modelLean 4 invariant checks that unproven messages map to rejected.
Diff traceProduces a 2-step counterexample proving process(m) succeeds for arbitrary m.
Layers: Solidity upgrade + Lean 4 oracleVerdict: violated
Under the hood · The four formal layers behind Continuous AuditExpand +
OFC · Operational Forgetting CalculusChecks that state machines retain every history coordinate required so safe and unsafe executions remain distinguishable.
STC · Shadow-Register Trace CalculusRuns a single-pass temporal monitor over live traces to detect multi-step exploit sequences across internal and cross-chain boundaries.
LPC · Linear Phase CalculusVerifies on compiled IR that validation pipelines execute in order on a single consistent snapshot without escaping mutation.
EBC · Epistemic Evidence CalculusBinds receipts to exact commit trees, enforces non-vacuous symbol matches, tracks risk-waiver conditions, and keeps LLM notes strictly advisory.

Workflow

01 · CODIFY

Readable rules in Git

Audit findings, protocol invariants, and accepted risks are encoded as versioned rules stored beside contracts and backend services.

02 · VERIFY

Live code and formal models together

Every pull request runs differential checks against formal oracles alongside static lifecycles, interfile taint scans, and mutation suites across the whole stack.

03 · ATTEST

Offline-verifiable receipts

Each run produces content-addressed receipts signed with Ed25519 keys, allowing engineers, partners, or external auditors to re-derive verdicts offline.

Interested in wiring Continuous Audit into your repository? Write to team@cipheract.dev.Browse specification docs →