File size: 1,163 Bytes
5392d9b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
language:
- en
license: mit
tags:
- lora
- security
- cybersecurity
- peft
---

# Security Testing Agent — LoRA

Defensive security testing assistant. Analyzes code for vulnerabilities and suggests fixes.

**Base model:** meta-llama/Meta-Llama-3.1-8B-Instruct

## Load it

```python
from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3.1-8B-Instruct")
model = PeftModel.from_pretrained(model, "Xx-Vexento-xX/security-testing-agent-lora")
tokenizer = AutoTokenizer.from_pretrained("Xx-Vexento-xX/security-testing-agent-lora")
```

## Training
- 15 curriculum rounds across Python, JavaScript, Java, Go, PHP, Ruby, TypeScript, Rust, Kotlin, C#
- Vulnerability types: SQL Injection, XSS, CSRF, SSRF, Command Injection, IDOR, XXE, JWT weaknesses, Path Traversal, Prototype Pollution, and more
- RAG-aware: recognizes [REFERENCE CONTEXT] blocks for external knowledge injection

## Intended use
Authorized defensive security testing of your own code only.
Not for unauthorized access or offensive purposes.