Text Generation
PEFT
Safetensors
English
code
security
vulnerability-detection
injection
code-analysis
lora
qwen2
cybersecurity
sast
cwe
conversational
Eval Results (legacy)
Instructions to use vikramdgx/injection-vulnerability-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use vikramdgx/injection-vulnerability-detector with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Qwen2.5-Coder-7B-Instruct") model = PeftModel.from_pretrained(base_model, "vikramdgx/injection-vulnerability-detector") - Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -76,7 +76,7 @@ an explanation, and a fix suggestion.
|
|
| 76 |
| CWE-643 | XPath Injection |
|
| 77 |
| CWE-917 | Expression Language Injection |
|
| 78 |
| CWE-1336 | Server-Side Template Injection (SSTI) |
|
| 79 |
-
| CWE-113 |
|
| 80 |
|
| 81 |
## Evaluation results
|
| 82 |
|
|
@@ -117,7 +117,7 @@ Our **primary metric is the in-scope novel row** — performance on the 9 CWEs t
|
|
| 117 |
| CWE-643 | XPath Injection | 100.0% | 100.0% | 100.0% | 4 |
|
| 118 |
| CWE-917 | Expression Language Injection | 100.0% | 100.0% | 100.0% | 2 |
|
| 119 |
| CWE-1336 | Server-Side Template Injection | 100.0% | 100.0% | 100.0% | 6 |
|
| 120 |
-
| CWE-113 |
|
| 121 |
|
| 122 |
### High-confidence mode (zero false positives)
|
| 123 |
|
|
|
|
| 76 |
| CWE-643 | XPath Injection |
|
| 77 |
| CWE-917 | Expression Language Injection |
|
| 78 |
| CWE-1336 | Server-Side Template Injection (SSTI) |
|
| 79 |
+
| CWE-113 | CRLF Injection |
|
| 80 |
|
| 81 |
## Evaluation results
|
| 82 |
|
|
|
|
| 117 |
| CWE-643 | XPath Injection | 100.0% | 100.0% | 100.0% | 4 |
|
| 118 |
| CWE-917 | Expression Language Injection | 100.0% | 100.0% | 100.0% | 2 |
|
| 119 |
| CWE-1336 | Server-Side Template Injection | 100.0% | 100.0% | 100.0% | 6 |
|
| 120 |
+
| CWE-113 | CRLF Injection | 100.0% | 100.0% | 100.0% | 4 |
|
| 121 |
|
| 122 |
### High-confidence mode (zero false positives)
|
| 123 |
|