剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 安全软件 auditor-skill - Claude Code …
auditor-skill - Claude Code / agentic security skill for Solana pr 安全软件 点击放大
作者:admin 发布:2026-10-05

auditor-skill - Claude Code / agentic security skill for Solana pr

项目说明<p align="center"> <img src="assets/banner.png" alt="auditor-skill — the best all-in-one security audit skill fo…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
316浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-05
人工审核发布
评论区答疑

auditor-skill - Claude Code / agentic security skill for Solana pr

项目说明

<p align="center">
<img src="assets/banner.png" alt="auditor-skill — the best all-in-one security audit skill for Solana programs and applications" width="100%">
</p>

auditor-skill — Open-Source AI Security Audit Skill

> Production-grade security audit for any codebase, powered by AI agents.
> 20 checklists · 1,424 items · 137 known attack · executable PoCs + fix patches
> A full audit-firm lifecycle (automated + interactive) · Benchmarked against CertiK, SOC 2, OWASP Top 10:2025
> COSTS.md as a referecence - Running this audit can burn a lot of credits.

---

What Is This?

auditor-skill is a skill file (a structured prompt + checklists) that turns any LLM agent (Copilot, Cursor, Windsurf, Claude Code, Codex, etc.) into a professional-grade security auditor. It reads your code file by file, checks 1,424 items across 20 security domains, tests against 137 real-world attack , and produces a structured report with se scores.

It is not a SaaS product. It's a folder of markdown files you clone into your repo or give to an AI agent.

> Adaptation required before use. This skill was originally de for a specific Solana/Anchor DeFi project and then generalized. Before running it on your project you must update discovery/file-map.md with your actual folder structure, file names, and state names. The questionnaire in QUESTIONS.md is a blank template — fill it out (or run /auditor:intake) for your project before in the auditor. E else (checklists, known , output rules) is fully portable as-is.

---

What It Does (v7.4)

  • pro (v7.4). Co for the newest exploited class on Solana — the Rain white-label card-contract exploit (Aug 2026, ~$1.1M across Avici, Tria and other tenants): KV-137 (deployed-program drift, fleet blast radius, inherited admin surface), off-chain-signed authority-grant checks (AC-051..055 — the AddCollateralAdmin signature-bundle failure) and deployed-program pro checks (SC-053..058) — the layer cargo audit / npm audit can't see, because the artifact is your own deployed program.

  • Transaction v1 readiness (v7.3). A playbook for SIMD-0385 / SIMD-0296 (4,096-byte transactions, message-le config, no ComputeBudget instructions, no lookup tables): who breaks and how, per-role worksheets for RPC readers, indexers / Geyser consumers, fee sponsors / co-signers, introspecting programs, senders and wallets; KV-135 (sponsor cap bypass, disabled ComputeBudget gates) and KV-136 (reader wedge, zero-budget indexing); 23 checklist items across on-chain, TypeScript, backend, frontend, deployment, testing, monitoring and off-chain Rust.

  • Token registries & permissioned tokens (v7.2). A registry / risk-signal methodology (canonical-asset resolution, primary- ranking, score farming — grounded in the open-sourced tokens.xyz stack), Token ACL (SRFC-37) gate-program co inside the Token-2022 playbook, and web-stack items for hosted auth, API-key issuance, external data pro, Next.js 16, Bun / Turborepo and GCP / Terraform.

  • A full audit-firm lifecycle, two ways. /auditor:audit-cycle runs the whole engagement autonomously (intake → context → threat model → tool-assisted pass → domain-partitioned review → triage → independent peer review → synthesis) and hands back a professional client report. /auditor:audit-assist runs the same pipeline interactively, pausing at checkpoints for the calls only you can make.

  • Executable proofs, not just prose. For High/Critical findings, /auditor:poc builds a runnable exploit (Mollusk / LiteSVM / Surfpool-fork / fuzz) that *asserts* the , and /auditor:patch drafts a minimal fix and proves it reverts the exploit. E is tiered ([PoC-REPRODUCED] … [PoC-PROSE]); prose is ne when a harness can't be built.

  • Token-efficient by construction. An optional Rust pre-scanner (audit-scan) enumerates the risky surface deterministically (~$0), cutting ~30-40% of input tokens on large programs. A cross-audit memory store (audit-mem) gi dedup, regression detection, and false-positi across runs.

  • 15 commands, 8 specialized agents. Scoping, threat modeling, deep review, economic simulation, differential/PR audits, spec compliance, triage, fix-review — each a first-class command; the automated flow chains eight purpose-built agents.

  • Deep Solana co. 13 protocol methodologies (AMM/CLMM, lending, perps, oracles, stablecoins, liquid staking, go, bridges, multisig/custody, Token-2022, NFT marketplaces, launchpads, token registries & risk signals), framework idioms (Anchor/Nati), and a reusable in catalog — loaded only when the code triggers them.

  • Rigor gates against AI o. A gate (reachability + math/state-bounds + attacker-model) every high-se finding must survi×Likelihood se with principled downgrades, and a Notes & Nitpicks tier that keeps the findings table honest.

  • Real tooling, . Trail of Bits execution plugins (SAST, fuzzing, co, mutation) ship as a submodule; the nati works fully without them.
  • Documentation

    | Guide | What's inside |
    |-------|---------------|
    | docs/getting-started.md | Install, submodule init, build the Rust tools, run your first audit |
    | docs/audit-flows.md | The lifecycle and when to use each flow (/audit, /audit-cycle, /audit-assist, /re-audit) |
    | docs/commands.md | Reference for all 15 commands |
    | docs/agents.md | The 8-agent roster and how they chain |
    | docs/power-tools.md | audit-scan, audit-mem, Trail of Bits, Surfpool, PoC/patch harnesses |
    | docs/poc-and-patches.md | Executable exploit + fix-patch delivery |
    | docs/output-and-rigor.md | Se, the Rule 5b gate, scope-gated loading, report format |

    ---

    Supported Languages & Frameworks

    | Language | Checklists | Items |
    |----------|-----------|-------|
    | Rust (Solana/Anchor) | 01-07 | 524 |
    | Rust (off-chain services) | 20 | 21 |
    | TypeScript / Node.js | 08-09 | 195 |
    | React / Next.js | 08, 10 | 148 |
    | Python | 14 | 82 |
    | Go / Java / Ruby / PHP | 15 | 88 |
    | AI / agent components | 19 | 33 |
    | Always applied (any repo) | 11-13, 16-18 | 397 |
    | Total | 20 | 1,424 |

    ---

    Installation

    Option 1: Claude Code plugin marketplace (recommended)

    Registers the marketplace and installs the auditor plugin — all 15 /auditor:* commands and 8 agents. Then initialize the Trail of Bits execution tooling once (optional but recommended):

    Option 2: Install script (any project)

    Drops the skill into your project's .claude/skills/ and inits the tooling:

    Option 3: Clone into your project manually

    Claude Code auto-discovers skills under .claude/skills/; invoke by asking your agent to "audit this repo using the auditor-skill" (use Option 1 for the /auditor:* slash commands). For other agents (Cursor, Windsurf, Copilot, Codex), copy the folder anywhere the agent reads and point it at SKILL.md.

    Option 4: Feed files to the API directly

    If you're building a service, send SKILL.md + OUTPUT-RULES.md + FULL-AUDIT.md as system context and the target repo files as user content to any LLM API.

    Tool execution (Trail of Bits) + optional Rust tools

    auditor-skill Trail of Bits as a git submodule (/trailofbits) for real tool execution — SAST, fuzzing, co, mutation. Options 1 and 2 init it for you; to do it manually:

    The nati works fully without it (it falls back to grep-based checks and notes where deeper tooling would run). With the submodule initialized, the auditor delegates to the tools per references/orchestration/boundary-map.md. For the optional token-efficiency tools (audit-scan pre-scanner + audit-mem memory), build the Rust CLIs:

    ---

    Before Running an Audit

    Scope-Gated Intake (v5.0)

    auditor-skill does not bulk-read its whole corpus. It discovers the repo, declares an audit scope (OUTPUT-RULES.md Rule 0), and loads only the in-scope checklists and on demand:

  • root docs + OUTPUT-RULES.md (always),

  • only the checklists/*.md the detected languages require (e.g. 14-python-safety.md only if .py is present),

  • a known-/*.md file only when its phase + language trigger reaches it,

  • discovery/*.md and templates/*.md lazily, at the phase that uses them.
  • The audit is complete when every in-scope item has an explicit ; out-of-scope items render [N/A — out of scope] from the gate.

    1. Fill out the questionnaire: Copy QUESTIONS.md and answer all questions. This tells the auditor what checklists to apply, what se calibration to use, and what compliance frameworks matter.

    2. Review estimated costs: Check COSTS.md for token/dollar estimates based on your repo size and chosen model.

    3. Choose your scope:

    | Scope | What It Covers | Estimated Time (50K lines) |
    |-------|---------------|---------------------------|
    | FULL | E — all 20 checklists + 137 | 60-90 min |
    | PROGRAM | Smart contract only (checklists 01-07) | 20-35 min |
    | BACKEND | Backend API (checklists 08-09) | 15-25 min |
    | FRONTEND | Frontend (checklists 08, 10) | 15-25 min |
    | DEVOPS | Infra + supply chain (checklists 11-13) | 10-15 min |
    | QUICK | Known only (grep-based scan) | 5-10 min |

    ---

    Folder Structure

    ---

    Audit Flows

    Beyond one-shot /audit, two flows run a full audit-company lifecycle end-to-end:

  • /auditor:audit-cycle — a fully automated audit-agent team (scope → context reconstruction → tool-assisted pass → parallel manual review with leaf-le gating → independent peer reconciliation → synthesis) that produces a professional client report at audit_<n>/REPORT.md. Optional PDF (needs pandoc):
  • /auditor:audit-assist — an AI-assisted, human-in-the-loop flow: it pauses at checkpoints to surface findings and ask the questions only you can answer (business context, trust model, se calls), iterating until the audit document con.

  • /auditor:re-audit — fix-review: diffs against a prior report (FIXED / STILL-OPEN / REGRESSED) and sweeps for un-patched siblings of each fixed bug.
  • Every intermediary step is also addressable on its own: /auditor:intake (persisted scoping), /auditor:threat-model (asset/actor/trust-boundary artifact), /auditor:triage (dedup + false-positi), and /auditor:poc / /auditor:patch (executable exploit + fix). Full command reference: docs/commands.md.

    The client report follows professional firm con — executi, commit-pinned scope, findings with PoC/reachability, a code-maturity assessment, disclaimers. Like real firms, it does not issue a "safe to deploy" guarantee. Method + firm co: references/audit-lifecycle/.

    ---

    Output Format

    The audit produces a structured markdown report with:

    1. Executi — risk score (1-10), deploy/no-deploy , se distribution
    2. Instruction Matrix — every smart contract instruction mapped
    3. State Model — account structs, PDA seeds, relationships
    4. Per-Item — every in-scope checklist item (up to 1,424) with [PASS], [FAIL-N], [PARTIAL], or [N/A]
    5. Known Results — each in-scope attack (up to 137) with explicit and e
    6. Findings — deduplicated, se
    7. Attack Scenarios — narrati paths
    8. Aggregate Score — PASS/PARTIAL/FAIL percentages
    9. Recommendations — prioritized fix list

    For High/Critical findings, an optional audit_<n>/poc/ (runnable exploits that assert the bug) and audit_<n>/patches/ (minimal fixes proven to revert the exploit) accompany the report — see docs/poc-and-patches.md.

    See OUTPUT-RULES.md for the complete specification.

    ---

    How to Invoke

    VS Code / GitHub Copilot

    Cursor / Windsurf

    Claude Code (CLI)

    API (programmatic)

    ---

    Contributing

    Read CONTRIBUTING.md first — branch + PR flow (nothing lands on main directly), the corpus-count consistency rule enforced by scripts/check-corpus.sh in CI, and the no-AI-attribution commit policy (enable the hook with git config core.hooksPath scripts/hooks).

    Adding a New Attack

    1. Create known-/NNN-short-name.md with the next a number
    2. Use this template:

    grep command or check to perform
    \

    3. Add the entry to known-/INDEX.md
    4. Submit a PR

    Adding Checklist Items

    1. Open the relevant checklist in checklists/
    2. Add new items following the existing format (ID prefix + sequential number)
    3. Update the item count in SKILL.md

    Updating Cost Estimates

    If model pricing changes, update COSTS.md with new rates.

    ---

    Benchmarking

    This auditor was designed by comparing methodology from:

    | Standard | Domain | What We Took |
    |----------|--------|-------------|
    | CertiK | Crypto audit | On-chain taxonomy, formal approach |
    | EY / SOC 2 | Enterprise IT audit | Control objectives, e requirements |
    | OWASP Top 10:2025 | Web security | Attack categories, se calibration |
    | NIST SP 800-53 | Go security | Control framework structure |
    | COBIT 2019 | IT go | Process maturity model |
    | GDPR / MiCA / DORA | EU regulation | Compliance checklist items |

    ---

    License

    MIT — use it, fork it, improve it, sell services built on it. Attribution appreciated but not required.

    ---

    FAQ

    Q: Does this replace a professional audit?
    A: It covers more items than most paid audits (1,424 plus 137 known- checks 50-200), but an AI auditor cannot do e a human can (social engineering assessment, business logic review requiring domain expertise, legal compliance opinions). Use this as a first pass, then hire humans for what it flags.

    Q: Which AI model should I use?
    A: See COSTS.md. For maximum depth, use Opus 4 or o3. For best value, use Sonnet 4 or GPT-4.1. For CI/CD integration (fast, cheap), use Haiku or o4-mini.

    Q: How long does an audit take?
    A: Depends on repo size and model. A 50K-line repo takes 60-90 minutes with Opus 4. See COSTS.md for full estimates.

    Q: Can I use this in CI/CD?
    A: Yes — run the QUICK scope (known grep scan) on every PR, and FULL scope on release branches.

    Q: Can I use this for non-Solana projects?
    A: Yes — checklists 08-18 are language-agnostic or co/Go/Java/Ruby/PHP. Checklists 01-07 are Solana-specific.

    ---

    Acknowledgments

    auditor-skill stands on the shoulders of two open-source security projects — credited in full in ATTRIBUTION.md:

  • Frank Castle — safe-solana-builder (MIT): Solana security depth — reward/staking accounting, Token-2022 extension abuse, framework idioms, zero-copy footguns — adapted natively and re-authored audit-side.

  • Trail of Bits — skills (CC-BY-SA 4.0): tool-execution methodology (SAST, fuzzing, co, mutation, IR analysis), as a git submodule at /trailofbits and orchestrated for real execution; methodology patterns re-implemented natively are credited by reference.
  • All third-party methodology is used by *reference* — no third-party text is copied into this repository.

    项目信息

    开发语言:Rust

    Star 数:58

    技术要点

    该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Claude Code / agentic security skill for Solana programs and software. Full audit-firm lifecycle, executable PoC + fix-patch delivery, a Rust pre-scanner + cross-audit memory, 1,346 checks across 20 checklists, and 131 real-world attack vectors.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题auditor-skill - Claude Code / agentic security skill for Solana pr
    所属分类安全软件
    发布作者admin
    发布时间2026-10-05 22:44:59
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数316
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册