Security Audit
# Prompt: Security — OWASP-Anchored Security Audit
> **Category:** security
> **Difficulty:** advanced
> **Works best with:** ask mode
> **Frontier model recommended:** yes
> **Verified:** 2026-04
---
## Purpose
Audit a single function for a specific OWASP Top 10 vulnerability category. Produces an exploit path before a fix — so you confirm the risk is real before acting on it.
---
## When to Use
- A function handles authentication, cryptography, access control, or untrusted input.
- You want to understand how a vulnerability could be exploited before deciding whether to fix it.
- You are working through a security checklist before a code review or release.
**Do not use when:** you want a general code quality review. This prompt is for security analysis only. Use the code review prompt for logic errors and style.
---
## The Promptwhen to use it
Community prompt sourced from the open-source GitHub repo Clipperone/copilot-learning-labs (MIT). A "Security Audit" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
Clipperone/copilot-learning-labs · MIT