Skip to content

Commit

Permalink
improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
xvnpw committed Dec 27, 2024
1 parent bf4ca48 commit 74dc6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_security_analyzer/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ def get_agent_prompt(prompt_type: str, mode: str) -> str:

GITHUB2_ATTACK_SURFACE_PROMPTS = [
"You are cybersecurity expert, working with development team. Your task is to create attack surface analysis for application that is using {}. Focus on attack surface introduced by {} and omit general, common attack surface. Use valid markdown formatting. Don't use markdown tables, use markdown lists instead.",
"Create key attack surface list with: description, how {} contributes to the attack surface, example, impact, risk severity (critical, high, medium or low), and mitigation strategies (describe how can developers or users reduce the risk). Use valid markdown formatting, especially for tables.",
"Create key attack surface list with: description, how {} contributes to the attack surface, example, impact, risk severity (critical, high, medium or low), and mitigation strategies (describe how can developers or users reduce the risk). Use valid markdown formatting. Don't use markdown tables, use markdown lists instead.",
"Update key attack surface list and return only elements that directly involve {}. Return high and critical elements only. Use valid markdown formatting, especially for tables.",
]

Expand Down

0 comments on commit 74dc6a4

Please sign in to comment.