security fixes
--- name: security-fixes description: in order to fix security issues in my codebase which is flagged by code scanning for refrences like user input comping as part o request could be vulnerable and how can we fix it --- it should identify the issue and fix it with respect to current project checking it should not break the existing functionality and a proper test case should be written for...
Prompt template
- Format
- Json
- Outputs
- result (text)
---
name: security-fixes
description: in order to fix security issues in my codebase which is flagged by code scanning for refrences like user input comping as part o request could be vulnerable and how can we fix it
---
# security fixes
it should identify the issue and fix it with respect to current project checking it should not break the existing functionality and a proper test case should be written for the change
## Instructions
check the issue
fix it
test case
- Step 2: ...
What you'll create
The workflow preserves existing functionality while addressing the reported vulnerability. A focused test checks the changed behavior.
Frequently asked questions
Does the source ask only for a written recommendation?
No. It explicitly includes a fix and a test case.
Comments
Tried this prompt? Share what you made, compare results, or ask a question