From 74dc6a426cd4ae551f2169e7503756578272b1be Mon Sep 17 00:00:00 2001 From: xvnpw <17719543+xvnpw@users.noreply.github.com> Date: Fri, 27 Dec 2024 12:17:52 +0100 Subject: [PATCH] improve formatting --- ai_security_analyzer/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai_security_analyzer/prompts.py b/ai_security_analyzer/prompts.py index 8c42e1d..6869ccb 100644 --- a/ai_security_analyzer/prompts.py +++ b/ai_security_analyzer/prompts.py @@ -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.", ]