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-script-deobgit 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-script-deob)<a href="https://agentmods.dev/skills/dslsdzc/rev-skills/re-script-deob"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-script-deob/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-script-deob"><img src="https://agentmods.dev/badge/skills/dslsdzc/rev-skills/re-script-deob.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.00052 | $0.03758 |
| Opus 5 | $0.00026 | $0.01879 |
| Sonnet 5 | $0.00010 | $0.00752 |
| Haiku 4.5 | $0.00005 | $0.00376 |
Grade A, and why
re-script-deob 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 9d 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
脚本/宏去混淆(PowerShell / VBA / JavaScript)
何时使用 / 何时不用
- 用:.ps1 / .docm / .xlsm / .js / .jse / .hta 等脚本与宏的混淆还原(编码、字符串拼接、执行链)
- 用:钓鱼附件宏、恶意下载器脚本([[re-malware]] → [[re-managed]] 路径)
- 不用:编译产物(native 走 [[re-binary-core]]、.NET 走 [[re-dotnet]]、Java 走 [[re-java]])
- 不用:脚本完全可读(直接读逻辑,无需本技能)
- 注意:动态执行默认沙箱([[platform-tips]] 最高原则)——静态解码不执行可免沙箱,任何"运行脚本取下一层"的步骤必须进 [[re-sandbox]]
工具准备
参考 [[platform-tips]]——本技能静态解码为主,免沙箱;执行链跟踪中需要运行时(跑脚本/开宏)的步骤按最高原则进沙箱。
python3(解码主力)
- Linux:
apt install python3/dnf install python3/pacman -S python - macOS: 自带;Windows: 官方安装器或
choco install python - 验证:
python3 --version
oletools(VBA 宏提取/解码,可选但强烈建议)
pip install oletools(依赖 pyparsing 自动装上)- 验证:
olevba --help
xxd / sed(十六进制与文本处理)
- Debian/Ubuntu:
apt install xxd(新版本独立包,旧版本在vim-common);Fedora:dnf install vim-common(xxd 传统由 vim-common 提供,F38+ 也有独立xxd子包);Arch:pacman -S xxd - macOS: 自带(vim 附送)
- Windows: 无自带 xxd——用 WSL 或 PowerShell
Format-Hex - sed 全平台自带;验证:
xxd -v && sed --version
PowerShell(Windows 内置)/ pwsh(Linux/macOS)
- Windows: 内置
powershell.exe(或 PowerShell 7pwsh) - Linux:
apt install powershell(Microsoft 源)或snap install powershell;macOS:brew install --cask powershell - 验证:
pwsh --version
js-beautify(JS 美化,可选)
pip install jsbeautifier;验证:js-beautify --version
操作步骤
按顺序执行;每层还原结果存档编号(layer_01.ps1 → layer_02.ps1 …),执行链跟踪中"运行脚本拿下一层"的步骤一律在沙箱内。
- 识别脚本类型与混淆风格:
file sample.ps1 && head -c 512 sample.ps1 grep -oiE 'IEX|Invoke-Expression|-EncodedCommand|FromBase64String|eval\(|unescape|fromCharCode|Chr\(|StrReverse|Document_Open|AutoOpen' sample.ps1- PowerShell 特征:
-EncodedCommand/IEX/FromBase64String/[Convert]:: - VBA 特征:
Sub AutoOpen/Document_Open/Chr(/StrReverse/Evaluate/Shell - JS 特征:
eval(/unescape/fromCharCode/\xHH十六进制 /document.write - 混淆风格分类:纯编码(base64/hex/char-code)、字符串拼接(
'co'+'mmand')、执行链(外层 IEX/eval 嵌套内层载荷)、字符反转/替换
- PowerShell 特征:
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.
- 9d ago First seen · 154 lines · 52 tokens per session scan A 6813c49ece41
re-script-deob is a skill published in the GitHub repository dslsdzc/rev-skills (54 stars, last pushed 14d ago), licensed Apache-2.0. It adds 52 tokens to every session and 3,758 once invoked, about $0.0003 per session on Opus 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-09-03.
Other skills, from other repositories
analyzing-golang-malware-with-ghidra
Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…
analyzing-golang-malware-with-ghidra
Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…
Reverse Engineering & Binary Analysis
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering.
analyzing-golang-malware-with-ghidra
Reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries.
reverse-engineering-arm-binaries
Reverse engineers ARM/AArch64 malware by identifying the architecture and instruction set state (ARM/Thumb), parsing ELF/Mach-O ARM headers, and orienting analysis around the ARM calling convention. Activates for requests to reverse ARM binaries, analyze AArch64 malware, or handle ARM/Thumb instruction-set decoding.
reverse-engineering-binaries-with-ghidra
Uses Ghidra to disassemble and decompile a binary, navigate to key routines via imports and strings, annotate decompiled code, and run headless scripts to automate extraction of C2, crypto, and config. Activates for requests to reverse engineer with Ghidra, decompile a binary, or script Ghidra headless analysis.