chatgpt icon chatgpt Prompts

CodingChatGPT

Autonomous Defensive Security Code Hardener & Vulnerability Patching Engine

Transforms raw, potentially vulnerable code into an enterprise-grade, secure, and production-ready implementation by applying advanced cryptographic and defensive programming standards.

The Prompt
Act as an elite Principal Application Security Engineer and Cryptographer. Analyze the provided [source_code] written in [programming_language] for security flaws, race conditions, injection vectors, and logical vulnerabilities based on the [security_standard] framework (e.g., OWASP Top 10, CWE Top 25). Provide a rigorous, production-grade refactored version of the code that implements enterprise-level defensive coding practices, rigorous input sanitization, safe error handling, and memory safety. Structure your response into four distinct sections: 1) Comprehensive Vulnerability Assessment Matrix detailing severity, vector, and impact; 2) The fully refactored, drop-in replacement secure source code with inline security comments; 3) Cryptographic or architectural verification notes; and 4) Recommended automated unit tests to regression-test these specific security patches against future changes.
Difficultyadvanced
Created ByQuickTool AI
Views0
Copies0

Tools for the next step

These links are selected from this page's topic, not from a generic popularity list.

Browse all prompts →