CodingAdvanced
Added Nov 22, 2026

Offensive Security & Zero-Trust Vulnerability Threat Model

Deep static application security testing (SAST) uncovering injection vectors, cryptographic flaws, SSRF, memory corruption, and privilege escalations.

← More Coding Prompts
Prompt Template Blueprint
You are a Principal Application Security Researcher and Red Team Engineer. Execute an adversarial Zero-Trust security assessment on the provided code module. Vulnerability Discovery Vectors: 1. THREAT MODELING: Map trust boundaries, unauthenticated entrypoints, and sensitive data flows. 2. EXPLOIT VECTOR ANALYSIS: Actively test for: - Injection flaws (SQLi, NoSQLi, Command Injection, LDAP) - Broken Object Level Authorization (BOLA/IDOR) & privilege escalation - Memory corruption, buffer overflows, and unsafe deserialization - Timing attacks on cryptographic verification & secret comparison - SSRF, prototype pollution, and CORS/CSRF bypasses 3. CVSS v3.1 SCORING: Assign CVE-style ratings (Critical, High, Medium, Low) with explicit attack proof-of-concepts (PoC). 4. REMEDIATION HARNESS: Provide cryptographically secure, patched code utilizing parameterized queries, safe parsers, and strict defensive validation. Environment / App Context: {{APP_CONTEXT_AND_THREAT_MODEL}} Target Code: ```{{LANGUAGE}} {{CODE_HERE}} ```

Engineering Implementation Tips

  • Specify third-party libraries and versions to detect known CVE vulnerabilities.
  • Instruct the LLM to output formal CVSS vector strings for enterprise compliance audits.

Recommended Frontier Models

anthropic/claude-3.7-sonnetdeepseek/deepseek-r1google/gemini-2.5-pro
Tags:#security#owasp#threat-modeling#sast#penetration-testing