# x64dbg_patches

List, apply, restore patches or export patched module

Agent View of the PolicyLayer registry record for `x64dbg_patches`. HTML page: https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-patches

## Facts

- Tool: `x64dbg_patches`
- Server: X64dbg (`x64dbg-mcp-server`) — https://policylayer.com/tools/io-github-bromoket-x64dbg.md
- Install: `npx -y x64dbg-mcp-server`
- Homepage: https://github.com/bromoket/x64dbg_mcp
- Risk category: Write (Medium 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": "x64dbg_patches",
    "arguments": {}
  }
}
```

## Why x64dbg_patches is rated Medium

This tool can apply patches (modify executable code or data in memory/on disk) and restore them, which constitutes a reversible write operation. Patching binaries is high severity because it modifies program execution logic and could be used to bypass security checks, alter behavior, or corrupt running processes.

From the tool's own definition: "'apply, restore patches or export patched module' — modifying binary/memory content of a debugged process"

## Use case

AI agents use x64dbg_patches to create or update resources in X64dbg, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your X64dbg environment.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "x64dbg_patches": {
      "limits": [
        {
          "counter": "x64dbg_patches_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on X64dbg (22)

- `x64dbg_antidebug` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-antidebug.md
- `x64dbg_breakpoints` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-breakpoints.md
- `x64dbg_command` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-command.md
- `x64dbg_control_flow` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-control-flow.md
- `x64dbg_debug` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-debug.md
- `x64dbg_exceptions` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-exceptions.md
- `x64dbg_handles` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-handles.md
- `x64dbg_memory` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-memory.md
- `x64dbg_registers` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-registers.md
- `x64dbg_threads` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-threads.md
- `x64dbg_tracing` — Execute — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-tracing.md
- `x64dbg_address_convert` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-address-convert.md
- `x64dbg_analysis` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-analysis.md
- `x64dbg_database` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-database.md
- `x64dbg_disassembly` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-disassembly.md
- `x64dbg_dumping` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-dumping.md
- `x64dbg_modules` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-modules.md
- `x64dbg_search` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-search.md
- `x64dbg_stack` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-stack.md
- `x64dbg_watchdog` — Read — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-watchdog.md
- `x64dbg_process` — Write — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-process.md
- `x64dbg_symbols` — Write — https://policylayer.com/tools/io-github-bromoket-x64dbg/x64dbg-symbols.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=io-github-bromoket-x64dbg · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-bromoket-x64dbg
