Security Code Review Prompt

Build security code review prompt with less generic output: supply the context, follow a purpose-built workflow, and receive a usable final deliverable. It h...

Prompt

Examine this Security Code Review case before constructing Security Code Review Prompt.

## Details to use for Security Code Review
- [CODE]
- [LANGUAGE_AND_RUNTIME]
- [TRUST_BOUNDARIES]
- [DATA_CLASSIFICATION]
- [THREAT_MODEL]

## Decision path for Security Code Review
1. Map entry points and trust boundaries.
2. Trace untrusted data through sensitive operations.
3. Rank exploitable findings separately from defensive hardening.
Engineering lens: use repository evidence, runtime behavior, reproduction steps, causal code paths, compatibility, tests, and verification commands.

## Result set for Security Code Review
- **Risk-ranked finding — Security Code Review result.**
- **Evidence in code — Security Code Review result.**
- **Abuse scenario — Security Code Review result.**
- **Minimal patch — Security Code Review result.**
- **Security regression test — Security Code Review result.**

## Human-review gate for Security Code Review
Every Security Code Review finding needs cited evidence, a consistent criterion, a severity, and a verifiable disposition.
Keep assumptions visible and refuse to turn them into facts.

How to use this prompt

Replace only the bracketed fields relevant to your situation. Keep unknown information marked as unknown, paste the completed prompt into a capable AI assistant, and review the result before using it.

Best AI model

ChatGPT • Gemini • capable reasoning assistants

Related prompts

Coding Workflow

Code Review Assistant

Handle code review assistant with a structured AI workflow that surfaces missing context and delivers an ac...

Ready for ChatGPT Gemini

View Workflow
Coding Workflow

Dockerfile Security Reviewer

Handle dockerfile security reviewer with a structured AI workflow that surfaces missing context and deliver...

Ready for ChatGPT Gemini

View Workflow
Coding Workflow

Web Accessibility Code Auditor

Handle web accessibility code auditor with a structured AI workflow that surfaces missing context and deliv...

Ready for ChatGPT Gemini

View Workflow