cosmos-vulnerability-scanner

by trailofbits 6.6k CC-BY-SA-4.0 Updated Aug 18, 2026
cosmos-vulnerability-scanner skill by trailofbits
cosmos-vulnerability-scanner — Security skill by trailofbits

cosmos-vulnerability-scanner is an open-source security skill for Claude Code and compatible agents, published by trailofbits. Its author describes it as: “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…”. The project has 6.6k stars on GitHub and is available under the CC-BY-SA-4.0 license. Add it to your setup with `/plugin marketplace add trailofbits/skills`.

What cosmos-vulnerability-scanner does

Scan Cosmos SDK modules and CosmWasm contracts for vulnerabilities that cause chain halts, consensus failures, or fund loss. Spawns parallel scanning agents — each specializing in a vulnerability category — that return findings to the main skill, which then writes them as individual markdown files to an output directory.

Installation

Add cosmos-vulnerability-scanner to your agent with:

/plugin marketplace add trailofbits/skills

Always review a skill's source before installing it. This command comes from the skill's public repository; the linked repo is the source of truth for exact setup steps.

What's inside

The SKILL.md for cosmos-vulnerability-scanner is organised into these sections:

  • Purpose
  • When to Use
  • When NOT to Use
  • Essential Principles
  • Scanning Workflow
  • Phase 1: Discovery (synchronous)
  • Phase 2: Parallel Vulnerability Scan
  • [SEVERITY] Title
  • Phase 3: Write Findings
  • Phase 4: Verify Completeness
  • Success Criteria
  • Resources

When to use it

Reach for cosmos-vulnerability-scanner when you want security help from your agent without writing the same instructions every session. Load the skill and the agent picks it up automatically for relevant tasks.

Strengths

  • Clear CC-BY-SA-4.0 license — safe to read and adapt
  • Ships in trailofbits/skills, an established project with 6,646 GitHub stars
  • Actively maintained (recent commits)

Topics

agent-skills

Frequently asked questions

What does cosmos-vulnerability-scanner do?
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.
How do I install cosmos-vulnerability-scanner?
Run /plugin marketplace add trailofbits/skills in your agent, then reload your skills. Review the source at https://github.com/trailofbits/skills before installing.
Is cosmos-vulnerability-scanner free to use?
Yes. cosmos-vulnerability-scanner is free and open source under the CC-BY-SA-4.0 license, so you can read, run, and adapt it within that license's terms.
Where does cosmos-vulnerability-scanner come from?
cosmos-vulnerability-scanner ships inside trailofbits/skills, a repository that contains 41 catalogued skills in total. The repository's 6,646 GitHub stars apply to that whole collection, not to this skill on its own.

Related skills

More Security →

Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations.

6.6k trailofbits CC-BY-SA-4.0

Understand a codebase before looking for bugs in it - what each function assumes, what it guarantees, and what it depends on elsewhere. Use when starting an audit, threat model, or architecture review on unfamiliar code, and before any vulnerability-hunting pass.

6.6k trailofbits CC-BY-SA-4.0

Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal).

6.6k trailofbits CC-BY-SA-4.0

Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments).

6.6k trailofbits CC-BY-SA-4.0

Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects.

6.6k trailofbits CC-BY-SA-4.0