cosmos-vulnerability-scanner

Scan Cosmos SDK modules and CosmWasm contracts for nine vulnerability patterns.

Updated Jul 10, 2025
One-click install
npx skills add https://github.com/Superlend/superloop-core-contracts --skill cosmos-vulnerability-scanner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cosmos-vulnerability-scanner
Source: https://github.com/Superlend/superloop-core-contracts/tree/main/.cursor/skills/building-secure-contracts/skills/cosmos-vulnerability-scanner
Command: npx skills add https://github.com/Superlend/superloop-core-contracts --skill cosmos-vulnerability-scanner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill systematically scans Cosmos SDK blockchain modules and CosmWasm smart contracts for platform-specific security vulnerabilities that can cause chain halts, consensus failures, or fund loss. It targets 9 consensus-critical vulnerability patterns unique to Cosmos-based chains and provides actionable remediation guidance.

Core Features & Use Cases

  • 9 vulnerability patterns coverage: Detects non-determinism, incorrect signers, ABCI panics, rounding errors, and more.
  • Platform detection: Identifies Cosmos SDK Go modules (x/* patterns) and CosmWasm Rust contracts to tailor checks.
  • Report & remediation: Generates findings with file references, severity, and suggested fixes; supports reproducible remediation workflows.
  • Audit workflows: Ideal for pre-launch security reviews, incident investigations, and ongoing governance security checks.

Quick Start

Run the cosmos vulnerability scanner against your Cosmos-based codebase to identify risk patterns and recommended mitigations.

Frequently Asked Questions about cosmos-vulnerability-scanner

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

FAQPage Schema
How do I audit Cosmos SDK modules for chain halt vulnerabilities?

CosmWasm smart contract security auditing detects 9 consensus-critical vulnerability patterns in Rust contracts, including non-determinism and rounding errors. It generates findings with file references, severity levels, and suggested fixes to prevent consensus failures and fund loss.

What are common consensus failure patterns in Cosmos-based blockchains?

Common consensus failure patterns in Cosmos-based chains include non-determinism, incorrect signers, ABCI panics, and rounding errors. Detecting these 9 specific vulnerability patterns systematically prevents chain halts, consensus failures, and fund loss in Cosmos SDK and CosmWasm projects.

Can I scan both Go and Rust code in a Cosmos blockchain security audit?

Yes, you can scan both Go and Rust code in a Cosmos blockchain security audit. The scanner automatically identifies Cosmos SDK Go modules using x/* patterns and CosmWasm Rust contracts, tailoring specific vulnerability checks for each language environment.

How do I report and remediate vulnerabilities found in CosmWasm contracts?

To report and remediate vulnerabilities in CosmWasm contracts, use a structured workflow that generates findings with file references and severity levels. This supports reproducible remediation by providing concrete detection patterns and suggested fixes for identified security issues.

Does this Cosmos vulnerability scanner work for pre-launch security reviews?

Yes, this Cosmos vulnerability scanner works for pre-launch security reviews. It is designed for pre-launch security audits, incident investigations, and ongoing governance security checks across Cosmos-based chains, smart contracts, and ABCI/validator code.