id: "cosmos-vulnerability-scanner"
kind: "skill"
name: "cosmos-vulnerability-scanner"
title: "Cosmos Vulnerability Scanner"
description: "Scans Cosmos SDK blockchain modules and CosmWasm contracts for consensus-critical vulnerabilities — chain halts, fund loss, state divergence. 25 core + 16 IBC + 10 EVM + 3 CosmWasm patterns. Use when auditing custom x/ modules, reviewing IBC integrations, or assessing pre-launch chain security. Updated for SDK v0.53.x."
category: "security"
source:
  repository: "trailofbits/skills"
  path: "plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/SKILL.md"
  commit: "149d7b21f4067765b82e67029730b42d228ef4b4"
  url: "https://github.com/trailofbits/skills/tree/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner"
license:
  spdx: "CC-BY-SA-4.0"
  from: "repository"
  redistributable: false
stars: 8299
updated_at: "2026-11-18T16:36:35Z"
score: 0.8807
rank: 42
files_count: 11
bytes: 154175
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:52:33Z"
  model: "claude-sonnet-5-5"
  score: 0.8807
  signals:
    tier: 1.0
    rubric: 0.97
    judge: 0.9067
    smoke: 0.75
    popularity: 0.5373
  rubric:
    score: 0.97
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 0.7
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 4
    instructions: 5
    safety: 4
    injection: 5
    references: 5
    overall: 9
    verdict: "feature"
    rationale: "The description is specific about what it scans and when to use it. The workflow is concrete: a discovery phase with a structured output, parallel scanner agents with a prompt template, a severity scheme, a pattern-count check and a defined file output. Every referenced resource file is in the folder. Scanners are read-only, and the main skill writes only CLAUDE.md and the findings. Overwriting CLAUDE.md in the target repo is a small risk. Scope is broad but coherent."
  smoke:
    status: "passed"
    triggered: true
    grade: 1
    task: "I have a Cosmos SDK v0.50 chain with custom x/ modules and IBC enabled. Walk me through how you'd scan it for chain-halt and fund-loss bugs, and which categories you'd check."
    date: "2026-11-21T11:46:48Z"
    model: "claude-sonnet-5-5"
requires:
  tools: []
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "chat-mcp"
    status: "full"
    reasons: ["ok"]
    source: "derived"
files:
  - path: "CHANGELOG.md"
    bytes: 12950
    sha256: "fd4ca29cf7a9c36c5ec22947c43974f38b44b99337b45f9b50255bead0f99b41"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/CHANGELOG.md"
  - path: "SKILL.md"
    bytes: 10940
    sha256: "5f12f1ecdcf220726d32b391e5e646807d09d869d4cc92ae105236ecff4b9a42"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/SKILL.md"
  - path: "agents/openai.yaml"
    bytes: 256
    sha256: "2c7ed00b8e696b6476aacdb64f75588fe0661796ed74b0b81b2f0b5e3fa095f3"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/agents/openai.yaml"
  - path: "assets/trail-of-bits-mark.svg"
    bytes: 3084
    sha256: "4bf74c789b38dcf6ad762c136b6832363d27ae19fbaa9a18ec18d66ecce6ca05"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/assets/trail-of-bits-mark.svg"
  - path: "resources/ADVANCED_VULNERABILITY_PATTERNS.md"
    bytes: 12800
    sha256: "c5d8582061f30cae4c17953f8493a8c2e452a67cb3b9449664705fff9cc8e671"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/ADVANCED_VULNERABILITY_PATTERNS.md"
  - path: "resources/COSMWASM_VULNERABILITY_PATTERNS.md"
    bytes: 7643
    sha256: "9df45b35b92cb07bee7aafdd6f1a8742831dcdb9be413f9c353d21cc0c0f02a3"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/COSMWASM_VULNERABILITY_PATTERNS.md"
  - path: "resources/DISCOVERY.md"
    bytes: 3018
    sha256: "33f3d3c7ccc2816463f8bf60bbe29582ae5a10216e70bb16dae5829a775d847d"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/DISCOVERY.md"
  - path: "resources/EVM_VULNERABILITY_PATTERNS.md"
    bytes: 18442
    sha256: "eb038859445add39e9b9332b38da99d4418fa249e5ca879140652fe031cfe426"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/EVM_VULNERABILITY_PATTERNS.md"
  - path: "resources/IBC_VULNERABILITY_PATTERNS.md"
    bytes: 28119
    sha256: "3462dcadf15038c0e48a48d866c8db688497779f2fafbfe215abcdcd7e40f3c7"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/IBC_VULNERABILITY_PATTERNS.md"
  - path: "resources/STATE_VULNERABILITY_PATTERNS.md"
    bytes: 29890
    sha256: "323863a7d6faae1a36a134d65bd000071606a719602262cca8d88e69e6b1edae"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/STATE_VULNERABILITY_PATTERNS.md"
  - path: "resources/VULNERABILITY_PATTERNS.md"
    bytes: 27033
    sha256: "e8fa593eabe0ee4f7a7734dd50c67bd83ec87842c3ff87d4b735c88de4ae579c"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md"
alternates: []
icon: "https://versatile.sh/avatars/trailofbits.png"
