/odin-security:smart-contract-secure-workflowfrom ODIN Security
Executes a repeatable end-to-end secure development workflow for smart contracts before check-in or deployment. Runs property identification, test generation, and produces a consolidated report.
Ships in ODIN Security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | A smart-contract team needs to execute a repeatable end-to-end secure development check before a check-in or deployment. |
| Authority | Reversible local: writes only named local artifacts under the working directory; rollback is deleting the generated report, tool outputs, and review notes. No remote mutation. |
| Side effect | Tool outputs, visualizations, documented properties, manual-review notes, and a consolidated workflow report. All artifacts written to local paths only. |
| Done | All five workflow stages are executed or explicitly marked unavailable with compensating analysis and unresolved risks documented. |
Validate inputs. Confirm the contract source directory exists and contains at least one contract file. If the directory is missing or empty, stop and report blocked: no contract source.
Done when: a non-empty contract source directory is confirmed, or the workflow stops before writing artifacts with the exact blocked status.
Stage 1: Property identification. Read the contract source. Extract public and external functions, state variables, access-control modifiers, and invariant candidates. Document each identified property as a named assertion with the function or state it constrains. If the codebase exceeds tool capacity, document the subset analyzed and list skipped files. Done when: every covered public surface, state variable, access control, and invariant candidate maps to a named assertion, and skipped files are explicit.
Stage 2: Test generation. For each property from Stage 1, generate a runnable test that asserts the property holds. Use the project's existing test framework if detected; otherwise produce standalone assertion tests. Write generated tests to a local output directory. If test generation fails for a property, mark it test-generation-failed and record the reason.
Done when: every Stage 1 property has a runnable local test or a recorded test-generation-failed reason.
Stage 3: Manual review. Perform a structured manual review covering: reentrancy entry points, unchecked external calls, integer overflow and underflow in arithmetic, access-control gaps, front-running vectors, and oracle manipulation surfaces. For each finding, record severity (critical, high, medium, low, informational), affected function, and a recommended fix. If a review area is not applicable to the codebase, mark it not-applicable with justification.
Done when: each required review area has severity-tagged findings with locations and fixes, or a justified not-applicable result.
Stage 4: Fuzzing. If a fuzzing tool (Echidna, Foundry fuzz, Medusa) is available in the environment, run property-based fuzzing against the properties from Stage 1. Record campaign duration, corpus size, and any violations found. If no fuzzing tool is available, mark this stage unavailable: no fuzzer in environment and perform compensating analysis by stress-testing edge cases manually against the identified properties.
Done when: fuzzing records tool, duration, corpus size, and violations, or the unavailable status and bounded manual edge-case evidence are recorded with their coverage limit.
Stage 5: Deployment preparation. Review deployment scripts and configuration for: hardcoded addresses, missing constructor arguments, upgradeable-proxy initialization gaps, gas-limit assumptions, and network-specific parameters. If no deployment target was supplied, analyze against generic mainnet assumptions and note the limitation. Done when: every named deployment risk has an evidence-backed disposition and the target network or generic-mainnet limitation is explicit.
Consolidate report. Aggregate all stage outputs into a single workflow report. For each stage, record: status (completed, unavailable-with-compensating-analysis, blocked), artifact count, and unresolved risk count. Compute the overall workflow status: passed if all stages completed or compensated, passed-with-unresolved if any stage has unresolved risks, blocked if any stage could not proceed or compensate.
Done when: all five stages have truthful status, artifact count, and unresolved-risk count, and the overall status follows the stated precedence exactly.
blocked: no contract source and halt. No artifacts written.unavailable, perform compensating analysis within the stage scope, and document what it cannot cover. Continue to the next stage.non-converged.Output contract: Return the consolidated Markdown status report first, then documented properties, generated tests and raw tool outputs, manual-review notes, deployment checks, and visualizations; order stages 1–5 and findings by severity.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-security31 skills in this plugin
/burpsuite-project-parserUse when asked to analyze a Burp Suite .burp project for audit items, request/response metadata, or captured traffic. Modes: parsed (default) and stream. Not for source or remote-system changes./chain-vulnerability-scannerUse when an Algorand, Cairo, Cosmos SDK, Solana, Substrate, or TON codebase needs vulnerability scanning with reachability-backed findings. Not for non-chain review: use security-review./codeql-security-analysisUse when building or reusing a CodeQL database, running CodeQL security analysis, or modeling project-specific sources and sinks. Not for manual vulnerability review: use security-review (mode: confirmed)./constant-time-analysisUse when reviewing cryptographic code for timing side-channels, statically in compiled output or at runtime with statistical timing tests. Not for known-answer vectors: use wycheproof./crypto-protocol-diagramUse when asked for a sequence diagram of cryptographic protocol semantics from code, prose, RFCs, papers, ProVerif, or Tamarin, or for code/spec divergence. Not for architecture: use diagramming-code./c-security-reviewUse when the user requests a userspace C or C++ security review with a threat model and severity filter and wants validated findings. Not for kernel or bare-metal code: use kernel-security.Other plugins' skills for the same job