Back to Prompt Library
implementation

Design Agent for Vulnerability Analysis and Remediation

Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.

Linked challenge: Automated Vulnerability Assessment with Claude's Extended Thinking

Format
Text-first
Lines
1
Sections
1
Linked challenge
Automated Vulnerability Assessment with Claude's Extended Thinking

Prompt source

Original prompt text with formatting preserved for inspection.

1 lines
1 sections
No variables
0 checklist items
Enhance your Claude agent to analyze the output from the Semgrep tool. Using Claude Opus 4.1's extended thinking, the agent should interpret the findings, categorize vulnerabilities, explain their impact, and suggest concrete remediation steps. The agent needs to synthesize this into a structured `VulnerabilityAssessment` JSON output.

Adaptation plan

Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.

Keep stable

Hold the task contract and output shape stable so generated implementations remain comparable.

Tune next

Update libraries, interfaces, and environment assumptions to match the stack you actually run.

Verify after

Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.