Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By keep-starknet-strangev0.2.0MITIn 1 marketplace
Flagship Cairo/Starknet audit skill for vulnerability discovery with strict FP gating and confidence scoring.
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A security agent for Cairo/Starknet — findings in minutes, not weeks.
Built for:
Not a substitute for a formal audit — but the check you should never skip.
Claude Code CLI:
git clone https://github.com/keep-starknet-strange/starknet-skills.git \
&& mkdir -p ~/.claude/commands/cairo-auditor \
&& cp -R starknet-skills/cairo-auditor/. ~/.claude/commands/cairo-auditor/
Cursor (manual guidance only):
git clone https://github.com/keep-starknet-strange/starknet-skills.git \
&& mkdir -p docs/cairo-auditor \
&& cp -R starknet-skills/cairo-auditor/references/. docs/cairo-auditor/
Cursor does not execute this package as a runnable /cairo-auditor command. Use Claude Code CLI or Plugin Marketplace for the executable orchestrator flow. In Cursor, treat these files as reference guidance only.
There is no official global ~/.cursor/skills install path for this package.
Claude Code Plugin Marketplace:
/plugin marketplace add keep-starknet-strange/starknet-skills
/plugin install cairo-auditor@starknet-skills
Update to latest:
cd starknet-skills && git pull
# Claude Code CLI:
cp -R cairo-auditor/. ~/.claude/commands/cairo-auditor/
# Cursor docs refresh (manual guidance only):
cp -R cairo-auditor/references/. docs/cairo-auditor/
# Scan the full repo (default — 4 parallel agents)
/cairo-auditor
# Full repo + adversarial reasoning agent (slower, more thorough)
/cairo-auditor deep
# Review specific file(s)
/cairo-auditor src/contracts/account.cairo
/cairo-auditor src/contracts/account.cairo src/contracts/factory.cairo
# Write report to a markdown file (terminal-only by default)
/cairo-auditor --file-output
python3 scripts/quality/audit_local_repo.py \
--repo-root /path/to/your/cairo-repo \
--scan-id my-audit
[P0] 1. Ungated Upgrade Path
NO_ACCESS_CONTROL_MUTATION · src/contracts/account.cairo:42 · Confidence: 92
Description
External upgrade() calls replace_class_syscall without caller gate.
Any account can replace the contract class, leading to full takeover.
Fix
- fn upgrade(ref self: ContractState, new_class: ClassHash) {
+ fn upgrade(ref self: ContractState, new_class: ClassHash) {
+ self.ownable.assert_only_owner();
Required Tests
- Unauthorized caller reverts on upgrade
- Owner successfully upgrades and new class hash persists
The skill orchestrates a 4-turn pipeline:
.cairo files, run deterministic preflightmodel: sonnet), optionally + 1 adversarial (model: opus in deep mode)Each agent scans the full codebase against 30 attack vectors from its partition (120 total), applies a strict false-positive gate, and formats findings with exploit paths and fix diffs.
Codebase size. Works best under ~5,000 lines of Cairo. Past that, triage accuracy and mid-bundle recall degrade. For large codebases, run per-module rather than everything at once.
What AI misses. AI catches pattern-based vulnerabilities reliably: missing access controls, CEI violations, unsafe upgrades, zero-address initialization. It struggles with: multi-transaction state setups, specification/invariant bugs, cross-protocol composability, game-theoretic attacks, and off-chain oracle assumptions. AI catches what humans forget to check. Humans catch what AI cannot reason about. You need both.
Deterministic scorecards are smoke/regression gates, not final independent proof.
npx claudepluginhub keep-starknet-strange/starknet-skills --plugin cairo-auditorBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground