claude

dimensional-analysis

Audits code for unit and decimal-scaling bugs and annotates it with dimensional comments recording the units of each value. Use when someone asks to audit or review code for unit confusion, decimals or scaling mismatches, WAD/RAY scale errors, or the wrong token's decimals; to annotate units in a codebase; or to perform a dimensional analysis of a DeFi protocol, offchain code, or other arithmetic-heavy codebase. Catches formulas that combine values carrying different units or scales.

8,166 on GitHubby Coriolan Pinhas & Benjamin Samuelsv3.2.0CC-BY-SA-4.0updated today
/

Plugin dimensional-analysis from marketplace trailofbits in trailofbits/skills. Commands read from the repo's manifest — today.

What it installs

Skills (1)

  • dimensional-analysis

    Audits code for unit and decimal-scaling bugs and annotates it with dimensional comments recording the units of each value. Use when someone asks to audit or review code for unit confusion, decimals or scaling mismatches, WAD/RAY scale errors, or the wrong token's decimals; to annotate units in a co

Subagents (5)

  • arithmetic-scanner

    Scans repo for files with dimensional arithmetic to scope discovery

  • dimension-annotator

    Adds dimensional annotations to source code at anchor points using Reserve Protocol's format

  • dimension-discoverer

    Discovers dimensional vocabulary for codebases by analyzing naming conventions and protocol patterns

  • dimension-propagator

    Propagates dimensional annotations through arithmetic and call chains, reporting mismatches found during propagation

  • dimension-validator

    Validates dimensional consistency and detects dimensional bugs in annotated code

View source on GitHub

More from trailofbits/skills

All 47 plugins →

trailmark

claude

Builds source and binary code graphs for security analysis, taint modeling with native analyzers, context slicing, mutation testing, cryptographic protocol modeling, finding triage, and variant analysis.

15 skills · 1 agent

8,166

Skills from the Trail of Bits Application Security Testing Handbook (appsec.guide)

15 skills

8,166

Detects missing or compiler-optimized zeroization of sensitive data with assembly and control-flow analysis

1 skill · 11 agents · 1 MCP server

8,166

Comprehensive smart contract security toolkit based on Trail of Bits' Building Secure Contracts framework. Includes vulnerability scanners for 6 blockchains and 5 development guideline assistants.

11 skills

8,166

Agent-orchestrated skills for finding, reproducing and adjudicating regressions in PRs or commits.

7 skills

8,166

fp-check

claude

Systematic false positive verification for security bug analysis with mandatory gate reviews

1 skill · 3 agents · hooks

8,166

Maintain dimensional-analysis?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins47 plugins