AGENT SKILL

vuln-audit

识别二进制缺陷、输入可控性、触发条件与影响范围,适用于漏洞预筛和根因分析。程序语义问题交 ghidra-static,可靠利用构造交 pwn-exploit。

License 许可
MIT
最近更新
2026-11-15
Stars
★ 81
Forks
17

01 前言 Front Matter

name
vuln-audit
description
识别二进制缺陷、输入可控性、触发条件与影响范围,适用于漏洞预筛和根因分析。程序语义问题交 ghidra-static,可靠利用构造交 pwn-exploit。

02 资源文件 6

03 SKILL.md 正文

vuln-audit

输入与输出

输入是目标样本/源码片段、范围和已知入口;输出是缺陷位置、可控输入、路径条件、影响、证据与待验证项。

从输入源到危险操作追数据流,按实际线索查 references/vuln-patterns.md:内存边界、格式化字符串、释放后使用、整数运算、命令构造、随机数和密钥。危险 API 命中是候选;xrefs 不完整不证明不可达。区分崩溃、越界、可控性与稳定利用能力。

有新旧版本时按 references/patch-diff.md 找候选根因,并用具体输入对照行为。优先最小复现实验;环境或授权不足时明确未验证范围。审计交付缺陷及触发条件,不强制构造完整 exploit。执行 Ghidra 操作时加载 ghidra-core,动态实验加载 re-dynamic。

会话与交接

按当前问题选方法,可静态先行、动态先行或直接建模。连续实验没有新增证据时盘点前提和可区分解释的实验;时间盒用于复查,可说明价值后继续原路线。

简单单点查询记录最小证据即可;多阶段、恢复或协作任务按需使用 analysis-session,记录关键结论、目标代次、实验干预和未决问题。普通工具事件由运行层记录。候选与外部接受分别说明,可交付限定范围的未完成报告。共享项目写操作协调所有权;未获变更权时先只读。

按需资料

文件 何时读
Fuzzing 与复现 需要扩大输入探索时:harness、有效覆盖、崩溃归因与缩减
references/vuln-patterns.md 漏洞模式检查项清单(识别信号/命令/判定标准/误报)——审计主文档
references/patch-diff.md 有补丁前后两版二进制时:ghidriff/version-track 差分 → 根因反推 → PoC 思路(N-day)

04 同仓库更多 Skills

jiayaoqijia
jiayaoqijia/cryptoskill

troves

Deposit and withdraw from Troves DeFi yield vault strategies on Starknet. View available strategies, check positions, and manage vault deposits. Use this skill when the user mentions Troves, vault, yield vault, DeFi vault, strategy, yield farming, vault deposit, vault withdraw, earning yield through vaults, passive yield strategies, or wants to deposit into or withdraw from a yield strategy — even if they don't say "Troves" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

trade

Swap tokens on Starknet via Fibrous DEX aggregator. Supports per-provider selection (avnu, ekubo, or auto to race all). Use this skill when the user wants to swap, exchange, trade, convert, buy, or sell one token for another on Starknet. Also use when the user asks about token prices, exchange rates, DEX routing, best swap route, or wants to check how much they would receive for a given amount — even if they don't explicitly say "swap".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

staking

Stake, unstake, claim, and compound rewards for STRK, WBTC, tBTC, SolvBTC, and LBTC on Starknet. View validators, pools, and staking positions. Use this skill when the user mentions staking, delegating, validators, staking pools, rewards, compounding, unstaking, earning yield, passive income on crypto, or wants to earn on their STRK or BTC tokens — even if they don't say "stake" explicitly.

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

send

Send STRK, ETH, or any ERC-20 token to a Starknet address. Supports simulation (dry-run) before execution. Use this skill when the user wants to send, transfer, pay, tip, or move tokens to another wallet address on Starknet. Also trigger when the user mentions sending funds to someone, making a payment, transferring assets, or moving crypto to a specific address — even if they just say "pay 10 STRK to 0x...".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

portfolio

View a comprehensive DeFi portfolio dashboard and optimize portfolio allocation via automated rebalancing. Use this skill when the user wants an overview, summary, dashboard, total value, net worth, portfolio rebalancing, target allocation, or wants to see all their DeFi positions across Starknet at once. Also trigger when the user asks "what do I have", "show me everything", "how much am I worth", "my positions", "my investments", "rebalance my portfolio", "I want 50% ETH", "optimize my holdings", or any request for a holistic view of their Starknet holdings — even if they don't explicitly say "portfolio".

★ 81
jiayaoqijia
jiayaoqijia/cryptoskill

multi-swap

Execute multiple token swaps in a single Starknet transaction via Fibrous (default). Supports per-provider selection (avnu, ekubo, or auto to race all). Supports 2-3 swap pairs bundled into one multicall. Use this skill when the user wants to swap multiple token pairs at once, do batch swaps, execute several trades simultaneously, perform parallel swaps, or do bulk trading in one transaction. Also trigger when the user mentions "two swaps", "three swaps", "swap X and Y at the same time", or wants to convert multiple tokens in a single call.

★ 81