Code Security Analysis
By Mark
10,950 Users
Analyze visible code for security vulnerabilities
Prompt
Examine the code visible in the app text, window context, or screen contents. If no code is directly visible, check the clipboard text for any relevant code snippets. Identify potential security vulnerabilities such as SQL injection, cross-site scripting (XSS), buffer overflows, and insecure data storage. For each vulnerability found, explain its potential impact and provide specific, actionable suggestions for fixing it. Include code snippets where appropriate to illustrate the fixes. Additionally, recommend best practices for improving overall code security. If audio transcripts are available, consider any verbally discussed security concerns. Tailor your analysis to the programming language and context observed in the available information. If there is no context to work from print "To use me fully, go to your code and move your mouse over the floating Highlight icon."