securesauce / precli

Precaution CLI - command line static application security testing tool
https://precli.readthedocs.io/
Other
22 stars 3 forks source link

Utilize AI to review the fix suggestion #551

Open ericwb opened 2 months ago

ericwb commented 2 months ago

Is your feature request related to a problem? Please describe. The fix suggestions may sometimes result in code that doesn't compile or doesn't handle things like adding imports, removing unused variables, etc.

Describe the solution you'd like There can be an option to accept an AI API key. If given, the code suggestions can reviewed in a prompt to the AI. The AI result could be used instead.

Describe alternatives you've considered Current approach tries to suggest code that doesn't break code as much as possible.

Additional context n/a

Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.