---
title: "Claude Security patch generator: review, role & definition · Undominated.ai"
canonical: https://undominated.ai/agents/anthropic-patch-generator/
description: "A security-fix component that stages one narrow change in an orchestrator-created scratch checkout."
---

# Claude Security patch generator: review, role & definition · Undominated.ai

> A security-fix component that stages one narrow change in an orchestrator-created scratch checkout.

[← Explore all agents](/agents/)

SECURITY WORKFLOW COMPONENTS / Anthropic

# Claude Security patch generator

A security-fix component that stages one narrow change in an orchestrator-created scratch checkout.

 [Use this definition ↓](#setup)[Original source ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/agents/patch-generator.md)

SOURCE REVIEW

 Reviewed 2026-10-14
 Evidence 5 linked sources
 Publisher Anthropic
 Licence [Proprietary — Anthropic internal-use terms ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/LICENSE)
 Revision 641d925db5a6
 [Read what was—and wasn’t—checked ↓](#review)

“Claude Security component for preparing one scoped security fix in an orchestrator-created scratch workspace.”

 [Anthropic · upstream description ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/agents/patch-generator.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - It locates drifted findings by snippet and symbol rather than trusting old line numbers.
- It must disclose behavior changes, make no change when the finding is already defeated, and let an independent verifier judge the staged result.

### A good fit for

 - Supply one finding, absolute scratch path and the patch base selected by the fix job.
- Leave one staged fix and structured summary/changedFiles for independent review.

### Weigh up before choosing

 - The source stages all scratch changes with git add -A and has Bash/Edit/Write; its workspace-name check is not an OS-level containment boundary.
- Publisher-linked component for authorized Anthropic use only. No standalone download or portable adaptation is offered.
- The plugin-specific licence limits use and modification to authorized internal use with Anthropic products/services. General redistribution and non-Anthropic use are not permitted; obtain and use it through the publisher under the applicable agreement.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - plugins/claude-security/agents/patch-generator.md (pinned complete source retained)
- plugins/claude-security/LICENSE
- Repository README and current official host configuration documentation
- plugins/claude-security/skills/claude-security/jobs/suggest-patches.md
- plugins/claude-security/agents/explore.md
- plugins/claude-security/LICENSE (overrides repository-wide licence for this plugin)

### Our findings

 - It locates drifted findings by snippet and symbol rather than trusting old line numbers.
- It must disclose behavior changes, make no change when the finding is already defeated, and let an independent verifier judge the staged result.
- The exact-revision plugin licence is proprietary and expressly covers prompts, agent/skill definitions, workflows, code and documentation; the root Apache licence does not license this plugin for redistribution.

### Not established by this review

 - Source review only: no agent was installed or invoked. Task correctness, effective host restrictions and integration behaviour were not tested.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Use the role in your project.

[Upstream setup instructions ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/agents/patch-generator.md)
 - Read the plugin-specific proprietary licence at this revision. Obtain the plugin from Anthropic and use/modify it only within the applicable authorized Anthropic-product agreement; this catalogue provides no copy for installation.
- Read the pinned source and its licence, then configure an explicitly bounded host context.
- Use only with the matching suggest-patches orchestration and disposable scratch clone; never substitute a shared working tree for WORKSPACE.
- Supply one finding, absolute scratch path and the patch base selected by the fix job.

### Before you start

 - Matching Claude Security plugin and orchestration
- Authorized repository and scratch-workspace context

### Compatibility

Claude Code

### Implementation

Markdown

### Host-mediated agent profile

 - Declared tools: Read, Glob, Grep, Bash, Edit, Write, Agent(claude-security:explore). Effective host permissions still govern access; shell or execution tools can write files and contact networks.

### Cost model

Proprietary plugin for authorized internal use solely with Claude Code or other Anthropic products/services under the applicable Anthropic agreement. Host/model charges may apply; no general redistribution licence.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Pinned upstream agent definition ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/agents/patch-generator.md) Checked 2026-10-14 https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/agents/patch-generator.md Supports: Workflow, inputs, outputs and stated boundaries
- [Applicable licence ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/LICENSE) Checked 2026-10-14 https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/LICENSE Supports: Redistribution and attribution
- [Host configuration and tool inheritance ↗](https://code.claude.com/docs/en/sub-agents.md) Checked 2026-10-14 https://code.claude.com/docs/en/sub-agents.md Supports: Host loading and effective permission boundaries
- [Pinned inspected source: plugins/claude-security/skills/claude-security/jobs/suggest-patches.md ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/skills/claude-security/jobs/suggest-patches.md) Checked 2026-10-14 https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/skills/claude-security/jobs/suggest-patches.md Supports: Dependency setup and source-review boundary
- [Pinned inspected source: plugins/claude-security/agents/explore.md ↗](https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/agents/explore.md) Checked 2026-10-14 https://github.com/anthropics/claude-plugins-official/blob/641d925db5a662e72f8650cb1b7670a59dab1abc/plugins/claude-security/agents/explore.md Supports: Dependency setup and source-review boundary

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Claude Security patch verifier ↗ A security-patch verifier that derives the staged diff and separates tested behavior from source-only confidence.](/agents/anthropic-patch-verifier/)[### Claude Security code explorer ↗ A Claude Security search component that maps one code path for a caller and returns file/line evidence.](/agents/anthropic-explore/)[### Protect MCP receipt verifier ↗ A receipt-review component that separates valid signatures, invalid signatures and undecidable verification.](/agents/wshobson-receipt-verifier/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Find reusable instructions](/skills/)
- [Inspect connections](/mcp-servers/)
- [Build a toolkit](/tools/)
- [Choose the model](/compare/)
