skills/specialist-profiles/math-precision/SKILL.md
Specialist profile for rounding, scale, decimal, downcast, and arithmetic accounting edge cases.
npx skillsauth add apegurus/solidity-argus math-precisionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Find arithmetic bugs that leak value, distort accounting, or break protocol invariants through rounding, scale mismatch, decimal mismatch, downcasts, and stale accumulators.
Share conversions, reward math, fee math, collateral factors, liquidation discounts, oracle scaling, vesting schedules, and accumulator updates.
Load lack-of-precision, share-accounting-desynchronization, erc4626-exchange-rate-manipulation, and stateful-parameter-update-drift when applicable.
Include concrete numbers, before/after balances, rounding direction, repeatability, and value impact.
Dust-level loss is not a security finding unless repeatable, griefable, or able to accumulate into material loss.
testing
Specialist profile for mechanically applying the attack-vector deck and classifying vectors as skip, drop, or investigate.
tools
Specialist profile for libraries, helpers, base contracts, adapters, encoders, wrappers, and integration glue.
testing
Specialist profile for extracting conservation laws and state couplings, then searching for violating paths.
testing
Specialist profile for line-by-line assumption extraction without relying on named bug classes.