Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add dslsdzc/rev-skills --skill re-fw-extractgit clone --depth 1 https://github.com/dslsdzc/rev-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dslsdzc/rev-skills/re-fw-extract)<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-fw-extract"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-fw-extract/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-fw-extract"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-fw-extract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.05536 |
| Opus 5.5 | $0.00028 | $0.02214 |
| Sonnet 5.5 | $0.00014 | $0.01107 |
| Haiku 4.5 | $0.00007 | $0.00554 |
Grade A, and why
re-fw-extract scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
固件提取与解包
何时使用 / 何时不用
- 用:拿到固件文件(.bin / .img / 升级包 / IoT 镜像)需要解开看内容
- 用:需要判断固件打包方式、架构与字节序
- 不用:已是文件系统镜像 / rootfs(直接走 [[re-fw-rootfs]])
- 不用:需要运行固件观察行为(走 [[re-fw-emulate]])
- 不用:需实物板子硬件提取(走 [[re-hardware-io]])
工具准备
所有工具先验证再使用。解包与 magic 扫描是纯静态分析,可免沙箱([[re-analyze/platform-tips]] 最高原则);解出产物要运行时转 [[re-fw-emulate]]。
binwalk —— 自动解包主力
binwalk 有两条并存的产品线,装前先分辨:v3(Rust 重写)是 upstream 当前主线,v2(原 Python 实现)属 legacy,两者的参数集合与模块支持不同。
- v3(当前主线):按官方 README 的渠道安装——Docker 镜像 /
cargo install binwalk/ 源码构建。upstream 已不再把 pip 当作安装入口 - v2(legacy):PyPI 的
binwalk包停在 2.1.0(2015-01),各发行版仓库包同属 2.x 线(Debian trixie 2.4.3、bookworm 2.3.4)- Linux:
apt install binwalk(Debian/Ubuntu)/dnf install binwalk/pacman -S binwalk - pip:
pip install binwalk - macOS:
brew install binwalk - Windows/WSL: Windows 本机无官方包,用 WSL 内 Linux 版
- Linux:
- 验证:
binwalk --version——使用前先确认 major。本技能的命令示例(-e/-M/-E)在 v2 与 v3 均保留;需要 v3 的其它参数时按实际版本查binwalk --help
unblob —— 更准的自动解包(推荐主力)
- 跨平台:
pip install unblob(依赖较多,建议 venv:python3 -m venv venv && venv/bin/pip install unblob) - 各发行版基本无官方包,用 pip
- 验证:
unblob --version
dd —— 按偏移切分
- Linux/macOS: coreutils 自带(macOS 自带 /usr/bin/dd)
- Windows/WSL: WSL 内 Linux 版;Windows 本机用 Git Bash 自带 dd 或 WSL
- 验证:
dd --version
hexdump —— 十六进制查看与手工 magic 扫描
- Linux:
apt install bsdmainutils(Debian/Ubuntu)/dnf install util-linux(Fedora/RHEL,含 hexdump) - macOS: 自带 /usr/bin/hexdump
- Windows/WSL: WSL 内 Linux 版
- 验证:
hexdump -C /dev/null(无报错即可用;macOS 版无--version)
sasquatch —— 老式/厂商魔改 squashfs 解包
- Linux: 源码编译(
git clone https://github.com/devttys0/sasquatch,需apt install zlib1g-dev liblzma-dev build-essential后make) - macOS: 同上源码编译(需 Xcode Command Line Tools)
- Windows/WSL: WSL 内编译
- 验证:
sasquatch -h输出用法(编译产物在仓库子目录,需加入 PATH)
操作步骤
按顺序执行,每步记下结果。
- 自动解包(unblob 优先,binwalk 兜底):
产物:unblob firmware.bin # 更准,自动识别 50+ 容器格式并递归解包 # 或 binwalk: binwalk firmware.bin # 先列出签名与偏移 binwalk -Me firmware.bin # -M 递归 -e 提取firmware.bin/(unblob)或_firmware.bin.extracted/(binwalk)目录。解出的文件系统转 [[re-fw-rootfs]],ELF 转 [[re-binary-core]]。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +4 lines c5aec28dc9ca
- 2mo ago Changed · +1 lines 1f85d3d62ae3
- 3mo ago First seen · 169 lines · 70 tokens per session scan A b3f05c8d4d32
re-fw-extract is a skill published in the GitHub repository dslsdzc/rev-skills (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 5,536 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
re-fw-extract compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| re-fw-extractdslsdzc/rev-skills | Skill | 275 | 1mo ago | Apache-2.0 | A | 70 | Claude Code |
| analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 95 | Claude Code, Codex |
| reverse-engineering-arm-binariesmeltedinhex/analyst-ai-pack | Skill | 25 | 3d ago | Apache-2.0 | A | 69 | Claude Code, Codex |
| analyzing-golang-malware-with-ghidramukul975/Anthropic-Cybersecurity-Skills | Skill | 37k | 3mo ago | Apache-2.0 | A | 95 | Claude Code |
| analyzing-golang-malware-with-ghidra26zl/cybersec-toolkit | Skill | 114 | today | MIT | A | 95 | Claude Code |
| reverse-engineering-binaries-with-ghidrameltedinhex/analyst-ai-pack | Skill | 25 | 3d ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| performing-iot-security-assessmentxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | C | 97 | Claude Code, Codex |