# re_ghidra_decompile

Headless Ghidra: full decompiler output for every function, written to an artifact dir.

Agent View of the PolicyLayer registry record for `re_ghidra_decompile`. HTML page: https://policylayer.com/tools/rekit/re-ghidra-decompile

## Facts

- Tool: `re_ghidra_decompile`
- Server: Rekit (`Amz34/rekit`) — https://policylayer.com/tools/rekit.md
- Homepage: https://github.com/Amz34/rekit
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "re_ghidra_decompile",
    "arguments": {}
  }
}
```

## Why re_ghidra_decompile is rated Critical

An AI agent that decides to call re_ghidra_decompile doesn't hesitate, doesn't double-check, and doesn't stop at one. Whatever it removes from Rekit is gone. There is no undo for destructive operations.

Risk signals: Bulk/mass operation — affects multiple targets

## Use case

AI agents call re_ghidra_decompile to permanently remove resources in Rekit, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Rekit:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "re_ghidra_decompile"
  ]
}
```

## Other tools on Rekit (12)

- `re_apk` — Other — https://policylayer.com/tools/rekit/re-apk.md
- `re_capa` — Other — https://policylayer.com/tools/rekit/re-capa.md
- `re_disasm` — Other — https://policylayer.com/tools/rekit/re-disasm.md
- `re_firmware` — Other — https://policylayer.com/tools/rekit/re-firmware.md
- `re_floss` — Other — https://policylayer.com/tools/rekit/re-floss.md
- `re_health` — Other — https://policylayer.com/tools/rekit/re-health.md
- `re_iocs` — Other — https://policylayer.com/tools/rekit/re-iocs.md
- `re_js` — Other — https://policylayer.com/tools/rekit/re-js.md
- `re_pcap` — Other — https://policylayer.com/tools/rekit/re-pcap.md
- `re_strings` — Other — https://policylayer.com/tools/rekit/re-strings.md
- `re_triage` — Other — https://policylayer.com/tools/rekit/re-triage.md
- `re_yara` — Other — https://policylayer.com/tools/rekit/re-yara.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=rekit · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/rekit
