chialisp-auditor

Audit ChiaLisp CLVM puzzles for consensus-critical vulnerabilities and trust-boundary logic.

4|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/grigb/gas-prompt-library --skill chialisp-auditor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chialisp-auditor
Source: https://github.com/grigb/gas-prompt-library/tree/main/agents/agent-chialisp-auditor
Command: npx skills add https://github.com/grigb/gas-prompt-library --skill chialisp-auditor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a rigorous, expert-level security audit for ChiaLisp (CLVM) puzzles, identifying consensus-critical vulnerabilities, logic flaws, and trust-boundary regressions that standard audits often miss.

Core Features & Use Cases

  • Canonical Diffing: Automatically compares your custom puzzle logic against audited, canonical Chia reference puzzles to detect unexplained deviations.
  • Adversarial Threat Modeling: Simulates compromised-key scenarios to ensure your puzzle correctly bounds authority and fails closed under attack.
  • Use Case: Before deploying a custom NFT transfer program or a complex multi-sig vault, use this Skill to verify that your authority-lifecycle logic (revocation, rotation, timelocks) matches proven, secure implementations.

Quick Start

Use the chialisp-auditor skill to perform a canonical diff and adversarial review of the provided puzzle file 'vault_inner.clsp' against the internal-custody reference.

Frequently Asked Questions about chialisp-auditor

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

FAQPage Schema
How do I audit a ChiaLisp puzzle before deploying it on the blockchain?

To audit a ChiaLisp puzzle, perform a canonical diff comparing your custom CLVM code against audited Chia reference puzzles to detect unexplained deviations, followed by adversarial threat modeling to validate trust boundaries and consensus-critical integrity.

What is canonical diffing for CLVM puzzles?

Canonical diffing for CLVM puzzles is an audit methodology that compares your custom ChiaLisp logic against proven, secure reference implementations to identify unexplained deviations and trust-boundary regressions in spend construction.

Can I use this approach to verify authority logic in a Chia multi-sig vault?

Yes, you can verify authority logic in a Chia multi-sig vault by simulating compromised-key scenarios and checking that your puzzle correctly bounds authority, enforces revocation, rotation, timelocks, and fails closed under attack.

Does this audit method work for NFT and CAT development on Chia?

This audit method works for NFT and CAT development on Chia by rigorously validating puzzle-vs-solution trust boundaries, ensuring your custom delegated-authority flows and singletons maintain consensus-critical integrity.

Why does my custom NFT transfer program need adversarial security review?

Your custom NFT transfer program needs adversarial security review because standard audits often miss consensus-critical vulnerabilities and logic flaws in CLVM puzzles, which can lead to incorrect authority bounding and failed spend conditions under attack.

What are the limitations of standard audits for ChiaLisp spend construction?

Standard audits for ChiaLisp often miss consensus-critical vulnerabilities and trust-boundary regressions because they lack rigorous canonical-diff methodology and adversarial threat modeling required to validate puzzle-vs-solution integrity for complex delegated-authority flows.