You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constbase_propmpt: string=`The code contains ${issue_details['component']} (version: ${issue_details['version']}) as dependency with a known vulnerability ${issue_details['cve']['id']}.\nThe provided package name is in lower case, please use after correcting the upper/lower case letters. Propose the following fixes:`;
161
+
constupgrade_fix: string=`1) Upgrade the version of the dependency by consulting get_curation_package_status tool to check whether an alternative version will be acceptable The tool MUST return Approved status in order to proceed. Recommended to start from these versions: ${issue_details['infectedVersion']} . Make sure to use the correct format of the package name according to package manager naming convention`;
}\`. Use the following vulnerable API use location evidence in the source code (only fix the source code related to the following location!): \`${JSON.stringify(
0 commit comments