re-triage SKILL.md skillA

re-triage 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/re-triage@git:20261009.2063994

Pins git:20261009.2063994 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
re-triage/SKILL.md
Versions recorded
7
Latest version
git:20261009.2063994, committed Oct 9, 2026
First version recorded
Sep 22, 2026
Size
12,437 bytes
Repository stars
11
License
MIT

未知二进制的第一步(file triage / sample identification):判文件类型(PE/ELF/Mach-O/固件/APK)、语言(C/C++/Go/Rust/.NET/Python)、壳(packer detection)、威胁面,决定后续路线(静态深挖/动态/换工具)。触发:新样本、未知 exe/elf/bin/固件、"看看这个文件"、疑似加壳、恶意样本分诊(malware triage)。只做判断和路线决策,不做深挖——要深挖去 ghidra-static。动手前必须先用 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

# RE Triage(场景 1:这是什么?)

前置:无(本 skill 是逆向工作流入口)/后继:检出壳 → `~/.dsh/skills/re-unpack`;判型完成要深挖 → `~/.dsh/skills/ghidra-static`;目的是找漏洞 → `~/.dsh/skills/vuln-audit`;具体命令 → `~/.dsh/skills/ghidra-core`;**输入是 pcap/抓包文件 → 不归本 skill,直接去 `~/.dsh/skills/traffic-analysis`**

> **铁律 4(Triage 硬门)**:未记录 imports(DLL/SYS 还要 exports)+ 语言/壳判定之前,MUST NOT 进入深挖或动态分析。导入表只有 kernel32/ntdll 且极少 → 高度怀疑 `LoadLibrary`+`GetProcAddress` 动态加载,禁止宣称"无网络/无文件能力"。(全文见 ghidra-core §1)
>
> **证据台账**:开工即落账——每次区域观察走 ghidra-core `scripts/ledger.py observe`(首次入账自动建账);新会话接手旧样本先 `ledger.py status` + 读 `<ws>/out/<样本名>.ledger.md` 再动手。机制见 ghidra-core `references/evidence-ledger.md`。

## 路径约定

```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"
```

> 路由表提到的外部工具(checksec/GoReSym/rustfilt 替代/dnSpyEx 等)是否已装:`python "$SK/doctor.py"` 的 toolchain 节为准;未装的按其 hint 装或走对应 skill 的失败阶梯。

## 流程(5~15 分钟,强制起点)

1. **ensure + triage 一把出**(daemon 没起就起、样本没 load 就 load,含全量分析):

```bash
python "$SK/rpc_driver.py" ensure /path/to/sample
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cristallin2006/ghidra-skill-for-dsh/re-triage@sha256:bce6dfc393d40768

The line at the top of this page pins the label git:20261009.2063994, 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_yfcc64ywjhzdsb3q.svg)](https://markdownregistry.com/a/art_yfcc64ywjhzdsb3q)

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

Versions

The registry has recorded 7 versions of this file, between Sep 22, 2026 and Oct 9, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261009.2063994 latest2026-10-09 2063994 12,437 BA view · diff
git:20261008.272fbf02026-10-08 272fbf0 11,825 BA view · diff
git:20260927.b271a4f2026-09-27 b271a4f 11,084 BA view · diff
git:20260926.11ae3252026-09-26 11ae325 10,968 BA view · diff
git:20260925.4bbd8492026-09-25 4bbd849 10,780 BA view · diff
git:20260925.6e1a3672026-09-25 6e1a367 9,986 BA view · diff
git:20260922.0fbfbd42026-09-22 0fbfbd4 9,760 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 (12437 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_yfcc64ywjhzdsb3q
GET https://markdownregistry.com/api/v1/resolve?ref=cristallin2006/ghidra-skill-for-dsh/re-triage
GET https://markdownregistry.com/api/v1/blob/bce6dfc393d40768954428676b08f79ce1f8fc1cd00d1b638b686c67ad63e6d4

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-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
vuln-audit SKILL.md skill
cristallin2006/ghidra-skill-for-dsh · vuln-audit/SKILL.md · 按清单系统性排查二进制漏洞模式(vulnerability audit / pwn 预筛):内存破坏、格式化字符串、整数溢出、命令注入、危险 API 组合。触发:漏洞审计、找漏洞、pwn 攻击面梳理、fuzz 前目标筛选、SRC…
git:20260922.0fbfbd4 · audit A · 11 stars

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

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