cairo-auditor

Audit Cairo contracts on Starknet with deterministic preflight and false-positive gating.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/cartridge-gg/scoundrel --skill cairo-auditor-cartridge-gg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cairo-auditor
Source: https://github.com/cartridge-gg/scoundrel/tree/main/.agents/skills/cairo-auditor
Command: npx skills add https://github.com/cartridge-gg/scoundrel --skill cairo-auditor-cartridge-gg

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Provides a structured, deterministic framework to perform Cairo/Starknet security audits, enabling repeatable preflight checks and formal FP gating.

Core Features & Use Cases

  • Deterministic preflight analysis across Cairo contracts
  • Parallel vector specialists and adversarial reasoning for deeper coverage
  • Strict false-positive gating and structured reporting for quick remediation
  • Sierra confirmation workflow for upgrade/CEI findings when available
  • Prebuilt reference materials and attack-vector partitions to guide review

Quick Start

Open workflows/default.md for standard audits or workflows/deep.md for adversarial mode, then load agents/vector-scan.md and references/judging.md and select an attack-vector partition.

Frequently Asked Questions about cairo-auditor

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

FAQPage Schema
How do I perform a deterministic security audit on Cairo contracts for Starknet?

To perform a deterministic Cairo security audit, use a structured four-turn workflow with preflight checks, vector scans, and adversarial passes to identify and triage findings. This ensures repeatable preflight analysis and formal false-positive gating for Starknet contracts.

What is false-positive gating in a Starknet security audit?

False-positive gating in a Starknet security audit is a formal review process that filters out incorrect findings. It uses prebuilt reference materials and judging criteria to ensure only valid, prioritized vulnerabilities are output for remediation.

How do I run an adversarial deep audit on a Cairo smart contract?

To run an adversarial deep audit on a Cairo contract, load the deep workflow mode and apply parallel vector specialists with adversarial reasoning. This executes targeted attack-vector partitions to achieve deeper vulnerability coverage and structured reporting.

Can I use a targeted audit mode for specific Cairo vulnerability vectors?

Yes, you can use targeted audit modes for specific Cairo vulnerability vectors. The workflow supports default, deep adversarial, and targeted modes, allowing you to load specific attack-vector partitions and apply specialized vector scans to the contract.

Does the Cairo audit workflow support Sierra confirmation for upgrade findings?

Yes, the Cairo audit workflow supports a Sierra confirmation workflow for upgrade and CEI findings when available. This integrates Sierra confirmation to validate specific findings during the structured reporting phase.