# detach

Detach from the current process.

Agent View of the PolicyLayer registry record for `detach`. HTML page: https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/detach

## Facts

- Tool: `detach`
- Server: Frida Game Hacking MCP (`0xhackerfren/frida-game-hacking-mcp`) — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp.md
- Homepage: https://github.com/0xhackerfren/frida-game-hacking-mcp
- Risk category: Execute (High risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

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

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

## Why detach is rated High

Detaching from a process is an operational action that terminates the Frida instrumentation session, potentially affecting hooks, injected code, and monitoring in the target process. It triggers an external operation (ending the attachment to a running process), which could have side effects depending on what was injected.

From the tool's own definition: "Detach from the current process"

## Use case

AI agents invoke detach to trigger actions in Frida Game Hacking MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Frida Game Hacking MCP:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "detach": {
      "limits": [
        {
          "counter": "detach_rate",
          "window": "minute",
          "max": 10,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Frida Game Hacking MCP (41)

- `clear_scan` — Destructive — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/clear-scan.md
- `attach` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/attach.md
- `call_rpc` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/call-rpc.md
- `focus_window` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/focus-window.md
- `hook_function` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/hook-function.md
- `hook_native_function` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/hook-native-function.md
- `intercept_module_function` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/intercept-module-function.md
- `load_script` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/load-script.md
- `remove_breakpoint` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/remove-breakpoint.md
- `replace_function` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/replace-function.md
- `resume` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/resume.md
- `send_key_to_window` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/send-key-to-window.md
- `set_breakpoint` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/set-breakpoint.md
- `spawn` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/spawn.md
- `unload_script` — Execute — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/unload-script.md
- `check_installation` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/check-installation.md
- `get_documentation` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/get-documentation.md
- `get_module_exports` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/get-module-exports.md
- `get_module_imports` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/get-module-imports.md
- `get_module_info` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/get-module-info.md
- `get_scan_results` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/get-scan-results.md
- `get_session_info` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/get-session-info.md
- `list_breakpoints` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/list-breakpoints.md
- `list_capabilities` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/list-capabilities.md
- `list_hooks` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/list-hooks.md
- `list_memory_regions` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/list-memory-regions.md
- `list_modules` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/list-modules.md
- `list_processes` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/list-processes.md
- `list_windows` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/list-windows.md
- `read_memory` — Read — https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp/read-memory.md
- …and 11 more: https://policylayer.com/tools/0xhackerfren-frida-game-hacking-mcp.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=0xhackerfren-frida-game-hacking-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xhackerfren-frida-game-hacking-mcp
