id: "cairo-vulnerability-scanner"
kind: "skill"
name: "cairo-vulnerability-scanner"
title: "Cairo Vulnerability Scanner"
description: "Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects."
category: "security"
source:
  repository: "trailofbits/skills"
  path: "plugins/building-secure-contracts/skills/cairo-vulnerability-scanner/SKILL.md"
  commit: "149d7b21f4067765b82e67029730b42d228ef4b4"
  url: "https://github.com/trailofbits/skills/tree/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cairo-vulnerability-scanner"
license:
  spdx: "CC-BY-SA-4.0"
  from: "repository"
  redistributable: false
stars: 8299
updated_at: "2026-11-18T16:36:35Z"
score: 0.8653
rank: 101
files_count: 4
bytes: 37734
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:45:45Z"
  model: "claude-sonnet-5-5"
  score: 0.8653
  signals:
    tier: 1.0
    rubric: 0.97
    judge: 0.8467
    smoke: "not_run"
    popularity: 0.5373
  rubric:
    score: 0.97
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 0.7
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 4
    safety: 4
    injection: 5
    references: 5
    overall: 8
    verdict: "feature"
    rationale: "Focused Cairo/StarkNet audit skill with a specific description and six named patterns. It has concrete rg sweeps, Caracal commands, handler/signature/bridge checklists, a finding template, and a mandatory six-row coverage table that guards against silent omissions. The referenced VULNERABILITY_PATTERNS.md exists. Minor weaknesses: the example output section is nearly empty, some test snippets are placeholders, and the Caracal install runs cargo from git (a normal, disclosed step). No injection."
  smoke:
    status: "not_run"
requires:
  tools: []
  runtimes: ["rust"]
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "instructions"
    reasons: ["no-shell"]
    source: "derived"
  - client: "chat-mcp"
    status: "instructions"
    reasons: ["no-shell"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 13109
    sha256: "2d843b87efa0775e1147e8fce1493288267b19a3aa86efd65df6eb3085725f97"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cairo-vulnerability-scanner/SKILL.md"
  - path: "agents/openai.yaml"
    bytes: 259
    sha256: "8bbea14a834f74c493aeafdf1ebdbd7b6423e68d084c5d004b5a0de85315ec0a"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cairo-vulnerability-scanner/agents/openai.yaml"
  - path: "assets/trail-of-bits-mark.svg"
    bytes: 3084
    sha256: "4bf74c789b38dcf6ad762c136b6832363d27ae19fbaa9a18ec18d66ecce6ca05"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cairo-vulnerability-scanner/assets/trail-of-bits-mark.svg"
  - path: "resources/VULNERABILITY_PATTERNS.md"
    bytes: 21282
    sha256: "615bee673bd545579e6ce01f64e17e85417e698ac779354bb84eaf02ef82dfab"
    url: "https://raw.githubusercontent.com/trailofbits/skills/149d7b21f4067765b82e67029730b42d228ef4b4/plugins/building-secure-contracts/skills/cairo-vulnerability-scanner/resources/VULNERABILITY_PATTERNS.md"
alternates: []
icon: "https://versatile.sh/avatars/trailofbits.png"
