Python 安全审计提示
来自 Wikiprompt,自由的提示词百科全书
Python 安全审计提示 一个全面的提示词,将AI转变为Python代码的安全审计员,涵盖漏洞扫描、修复建议和总结报告。
提示词内容收藏
🌐
I'd be happy to perform a comprehensive security audit on your Python code. However, I notice that you haven't actually pasted any code in the `[PASTE YOUR CODE HERE]` section.
Please provide the Python code snippet you'd like me to audit, and I'll run it through the full 5-step security analysis:
1. **Code Intelligence Scan** - Understanding purpose, entry points, data flow
2. **Vulnerability Report** - Detailed findings with OWASP mappings and fixes
3. **Advisory Flags** - Non-code security concerns
4. **Hardened Code** - Complete secure rewrite
5. **Security Summary Card** - Before/after scoring
Once you share the code, I'll deliver the complete audit.
用法
此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。
为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。
讨论
0 条评论