joni-rc-2 commited on
Commit
cfc6bb8
·
verified ·
1 Parent(s): daf14b6

Improve model card (badges, quickstart, persona, RAG, training, Albanian)

Browse files
Files changed (1) hide show
  1. README.md +98 -39
README.md CHANGED
@@ -10,73 +10,132 @@ tags:
10
  - offensive-security
11
  - pentest
12
  - red-team
 
 
13
  - qwen2.5-coder
14
  - gguf
 
15
  - authorized-use-only
16
  ---
17
 
18
- # RC-Cyber-Coder-14B
19
 
20
- **⚠️ FOR AUTHORIZED SECURITY USE ONLY.** Penetration testing, red-teaming, CTF,
21
- security research, and auditing systems **you own or are contracted in writing to test**.
22
- Do **not** use this model to attack systems without explicit, written permission.
 
23
 
24
- A QLoRA fine-tune of **Qwen2.5-Coder-14B (abliterated)** on
25
- [`joni-rc-2/RC-CyberSecurity-Combined`](https://huggingface.co/datasets/joni-rc-2/RC-CyberSecurity-Combined) —
26
- a defensive + offensive security corpus with an **RC-Skills** layer of real,
27
- runnable PoCs (reverse shells, AD attack paths, cloud SSRF/metadata, web/API
28
- exploitation, mobile/RE triage) that always carry an **authorization banner** and
29
- a **no-fabrication** discipline (CONFIRMED only from real tool output, else
30
- UNVERIFIED), ending in a clean Markdown report.
31
 
32
- This repo ships the **Q4_K_M GGUF** (~8.4 GB), ready for Ollama / llama.cpp.
 
 
 
 
 
 
33
 
34
- ## Run it
35
 
36
- **Ollama (directly from this repo):**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  ```bash
38
  ollama run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
39
  ```
40
 
41
- **llama.cpp:**
 
 
 
 
 
 
 
 
 
 
 
 
42
  ```bash
43
  llama-cli -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M -c 32768
44
  ```
45
 
46
- Recommended system prompt (RC-Cyber persona):
47
 
48
- > You are RC-Cyber, an offensive & defensive security assistant for AUTHORIZED
49
- > engagements only. Produce real, runnable PoCs and concrete Kali commands; never
50
- > fabricate findings (CONFIRMED only from real tool output, else UNVERIFIED);
51
- > finish with a clean Markdown report. Reply in the operator's language. Use only
52
- > with written authorization.
53
 
54
- Suggested params: `temperature 0.6`, `num_ctx 32768`.
55
 
56
- ## Accuracy comes at runtime — pair it with tools + RAG
 
57
 
58
- Training teaches **format, method and breadth** — not ground truth. For factual
59
- accuracy (real exploit paths, CVE details) run the model against a live toolchain
60
- (Kali / WSL: `nmap`, `nuclei`, `sqlmap`, `searchsploit`, Impacket…) and a retrieval
61
- layer over **Exploit-DB + NVD/CVE**. The intended deployment is
62
- **model + real tool execution + RAG**, not the model alone.
63
 
64
- ## Training
 
65
 
66
- - **Base:** Qwen2.5-Coder-14B-Instruct (abliterated) — Apache-2.0
67
- - **Method:** QLoRA (unsloth), 1 epoch, ~45.3M tokens, 8,095 steps
68
- - **Final mean train loss:** 0.744
69
- - **Export:** merged → GGUF **Q4_K_M**
70
 
71
- ## License & attribution
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  Licensed under the **Apache License, Version 2.0**. © 2026 joni-rc-2.
74
 
75
  Derived from permissively licensed sources — see the dataset's
76
  [`NOTICE`](https://huggingface.co/datasets/joni-rc-2/RC-CyberSecurity-Combined/blob/main/NOTICE):
77
- Vyber07/cyber-security (Apache-2.0), WNT3D/Ultimate-Offensive-Red-Team (MIT), and
78
- the base model. Tool/framework names (Nmap, Metasploit, Impacket, sqlmap, Hashcat,
79
- BloodHound, Ghidra, Kali Linux, …) are trademarks of their respective owners, used
80
- for identification only.
 
 
 
 
81
 
82
- **You are responsible for lawful, authorized use.**
 
 
 
 
 
10
  - offensive-security
11
  - pentest
12
  - red-team
13
+ - blue-team
14
+ - ctf
15
  - qwen2.5-coder
16
  - gguf
17
+ - ollama
18
  - authorized-use-only
19
  ---
20
 
21
+ # 🛡️ RC-Cyber-Coder-14B
22
 
23
+ ![license](https://img.shields.io/badge/license-Apache--2.0-blue)
24
+ ![format](https://img.shields.io/badge/format-GGUF%20Q4__K__M-green)
25
+ ![size](https://img.shields.io/badge/size-~8.4%20GB-lightgrey)
26
+ ![base](https://img.shields.io/badge/base-Qwen2.5--Coder--14B-orange)
27
 
28
+ > ## ⚠️ FOR AUTHORIZED SECURITY USE ONLY
29
+ > Penetration testing, red-teaming, CTF, security research, and auditing systems
30
+ > **you own or are contracted in writing to test**. Do **not** use this model to
31
+ > attack systems without explicit, written permission. **You** are responsible
32
+ > for lawful, authorized use.
 
 
33
 
34
+ **RC-Cyber-Coder-14B** is a 14B offensive **and** defensive security assistant —
35
+ a QLoRA fine-tune of **Qwen2.5-Coder-14B (abliterated)** on
36
+ [`joni-rc-2/RC-CyberSecurity-Combined`](https://huggingface.co/datasets/joni-rc-2/RC-CyberSecurity-Combined).
37
+ It is trained to produce **real, runnable PoCs** and concrete **Kali/WSL commands**,
38
+ to lead with an **authorization check**, to **never fabricate findings**
39
+ (CONFIRMED only from real tool output, otherwise UNVERIFIED), and to finish with a
40
+ clean **Markdown report**.
41
 
42
+ This repo ships the **Q4_K_M GGUF** (~8.4 GB) — runs on a single 16 GB GPU.
43
 
44
+ ---
45
+
46
+ ## ✨ What it's good at
47
+
48
+ - **Web/API:** IDOR, SQLi, SSRF, XSS, XXE, SSTI, deserialization, JWT, GraphQL, race conditions
49
+ - **Active Directory:** Kerberoasting, AS-REP, DCSync, golden/silver tickets, ADCS ESC1, BloodHound paths
50
+ - **Cloud:** SSRF→metadata (AWS IMDS, Azure MI, GCP), IAM abuse, misconfig
51
+ - **Mobile/RE:** APK jadx + Frida SSL-unpin, binary triage (rizin/Ghidra/checksec)
52
+ - **Recon→exploit→privesc→report** workflows with the right tooling at each step
53
+
54
+ ---
55
+
56
+ ## 🚀 Quickstart
57
+
58
+ ### Ollama — straight from this repo
59
  ```bash
60
  ollama run hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
61
  ```
62
 
63
+ ### Ollama — with the full RC-Cyber persona (recommended)
64
+ Create a `Modelfile`:
65
+ ```dockerfile
66
+ FROM hf.co/joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M
67
+ SYSTEM """You are RC-Cyber, an offensive & defensive security assistant for AUTHORIZED engagements only. Produce real, runnable PoCs and concrete Kali commands; never fabricate findings (CONFIRMED only from real tool output, else UNVERIFIED); finish with a clean Markdown report. Always answer in natural language and Markdown — never output JSON or tool-definition schemas unless asked. Reply in the operator's language. Use only with written authorization."""
68
+ PARAMETER temperature 0.6
69
+ PARAMETER num_ctx 32768
70
+ ```
71
+ ```bash
72
+ ollama create rc-cyber-14b -f Modelfile && ollama run rc-cyber-14b
73
+ ```
74
+
75
+ ### llama.cpp
76
  ```bash
77
  llama-cli -hf joni-rc-2/RC-Cyber-Coder-14B:Q4_K_M -c 32768
78
  ```
79
 
80
+ **Suggested params:** `temperature 0.6`, `num_ctx 32768`.
81
 
82
+ ---
 
 
 
 
83
 
84
+ ## 🎯 Accuracy comes at runtime — pair it with tools + RAG
85
 
86
+ Training teaches **format, method and breadth — not ground truth.** For factual
87
+ accuracy (real exploit paths, CVE details), run the model against:
88
 
89
+ 1. **A live toolchain** (Kali/WSL): `nmap`, `nuclei`, `sqlmap`, `searchsploit`,
90
+ Impacket, BloodHound… — and feed the real output back.
91
+ 2. **A retrieval layer (RAG)** over **Exploit-DB + NVD/CVE**.
 
 
92
 
93
+ The intended deployment is **model + real tool execution + RAG**, not the model
94
+ alone. Treat every unverified claim as a hypothesis to test, never as fact.
95
 
96
+ ---
 
 
 
97
 
98
+ ## 🏋️ Training
99
+
100
+ | | |
101
+ |---|---|
102
+ | **Base** | Qwen2.5-Coder-14B-Instruct (abliterated) — Apache-2.0 |
103
+ | **Method** | QLoRA (Unsloth) |
104
+ | **Data** | `joni-rc-2/RC-CyberSecurity-Combined` (defensive + offensive + RC-Skills PoCs) |
105
+ | **Epochs / steps** | 1 epoch · 8,095 steps · ~45.3M tokens |
106
+ | **Final mean train loss** | 0.744 |
107
+ | **Export** | merged → GGUF **Q4_K_M** |
108
+
109
+ ---
110
+
111
+ ## ✅ Intended use · 🚫 Out of scope
112
+
113
+ **Intended:** authorized pentesting, red/blue-team, CTF, security education, and
114
+ auditing your own or contracted systems.
115
+
116
+ **Out of scope / prohibited:** attacking systems without written authorization,
117
+ unlawful access, or any use that violates applicable law. The model is uncensored
118
+ (abliterated base) — the operator is fully responsible for how it is used.
119
+
120
+ ---
121
+
122
+ ## 📜 License & attribution
123
 
124
  Licensed under the **Apache License, Version 2.0**. © 2026 joni-rc-2.
125
 
126
  Derived from permissively licensed sources — see the dataset's
127
  [`NOTICE`](https://huggingface.co/datasets/joni-rc-2/RC-CyberSecurity-Combined/blob/main/NOTICE):
128
+ **Vyber07/cyber-security** (Apache-2.0), **WNT3D/Ultimate-Offensive-Red-Team** (MIT),
129
+ and the base model. Tool/framework names (Nmap, Metasploit, Impacket, sqlmap,
130
+ Hashcat, BloodHound, Ghidra, Kali Linux, …) are trademarks of their respective
131
+ owners, used for identification only.
132
+
133
+ ---
134
+
135
+ ## 🇦🇱 Shqip (shkurt)
136
 
137
+ Model 14B për siguri **vetëm për përdorim të autorizuar** (pentest i sistemeve
138
+ që i zotëron ose ke leje me shkrim). Jep **PoC reale + komanda Kali**, nis me
139
+ kontroll autorizimi, **nuk trillon** (CONFIRMED vetëm nga output real), mbyll me
140
+ raport Markdown. Saktësia vjen kur e çon me **mjete reale + RAG (Exploit-DB/CVE)**,
141
+ jo vetëm modeli. **Ti je përgjegjës për përdorim të ligjshëm.**