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.03776 |
| Opus 5.5 | $0.00021 | $0.01510 |
| Sonnet 5.5 | $0.00010 | $0.00755 |
| Haiku 4.5 | $0.00005 | $0.00378 |
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 2mo 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 — 155 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]])
- 不用:脚本完全可读(直接读逻辑,无需本技能)
- 注意:动态执行默认沙箱([[re-analyze/platform-tips]] 最高原则)——静态解码不执行可免沙箱,任何"运行脚本取下一层"的步骤必须进 [[re-sandbox]]
工具准备
参考 [[re-analyze/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.
- 2mo ago Changed · +1 lines c29ca3464258
- 2mo 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 (275 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 3,776 once invoked, about $0.0002 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-09-03.
re-script-deob compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| re-script-deobdslsdzc/rev-skills | Skill | 275 | 1mo ago | Apache-2.0 | A | 52 | Claude Code |
| analyzing-golang-malware-with-ghidraYoungmaidainon/Agent-Level-Up | Skill | 4 | 3mo ago | MIT | A | 95 | 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 | 4d ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| reverse-engineering-shellcodemeltedinhex/analyst-ai-pack | Skill | 25 | 4d ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| reverse-engineering-arm-binariesmeltedinhex/analyst-ai-pack | Skill | 25 | 4d ago | Apache-2.0 | A | 69 | Claude Code, Codex |