# Cosmos SDK audit checklist

> Cosmos SDK audit checklist is an open-source agent skill for security. Checklist for auditing Cosmos SDK and CometBFT chains for consensus and fund-moving bugs. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/cosmos-sdk-audit-checklist
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** cosmos-sdk-audit-checklist
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill gives an agent a structured review checklist for auditing custom Cosmos SDK modules, app wiring and the ante handler chain. It walks through bug classes that tend to halt chains or move funds, beginning with non-determinism in consensus code such as map iteration, wall-clock time and random sources, then covers panics in BeginBlock and EndBlock, unbounded loops that enable denial of service, and ante handler bypasses through nested messages or gasless paths.

The checklist also covers authorization on message handlers, interactions between modules such as x/group, x/gov, ICA and IBC, and precision and overflow issues in token and reward math. It asks the agent to grep for specific patterns and to check dependency versions against published advisories. It names a set of static analysis and fuzzing tools to run, including gosec, staticcheck, semgrep, osv-scanner and go test with race and fuzz flags.

The skill is written for specialist auditors and expects a Go codebase for the Cosmos chain being reviewed. It is a single SKILL.md file with no bundled scripts, and it relies on the auditor's environment to provide the listed tools and the chain's source.

## When your agent uses it

> Use when auditing a Cosmos-SDK / CometBFT chain or appchain — custom modules (x/*), app wiring (app/), and the ante chain. Covers the classes that halt chains or move funds, starting with non-determinism in consensus code.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/cosmos-sdk-audit-checklist)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/cosmos-sdk-audit-checklist)

## Features

- **Consensus determinism checks:** Flags map iteration, wall-clock time, randomness and environment reads that could make nodes diverge.
- **BeginBlock and EndBlock panics:** Looks for reachable panics in ABCI paths that would halt the chain since they are not recovered.
- **Unbounded loop denial of service:** Checks loops over attacker-growable collections for gas metering and size bounds.
- **Ante handler bypass review:** Examines nested messages, gasless paths and sequence handling for skipped fee or signature checks.
- **Authorization and module interactions:** Confirms message handlers enforce the correct signer and reviews composition across modules.
- **Dependency and tool guidance:** Lists advisory checks and static analysis and fuzzing commands to run against the codebase.

## Good for

- Audit a custom x/ module in a Cosmos appchain for consensus non-determinism
- Review EndBlocker code for panics that could halt a chain
- Check ante handler logic for fee or signature bypasses through nested messages
- Scan a Go chain repository for known vulnerable cometbft or cosmos-sdk versions

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/cosmos-sdk-audit-checklist` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cosmos-sdk-audit-checklist &&
cp -R "$tmp/.agents/skills/cosmos-sdk-audit-checklist" ~/.claude/skills/cosmos-sdk-audit-checklist &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/cosmos-sdk-audit-checklist` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/cosmos-sdk-audit-checklist` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cosmos-sdk-audit-checklist &&
cp -R "$tmp/.agents/skills/cosmos-sdk-audit-checklist" ~/.agents/skills/cosmos-sdk-audit-checklist &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/cosmos-sdk-audit-checklist` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/cosmos-sdk-audit-checklist` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cosmos-sdk-audit-checklist &&
cp -R "$tmp/.agents/skills/cosmos-sdk-audit-checklist" ~/.cursor/skills/cosmos-sdk-audit-checklist &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/cosmos-sdk-audit-checklist` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/cosmos-sdk-audit-checklist
```

Or copy the folder to `~/.gemini/skills/cosmos-sdk-audit-checklist` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/cosmos-sdk-audit-checklist`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cosmos-sdk-audit-checklist &&
cp -R "$tmp/.agents/skills/cosmos-sdk-audit-checklist" ~/.copilot/skills/cosmos-sdk-audit-checklist &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/cosmos-sdk-audit-checklist` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

Then copy `claude-vibe-squad/.agents/skills/cosmos-sdk-audit-checklist` into your agent's skills folder as `cosmos-sdk-audit-checklist`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What kind of codebase does Cosmos SDK audit checklist target?

It targets Cosmos SDK and CometBFT chains or appchains, focusing on custom modules under x/, app wiring under app/ and the ante chain.

### Does the skill run any scripts?

No scripts are bundled. It lists commands such as gosec, staticcheck, semgrep, osv-scanner and go test for the agent to run.

### Which clients can use Cosmos SDK audit checklist?

The skill follows the shared agent skills format, so it applies to all listed AI coding clients.

### How do I install Cosmos SDK audit checklist in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/cosmos-sdk-audit-checklist to use it in all your projects, or to .claude/skills/cosmos-sdk-audit-checklist in one project.

### Does Cosmos SDK audit checklist run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Cosmos SDK audit checklist?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Cosmos SDK audit checklist?

The closest alternatives to Cosmos SDK audit checklist are Cosmos vulnerability scanner, Defi amm security, Defi invariant check, Cross chain bridge audit and Solana audit flow.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Cosmos vulnerability scanner](https://ai-powered.com/skills/cosmos-vulnerability-scanner): Cosmos vulnerability scanner is an open-source agent skill for security.
- [Defi amm security](https://ai-powered.com/skills/defi-amm-security): Defi amm security is an open-source agent skill for security.
- [Defi invariant check](https://ai-powered.com/skills/defi-invariant-check): Defi invariant check is an open-source agent skill for security.
- [Cross chain bridge audit](https://ai-powered.com/skills/cross-chain-bridge-audit): Cross chain bridge audit is an open-source agent skill for security.
- [Solana audit flow](https://ai-powered.com/skills/solana-audit-flow): Solana audit flow is an open-source agent skill for security.
- [Signature validation audit](https://ai-powered.com/skills/signature-validation-audit): Signature validation audit is an open-source agent skill for security.
- [Known advisory backport check](https://ai-powered.com/skills/known-advisory-backport-check): Known advisory backport check is an open-source agent skill for security.
- [Substrate vulnerability scanner](https://ai-powered.com/skills/substrate-vulnerability-scanner): Substrate vulnerability scanner is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/cosmos-sdk-audit-checklist
