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...

Prompts Chat Republished on Sep 15 0 Bookmarks 0 Copies
Bookmark 0

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

Up to 4 results. Images up to 2 MB; MP4, WebM, or MOV videos up to 4 MB each