Skip to content

Audit context building vs Dimensional analysis

Audit context building is an open-source agent skill for security. Dimensional analysis is an open-source agent skill for security.

  • Audit context building is best for map the trust boundaries and assumptions in an unfamiliar codebase before an audit.
  • Dimensional analysis is best for audit a defi protocol for wad or ray scaling errors.
What it is
Audit context building is an open-source agent skill for security.
Dimensional analysis is an open-source agent skill for security.
Best for
Map the trust boundaries and assumptions in an unfamiliar codebase before an audit
Audit a DeFi protocol for WAD or RAY scaling errors
Kind
Skill
Skill
Pricing
Open source
Open source
Platforms
Claude Code
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
GitHub stars
8.2K
8.2K
Last commit
Nov 2026
Nov 2026
License
CC-BY-SA-4.0
CC-BY-SA-4.0
Open source
Good for
Map the trust boundaries and assumptions in an unfamiliar codebase before an audit; Prepare an architecture review of a service I have not worked on before; Build a per-function analysis of a smart contract before a security review
Audit a DeFi protocol for WAD or RAY scaling errors; Check whether a function uses the decimals of the correct token; Annotate units across an offchain pricing or accounting module

What Audit context building does

  • Function-level assumption mapping

    Records what each function requires to be true and cites the line that establishes it.

  • Guarantee and invariant tracking

    Lists what must always hold for each function, with supporting code references.

  • Cross-function dependency tracing

    Follows calls to the functions they depend on and notes what each must provide.

  • Unenforced assumption flagging

    Marks assumptions that nothing in the codebase verifies, for later review.

  • Subagent-based analysis workflow

    Dispatches per-function analysis to subagents and writes results to disk.

  • Dossier and open question tracking

    Produces a dossier of cross-function rules and keeps unresolved questions visible.

What Dimensional analysis does

  • Arithmetic file scanning

    Locates in-scope numeric files and ranks them into priority tiers for review.

  • Unit vocabulary generation

    Builds a glossary of base units, derived units and decimal precision prefixes.

  • Dimensional annotations

    Adds comments recording the units and precision of each value in the code.

  • Formula propagation

    Traces units through calculations to expose mismatched or invalid combinations.

  • Validation and coverage tracking

    Checks results per file and reports coverage across each analysis phase.

  • Common DeFi pattern references

    Includes reference material on dimension algebra, typical DeFi units and known bug patterns.

Audit context building vs Dimensional analysis: questions

Is Audit context building or Dimensional analysis cheaper?

Both are open source. Compare current plans on each official site.

What is the difference between Audit context building and Dimensional analysis?

Audit context building is an open-source agent skill for security. Dimensional analysis is an open-source agent skill for security.

Keep comparing