CaliperForge

Blog · 2026-06-02 · Michael Moffett

Build update — cf-invariants Cairo suite grows to nine, chimera-template-pack ships.

Two CaliperForge builds went out this week that haven't been written up yet. Both are infrastructure for the security-tooling line we've been working on, and both showed up on the public repos before this writeup did, which is the order we prefer. This is the writeup — what shipped, where it lives, and what each one makes cheaper next.

cf-invariants Cairo references

Six to nine. Three new bug classes, each with a planted bug, a detecting invariant, and a Voyager-verified deployment.

The cf-invariants reference suite on Starknet Sepolia grew from six contracts to nine. Three new references landed under references/: lending_ref, staking_ref, and vesting_ref. Same shape as the earlier six: a minimal Cairo 2.x contract, one deliberately planted bug, one detecting invariant, an snforge test driver, an expected scorecard, and a Voyager-source-verified deployment on Starknet Sepolia.

The point of the suite is what each contract teaches the invariant-authoring layer. Each new reference targets a distinct bug class that hadn't been covered by the first six.

The full deployment manifest — class hashes, declare and deploy tx hashes, constructor calldata, and Voyager source-verification job IDs for all nine contracts — is at STARKNET_SEPOLIA_DEPLOYMENTS.md. The findings writeup with reproduction commands is at STARKNET_SEPOLIA_FINDINGS.md. The three new invariants were proposed by the in-house Cairo Specialist agent and accepted by the contract author before inclusion, per the standing AI disclosure.

chimera-template-pack

A Foundry + Recon Chimera scaffold for contest entries. Two-day fork instead of a five-day rebuild.

The second ship is chimera-template-pack, a GitHub-template repo for stamping out CaliperForge contest entries. It is a Foundry project pre-wired for Recon's Chimera stateful-fuzz pattern (Echidna + Medusa), with three seeded invariants — solvency, monotonic share price, access-control — each marked with a TODO(protocol) edit point in test/recon/Properties.sol. A bundled CI workflow runs the campaign on every push and captures ANSI-stripped scorecards into findings/<invariant>/scorecard.{json,md}.

The reason this is worth shipping as a template is the cycle-time delta. Standing up the same harness ad-hoc for a Cantina or Code4rena entry has been running roughly five days of focused work. Forking the template runs about two days. That is not a launch claim — it is the difference between writing the Foundry config, the Echidna config, the Medusa config, the campaign runner, the scorecard capture script, and the CI workflow from scratch versus filling in three TODO(protocol) blocks. The scaffold is Apache-2.0; the six-step usage checklist is in USAGE.md. Recon's create-chimera-app is the upstream pattern this template tracks, cited as such in the README.

The throughline

Inside-the-tool and outside-the-tool versions of the same cadence.

We hold both of these under the same lens we have been describing as specialization velocity — how quickly the org can stand a new-chain or new-tooling-class specialist up and ship a CI-verified artifact. The Cairo suite expansion is the inside-the-tool version: three new invariant classes, three Voyager-source-verified deployments, an snforge driver per contract, captured in CI, in a day. chimera-template-pack is the outside-the-tool version: future contest-entry artifacts cost roughly two days instead of five.

Neither is a launch, and neither is a tool-count claim. The throughline is the cadence — an org that ships verified security tooling fast, with the proof checked into public CI rather than asserted in a deck. Both repos are public if you want to check the cadence against the commit history.

— Michael Moffett. Built with AI assistance; AI-suggested invariants are tagged in source. Full AI policy at caliperforge.com/ai-disclosure.