cosmos-vulnerability-scanner

Scan Cosmos SDK and CosmWasm code for consensus-critical vulnerabilities.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/fjor1025/InfoSec-Framework --skill cosmos-vulnerability-scanner-fjor1025
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: cosmos-vulnerability-scanner
Source: https://github.com/fjor1025/InfoSec-Framework/tree/main/ClaudeSkills/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner
Command: npx skills add https://github.com/fjor1025/InfoSec-Framework --skill cosmos-vulnerability-scanner-fjor1025

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill systematically identifies and helps fix critical, consensus-breaking vulnerabilities specific to Cosmos SDK blockchains and CosmWasm contracts, preventing chain halts and fund loss.

Core Features & Use Cases

  • Vulnerability Detection: Scans for 9 consensus-critical patterns including non-determinism, incorrect signers, ABCI panics, and rounding errors.
  • Code Analysis: Analyzes Go and Rust codebases for platform-specific security flaws.
  • Use Case: When auditing a new Cosmos SDK module, use this Skill to automatically flag potential non-determinism issues in BeginBlocker or EndBlocker functions before they can cause a chain halt.

Quick Start

Use the cosmos-vulnerability-scanner skill to analyze the codebase in the current directory for security vulnerabilities.

Frequently Asked Questions about cosmos-vulnerability-scanner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What causes non-determinism in Cosmos SDK blockchains and how can I detect it?▼

Non-determinism in Cosmos SDK blockchains often stems from floating-point math or unordered map iteration in BeginBlocker or EndBlocker functions. This scanner detects these consensus-critical patterns in Go and Rust codebases to prevent chain halts.

How do I audit CosmWasm contracts for consensus-breaking vulnerabilities?▼

To audit CosmWasm contracts for consensus-breaking vulnerabilities, you can scan the Rust codebase using this tool. It automatically identifies 9 critical patterns including non-determinism, incorrect signers, and rounding errors to prevent chain halts and fund loss.

Does this vulnerability scanner work with custom Cosmos SDK x/ modules?▼

Yes, this vulnerability scanner explicitly supports auditing custom Cosmos SDK x/ modules. It analyzes Go codebases to flag ABCI panics, incorrect signers, and non-determinism issues specific to your custom module implementations.

What are the most common ABCI panic risks in Cosmos SDK modules and how do I find them?▼

Common ABCI panic risks in Cosmos SDK modules include unhandled nil pointers or out-of-bounds errors during block processing. This scanner identifies ABCI panics in Go and Rust codebases to prevent consensus failures and chain halts.

Can I use this tool to find rounding errors in my Cosmos SDK or CosmWasm codebase?▼

Yes, you can use this scanner to find rounding errors in your Cosmos SDK or CosmWasm codebase. It analyzes Go and Rust source code to detect rounding errors and other non-deterministic behaviors that can break blockchain consensus.