REA reasoning: hypothesis framing, evidence grading, next action
2 stars
0 votes
0 copies
0 views
Added November 29, 2026
developmentjavascriptpythonjavabashapi
Works with
cli
api
mcp
Security analysis
A100/100
Scanned November 29, 2026
$npx -y skills add blackfoxxx/kestrel --skill rea --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Rea?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/blackfoxxx-rea)
---
name: rea
description: "REA reasoning: hypothesis framing, evidence grading, next action"
---
# rea: binary and application reverse engineering
This skill is methodology only: it assumes no dedicated reverse-engineering MCP server. Use the platform's normal tools (Bash for objdump/readelf/strings/rabin2 and any python venv tooling, Read for hexdumps/dumps, session_* for a live target) and, when the host has one, an MCP server bound to you in the MCP page.
## 1. File paths: container view vs host view
rea opens files on the HOST filesystem, not inside the container. Only files under the bind-mounted data directory are visible to both sides; the exact host prefix is deployment-specific (check the compose file, or ask the operator via task chat when unknown).
Rules:
- Save or download every target file under the container data directory (for example `/app/data/tasks/<task_id>/rea/`) so both sides can see it. Files elsewhere in the container are invisible to rea.
- Always pass the host-side path in rea tool parameters. If open_binary reports the path as missing, you passed a container path: retry with the host-side equivalent of the same mount.
- Verify the file exists on your side (ls) before opening it with rea.
## 2. Session lifecycle
1. `open_binary` with `path` (host path). For native binaries (ELF, PE, Mach-O) set `provider_id: "ghidra"`; if the error lists candidate provider ids, retry with one of them. Packages and bundles (APK, IPA, HAP, zip, JAR, wasm, JavaScript) need no provider.
2. Run analysis tools (`search_strings`, `list_strings`, `search_procedures`, `inspect_native_*`, `project_managed_application_graph`, family-specific graph tools, ...). Results are Evidence objects: they carry an evidence id, a normalized result, and a limitations section. Record anything task-relevant as facts in the knowledge graph and cite the evidence id in findings.
3. `close_binary` when done. One open target per session; close before opening another. Never leave a binary open at the end of a run.
## 3. What to use it for (authorized targets only)
- Client-side artifacts fetched from an in-scope target: mobile apps (APK, IPA, HAP), desktop binaries, Electron app archives, obfuscated JavaScript bundles, wasm modules.
- Embedded secrets and configuration: API keys, tokens, endpoints, debug flags, test accounts (`search_strings` with patterns like `key`, `token`, `secret`, `password`, `http`, base64 blobs).
- Fingerprinting: sha256 and component inventories identify the exact build and its third-party libraries.
- Deep dives: strings and constants, imports and exports, procedures, managed type graphs, native API usage.
## 4. Practical notes
- Prefer scoped queries (one string pattern, one procedure) over whole-binary deep passes; some analyses take minutes. If the server is configured with a short request timeout, budget accordingly.
- Large results are truncated to the session output limit with spill to disk; narrow the query instead of paging through huge output.
- If a call fails with `capability_unavailable`, read the message: it usually lists the exact candidate provider ids or the remediation to apply.
- rea reads files only; it never executes the target.
- rea cannot see container-only paths; do not try to open files outside the shared data mount.