vuln-audit SKILL.md skillA

vuln-audit from cristallin2006/ghidra-skill-for-dsh is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add cristallin2006/ghidra-skill-for-dsh/vuln-audit@git:20260922.0fbfbd4

Pins git:20260922.0fbfbd4 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
cristallin2006/ghidra-skill-for-dsh
Path
vuln-audit/SKILL.md
Versions recorded
5
Latest version
git:20260922.0fbfbd4, committed Sep 22, 2026
First version recorded
Sep 15, 2026
Size
3,332 bytes
Repository stars
11
License
MIT

按清单系统性排查二进制漏洞模式(vulnerability audit / pwn 预筛):内存破坏、格式化字符串、整数溢出、命令注入、危险 API 组合。触发:漏洞审计、找漏洞、pwn 攻击面梳理、fuzz 前目标筛选、SRC 静态预筛。是 checklist 知识层——具体命令见 ghidra-core。动手前必须先用 skill 工具加载本 skill 全文并遵守其流程;一切观察/结论用 ledger.py 落账。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Vuln Audit(场景 3:它有没有病?)

前置:未知样本先分诊 → `~/.dsh/skills/re-triage`/后继:命中漏洞模式后的利用构造(pwn 方法论,超出本 skill)/执行细节(命令参数)→ `~/.dsh/skills/ghidra-core`

本 skill 是 **checklist 知识层**:方法论和判定标准在这里,命令只有用法示意,参数细节一律见 ghidra-core §5。

## 路径约定

```bash
SK="$HOME/.dsh/skills/ghidra-core/scripts"     # 唯一代码家
# Windows:
RPC="$HOME/Desktop/src/ghidra-bridge/ghidra-rpc-venv/Scripts"  # ghidra-rpc CLI
# WSL/Linux: RPC="$HOME/ghidra-rpc-venv/bin"
```

## 审计流程

1. `python "$SK/rpc_driver.py" ensure <bin>` + `triage`:拿到 imports 全貌与可疑 API 六组命中——这是第一轮粗筛
2. 按 `references/vuln-patterns.md` 的**检查项清单**逐项过:每项给出识别信号、用什么命令查、判定标准、常见误报
3. 每个命中项记录:地址 / 证据(伪码或汇编摘录)/ 可达性(用户输入能否到达)/ 严重度初判
4. **可达性优先于模式数量**:一个用户输入直达的 strcpy 胜过十个内部路径的 gets。用 `xrefs-to` 确认调用者、用 `decompile` 追输入来源(main 参数/recv/read/文件/环境变量)
5. 交付:命中清单 + 每项证据 + 建议的 fuzz/动态验证入口(动态工具是否已装以 `python "$SK/doctor.py"` 的 toolchain 节为准,未装的按 hint 装或改静态验证)

## 覆盖的检查项(细则在 references/vuln-patterns.md)

- 栈溢出(gets/strcpy/sprintf/strcat vs 边界检查版)
- 格式化字符串(printf(用户输入))
- 堆问题(UAF / double-free 的 free 后指针未清零模式)
- 整数溢出(malloc 前算术)
- 命令注入(system/popen/ShellExecute 拼用户输入)
- 危险 API 组合(对应 triage 可疑六组)
- 不安全的随机数(rand/srand(time) 作安全用途)
- 硬编码密钥/口令特征

## 与其他 skill 的分水岭
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cristallin2006/ghidra-skill-for-dsh/vuln-audit@sha256:1fb1a282d5e4e3ff

The line at the top of this page pins the label git:20260922.0fbfbd4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_zr7qc5q2st36ldos.svg)](https://markdownregistry.com/a/art_zr7qc5q2st36ldos)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Sep 15, 2026 and Sep 22, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20260922.0fbfbd4 latest2026-09-22 0fbfbd4 3,332 BA view · diff
git:20260922.6233b3e2026-09-22 6233b3e 3,190 BA view · diff
git:20260921.58c776a2026-09-21 58c776a 3,071 BA view · diff
git:20260920.b1edfef2026-09-20 b1edfef 3,015 BA view · diff
git:20260915.a6fffc72026-09-15 a6fffc7 2,958 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3332 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

cristallin2006/ghidra-skill-for-dsh · 11 stars · license MIT · pushed 2026-10-11 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_zr7qc5q2st36ldos
GET https://markdownregistry.com/api/v1/resolve?ref=cristallin2006/ghidra-skill-for-dsh/vuln-audit
GET https://markdownregistry.com/api/v1/blob/1fb1a282d5e4e3ff225198b935cdbd8a34e114ee7bd965f83cdd4cbd6e0ade44

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from cristallin2006/ghidra-skill-for-dsh

android-re SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · android-re/SKILL.md · Android/APK 逆向(纯 DEX / Java 层,APK reversing):APK 分诊(结构/签名/Manifest/多 dex 自有类统计/flag 全扫)、反编译与校验点定位(jadx/smali)、adb…
git:20260925.aecf4b4 · audit A · 11 stars
ghidra-core SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · ghidra-core/SKILL.md · Ghidra headless 执行底座(execution engine)——rpc_driver/ghidra-rpc 命令、daemon 起停、doctor 环境自检、脚本清单。当需要实际运行任何 Ghidra…
git:20261011.c73ee62 · audit A · 11 stars
ghidra-static SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · ghidra-static/SKILL.md · 对已建立基本认知的二进制做静态深挖(static analysis / reverse engineering):反编译(decompile)、xref 追数据流、语义标注、patch…
git:20261008.272fbf0 · audit A · 11 stars
pwn-exploit SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · pwn-exploit/SKILL.md · CTF 二进制利用(pwn):栈溢出/ROP/ret2libc/SROP/格式化字符串/堆利用(tcache/House of X)/FSOP/seccomp 沙箱 ORW/内核 pwn…
git:20261003.703f9a9 · audit A · 11 stars
re-dynamic SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · re-dynamic/SKILL.md · 让二进制跑起来观察行为(dynamic analysis):直接运行(ELF 走 WSL、PE 走本机)、函数级 Oracle(单函数调用+观察输入输出)、Frida 插桩、gdb/qiling…
git:20260926.11ae325 · audit A · 11 stars
re-triage SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · re-triage/SKILL.md · 未知二进制的第一步(file triage / sample identification):判文件类型(PE/ELF/Mach-O/固件/APK)、语言(C/C++/Go/Rust/.NET/Python)、壳(packer…
git:20261009.2063994 · audit A · 11 stars
re-unpack SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · re-unpack/SKILL.md · 对已确认或疑似加壳的二进制执行脱壳与验证(unpacking / deobfuscation):UPX/ASPack/Themida/VMProtect/MPRESS,PyInstaller…
git:20260922.6233b3e · audit A · 11 stars
traffic-analysis SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · traffic-analysis/SKILL.md · CTF 流量分析与网络取证(pcap / network forensics):pcap 分诊、DNS/ICMP/TCP 隐信道与隧道重组(covert channel / tunneling)、USB HID…
git:20260928.af4f3a7 · audit A · 11 stars

Every file in cristallin2006/ghidra-skill-for-dsh

Browse by kind, by grade A, or by owner.