AGENT SKILL

re-binary

Use when reverse-engineering a declared binary, library, APK, firmware image, or script artifact under an engagement contract (native code, .NET, Java/Android, Electron/JS, browser extensions). Routes to extensions/rea-ops/wrapper.py, a whitelist passthrough to the rea-agents CLI (Hopper/Ghidra engines probed via doctor).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
re-binary
triggers
[ "user", "model" ]
description
Use when reverse-engineering a declared binary, library, APK, firmware image, or script artifact under an engagement contract (native code, .NET, Java/Android, Electron/JS, browser extensions). Routes to extensions/rea-ops/wrapper.py, a whitelist passthrough to the rea-agents CLI (Hopper/Ghidra engines probed via doctor).

03 SKILL.md 正文

RE Binary

Reverse engineering via extensions/rea-ops/wrapper.py -- thin passthrough to rea-agents (morluto/rea) over npx. The REA MCP server is deliberately not used (126 tools exceed the per-server budget); the CLI preserves REA's contract/evidence model.

Contract (mandatory)

--target (artifact path), --window, --roe on every exec subcommand. Analysis is read-only; destructive host actions are out of scope.

Commands

W=extensions/rea-ops/wrapper.py

python $W doctor          # node/npx/REA + engines (Hopper/Ghidra/...)
python $W capabilities    # whitelisted subcommands + invoker
python $W analyze  --target <path> --window <w> --roe <r> [-- <rea args>]
python $W inspect  --target <path> --window <w> --roe <r>
python $W search   --target <path> --window <w> --roe <r> -- <query>
python $W function --target <path> --window <w> --roe <r> -- <addr|name>
python $W xrefs    --target <path> --window <w> --roe <r> -- <addr|name>
python $W trace    --target <path> --window <w> --roe <r> -- <spec>
python $W compare  --target <path> --window <w> --roe <r> -- <other>

All output is JSON; missing toolchain reports status: missing. doctor surfaces which engines are actually installed -- absent engine = capability unknown, proceed with what exists.

Workflow

  1. doctor once per session; note available engines.
  2. analyze for the static baseline (imports, strings, structure).
  3. function/xrefs/search to drill into specific behavior.
  4. compare for diffing two artifact versions.
  5. Record evidence: argv, engine, artifact sha256 (Get-FileHash), confidence, limitations.

Adjacent tooling (fallback when REA engines absent)

offsec-tools wraps capa, floss, yara, rizin, ghidra headless (domain re, mode passive): capability flags, deobfuscated strings, signature match, CLI disassembly. Same contract fields via run --tool <name>.

extensions/rz-ops/wrapper.py is the structured rizin path: JSON presets (info/functions/imports/strings/disasm/xrefs/diff/find/ sign/decompile), validated tokens only, dbg (target execution) gated as active mode. Self-contained; use when REA engines are missing.

Boundaries

  • Artifacts only; no live-process tampering without explicit ROE line.
  • No malware authoring or payload synthesis.
  • Findings without engine corroboration are labeled likely, not confirmed.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0