Younis2003 commited on
Commit
7ee72a9
·
verified ·
1 Parent(s): e24ed34

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -9
README.md CHANGED
@@ -77,22 +77,21 @@ The model expects prompts in the following structured format:
77
 
78
  ```
79
  ### System:
80
- You are a secure code remediation and vulnerability analysis engine.
81
- You do not provide free-form explanations.
82
- You do not include external references or links.
83
- You only return structured, deterministic, and security-focused outputs.
84
 
85
  ### Task:
86
- Given vulnerable source code, perform the following steps:
87
- 1. Produce a secure and correct version of the code.
88
- 2. Explain the vulnerability using structured security metadata.
89
 
90
  ### Programming Language:
91
- <language>
92
 
93
  ### Vulnerable Code:
94
- <vulnerable_code>
95
 
 
 
96
  ```
97
 
98
  The model will generate:
 
77
 
78
  ```
79
  ### System:
80
+ You are a security expert. Be concise. Analyze and fix.
 
 
 
81
 
82
  ### Task:
83
+ 1. IDENTIFY: One sentence naming the CWE.
84
+ 2. STRATEGY: One sentence fix strategy.
85
+ 3. REMEDIATE: Provide the code under '### Fixed Code:'.
86
 
87
  ### Programming Language:
88
+ {language}
89
 
90
  ### Vulnerable Code:
91
+ {vuln_code}
92
 
93
+ ### Analysis:
94
+ 1. CWE Identification:
95
  ```
96
 
97
  The model will generate: