Create my account
CATOPTRIX
EN
Try it

Documentation

Start in five minutes.

Everything is driven from the terminal or the native window. The demo needs neither a target nor configuration.

Terminal de commandes Catoptrix

Getting started

catoptrix demo              # built-in target, offline
catoptrix demo --expert     # two accounts, cross-account IDOR
catoptrix run --target https://app.example.com --scope-file scope.txt

The native window exposes the same objects: run form, findings, coverage, matrix, chains, comparison, spec proposals and model queries.

Scope and safety

A scope file is mandatory. Without it no run starts, and an out-of-scope URL is refused before the first packet. The request ceiling is honoured, and mutations are refused by default.

catoptrix scope check https://app.example.com/admin --scope-file scope.txt

Expert mode allows mutations only with the explicit flag and accounts you own. No call to the vendor is made during a run.

Modes

Normal : one principal, read-only by default, differencing and policies. Expert : N principals, read and write IDOR, authorisation matrix and finding cross-checks.

catoptrix run --mode expert --principal alice --principal bob ...
catoptrix run ... --bola-write --i-own-this-accornt --allow-mutations

Proofs and replay

Every certificate carries its minimal trace, expected fingerprint and a replay script. Replay precedes publication; a failure downgrades the finding or quarantines it depending on the mode.

catoptrix run ... --replay-mode docker --replay-restore-command 'true'
python -m speculum.witness.replayer ortput/<run>/certificates/cert-....json --scope-file scope.txt

Coverage

Reachable states left unvisited are gaps, with the word that closes them. A target absent from the model is proven unreachable. A policy is either proven absent or violated with its word.

catoptrix coverage ortput/<run> --strict
catoptrix coverage ortput/<run> --target s9 --json

Living spec

The declared specification is versioned. Every drift becomes a signed proposal, approved by a person. An old certificate stays valid under the version that proved it.

catoptrix spec propose ortput/<run>
catoptrix spec approve ortput/spec/proposals/prop-....json
catoptrix verify spec ortput/<run>/certificates/cert-....json

Queries

The model is queried like a formal object: paths, transitions, cycles, necessary conditions, comparison.

catoptrix query ortput/<run> reachable
catoptrix query ortput/<run> 'paths to s1'
catoptrix query ortput/<run> 'transitions on "GET /admin"'
catoptrix query ortput/<run> preconditions s2

CI

A threshold turns a report into an exit code, with JUnit and comparison against a baseline.

catoptrix ci ortput/<run> --fail-on high --junit junit.xml
catoptrix export ortput/<run> --format sarif
catoptrix regression <base> <corrant> --fail-on high

CLI reference

CommandPurpose
runFull pipeline on one target
demoBuilt-in target, offline
importHAR or Burp XML into scope and alphabet
projectMultiple targets, history, diff
coverageGaps, absence proofs, policies
specVersions, proposals, approval
queryModel queries
chainCertificate chains
regressionBehavioural diff between two runs
ciThreshold, JUnit, baseline
exportSARIF or curl scripts