Skip to content

Commit daf988c

Browse files
authored
Merge pull request #151 from zvigrinberg/fix-checklist-problems
fix: regressive bugs of agent
2 parents 9f3d9d6 + 9c02285 commit daf988c

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

kustomize/base/exploit-iq-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ functions:
103103
verbose: false
104104
cve_generate_cvss:
105105
_type: cve_generate_cvss
106-
skip: false
106+
skip: true
107107
llm_name: generate_cvss_llm
108108
tool_names:
109109
- Code Semantic Search

src/vuln_analysis/configs/config-http-openai.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ functions:
9797
verbose: false
9898
cve_generate_cvss:
9999
_type: cve_generate_cvss
100-
skip: false
100+
skip: true
101101
llm_name: generate_cvss_llm
102102
tool_names:
103103
- Code Semantic Search

src/vuln_analysis/configs/config-tracing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ functions:
100100
verbose: false
101101
cve_generate_cvss:
102102
_type: cve_generate_cvss
103-
skip: false
103+
skip: true
104104
llm_name: generate_cvss_llm
105105
tool_names:
106106
- Code Semantic Search

src/vuln_analysis/configs/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ functions:
7777
verbose: false
7878
cve_generate_cvss:
7979
_type: cve_generate_cvss
80-
skip: false
80+
skip: true
8181
llm_name: generate_cvss_llm
8282
tool_names:
8383
- Code Semantic Search

src/vuln_analysis/utils/prompting.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -570,11 +570,12 @@ def build_prompt(self) -> str:
570570
- Include relevant context from the CVE
571571
572572
2. CONTENT PRIORITIES:
573-
- If the CVE mentions a specific vulnerable function or method, the FIRST
574-
checklist item must verify whether that function is called or imported
575-
in the codebase
573+
- If the CVE mentions a specific vulnerable function or method in a given package or library, the FIRST
574+
checklist item must verify whether that function in that package or library is called or imported
575+
in the codebase - function should be specified together with the package name,
576+
for example : 'Is the function1 function from the package1 package called in the codebase?'
576577
- Focus on exploitability factors (version presence is already confirmed)
577-
- Include specific technical names from the CVE (functions, libraries,
578+
- Include specific technical names from the CVE (functions, libraries,
578579
configurations, cipher modes, etc.)
579580
- Consider the attack vector (network exposure, user input, file processing, etc.)
580581
- Address relevant security controls or mitigations

0 commit comments

Comments
 (0)