cosmos-vulnerability-scanner

Scan Cosmos SDK blockchains and CosmWasm contracts for consensus-critical vulnerabilities.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/monmacllcapp/skill-forks --skill cosmos-vulnerability-scanner-monmacllcapp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cosmos-vulnerability-scanner
Source: https://github.com/monmacllcapp/skill-forks/tree/main/skills/security/plugins/building-secure-contracts/skills/cosmos-vulnerability-scanner
Command: npx skills add https://github.com/monmacllcapp/skill-forks --skill cosmos-vulnerability-scanner-monmacllcapp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill identifies and helps fix critical security vulnerabilities in Cosmos SDK blockchains and CosmWasm smart contracts, preventing chain halts and fund loss.

Core Features & Use Cases

  • Vulnerability Detection: Scans for 9 consensus-critical patterns like non-determinism, incorrect signers, and ABCI panics.
  • Code Analysis: Analyzes Go and Rust codebases, identifying specific lines of vulnerable code.
  • Fix Recommendations: Provides actionable advice and code examples for mitigating identified vulnerabilities.
  • Use Case: Before launching a new Cosmos chain, use this Skill to audit your custom modules and smart contracts for common security flaws, ensuring a more robust and secure launch.

Quick Start

Use the cosmos-vulnerability-scanner skill to audit 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
How do I scan a Cosmos SDK blockchain for consensus-critical vulnerabilities?

Audit Cosmos SDK blockchains by running static analysis on your Go codebase to detect 9 consensus-critical vulnerabilities like non-determinism and incorrect signers. The scanner identifies specific vulnerable lines and reports security flaws to prevent chain halts.

How do I audit CosmWasm smart contracts for common security flaws?

Audit CosmWasm smart contracts by performing static analysis and pattern matching on your Rust code. The tool checks for best practices and identifies consensus-critical vulnerabilities, providing actionable code examples to mitigate flaws and prevent fund loss.

What types of vulnerabilities can cause a Cosmos chain to halt?

Non-determinism, incorrect signers, ABCI panics, and rounding errors are critical vulnerabilities that can halt Cosmos chains. Static code analysis scans for these 9 specific consensus-critical patterns in Go and Rust codebases to ensure blockchain security.

Can I use this tool to check my custom Cosmos modules before mainnet launch?

Yes, you can audit custom Cosmos SDK modules and CosmWasm contracts before launching a new chain. Scanning your Go and Rust code for common security flaws ensures a more robust and secure mainnet deployment.

Does the Cosmos vulnerability scanner provide fix recommendations for vulnerable code?

Yes, the Cosmos vulnerability scanner provides actionable advice and code examples for mitigating identified vulnerabilities. It pinpoints specific lines of vulnerable Go and Rust code and supplies recommendations to resolve the detected security flaws.

What is the best way to prevent ABCI panics in my Cosmos SDK application?

Prevent ABCI panics by using static analysis to scan your Cosmos SDK application code. Pattern matching identifies code segments causing panics and provides fix recommendations to mitigate these consensus-critical vulnerabilities before deployment.