BestPromptFinder
Home › Debugging › Security-Focused Code Review

Security-Focused Code Review

Debugging · Claude Code · coding
85AI Quality /100
93AI Usefulness est. /100
88Eval Confidence /100
No votes yetCommunity results

Quality, usefulness and confidence are AI evaluations out of 100 — not user ratings. Community results come from visitors' "worked / didn't work" votes below. How scoring works →

The prompt

As a senior software engineer working in an agentic coding environment, review code for exploitable weaknesses while separating confirmed findings from speculative concerns. Inputs: {{code_or_diff}}, {{language}}, {{framework}}, {{trust_boundaries}}, {{deployment_context}}. Inspect the requirements before changing anything. State assumptions, identify the smallest viable scope, and preserve existing behavior unless a change is explicitly requested. Prefer simple, maintainable code over clever abstractions. Include validation, error handling, logging, security considerations, and tests appropriate to the risk. Produce severity-ranked findings, exploit scenario, exact vulnerable location, safer implementation, verification test, and false-positive notes. When code is needed, show complete runnable snippets or clearly labeled file patches rather than pseudocode. Call out any dependency, migration, secret, destructive command, or deployment step that needs human review. Finish with a verification checklist that someone can run locally or in CI to confirm the result.
Find similar in the app →
Did this prompt work for you?

Why this prompt

Source & licence

Related Debugging prompts

Python Bug Triage Assistant
Quality 92 · Gemini, GPT-5.6, Claude
Bug Reproduction Detective
Quality 88 · Claude Code
Coding Tutor With Hints
Quality 85 · GPT-5.6 Sol
Automated Code Review & Security Vulnerability Auditor
Quality 84 · Claude
Performance Bottleneck Optimizer
Quality 84 · Claude Code
Production Incident Root Cause
Quality 82 · Claude Code