BrainboxAI commited on
Commit
bf8f002
·
verified ·
1 Parent(s): 44e0b2d

Rewrite the model card in the BrainboxAI house style (Hebrew, brand name in the heading, repository id unchanged)

Browse files
Files changed (1) hide show
  1. README.md +142 -99
README.md CHANGED
@@ -27,53 +27,66 @@ tags:
27
  - qlora
28
  - conversational
29
  - on-device
30
- pretty_name: Cyber-Analyst 4B (Bilingual Security AI)
31
  model-index:
32
  - name: cyber-analyst-4B
33
  results: []
34
  ---
35
 
36
- # Cyber-Analyst 4B
37
 
38
- A 4B-parameter bilingual (Hebrew and English) security analyst, tuned on 1.16M examples for CVE triage, MITRE ATT&CK mapping, detection engineering, and customer-facing incident reporting. It runs locally, so your security data never leaves the machine.
 
 
39
 
40
  [![HF Model](https://img.shields.io/badge/%F0%9F%A4%97%20HuggingFace-Model-yellow)](https://huggingface.co/BrainboxAI/cyber-analyst-4B)
41
- [![Dataset](https://img.shields.io/badge/%F0%9F%A4%97%20Dataset-1.16M_examples-blue)](https://huggingface.co/datasets/BrainboxAI/brainboxai_cyber_train)
42
- [![Delta](https://img.shields.io/badge/%F0%9F%A4%97%20Correction_Delta-107K-purple)](https://huggingface.co/datasets/BrainboxAI/brainboxai_cyber_delta)
43
  [![License](https://img.shields.io/badge/License-Apache_2.0-lightgrey)](https://www.apache.org/licenses/LICENSE-2.0)
44
 
45
- ## Model overview
 
 
 
 
 
 
 
 
46
 
47
- `cyber-analyst-4B` is a 4B-parameter language model for cybersecurity work, trained from Google's Gemma-4 E4B on 1.16M instruction-tuning examples. It covers CVE analysis, MITRE ATT&CK technique mapping, vulnerability triage, detection engineering, and bilingual (Hebrew and English) security reporting.
48
 
49
- General models treat security as one topic among thousands. This one was built to reason the way a SOC analyst does: identify the vulnerability, rate its severity, map it to ATT&CK, recommend detection logic, and write a report a customer can read.
50
 
51
- It ships in GGUF (for Ollama and llama.cpp) and safetensors (for further fine-tuning). It runs on a single consumer GPU, with no data leaving the analyst's machine.
52
 
53
- ## Why it exists
54
 
55
- Security data is some of the most sensitive data a company holds. Sending internal findings, CVE analysis, or customer incident reports to a cloud LLM is often against policy or contract.
56
 
57
- This model is the alternative: small enough to run locally, fluent in Hebrew and English, tuned on security content, and deployable in air-gapped environments. It does not replace human analysts. It is a force multiplier for SOC teams, pentest consultancies, and researchers who want AI help without handing over their data.
58
 
59
- ## Intended use
60
 
61
- **Primary use cases**
62
- - CVE triage and severity assessment (CVSS scoring assist)
63
- - MITRE ATT&CK technique mapping from behavioral descriptions
64
- - Detection logic drafting (Sigma, YARA, Snort)
65
- - Customer-facing pentest and incident reports (Hebrew or English)
66
- - First-pass vulnerability analysis for bug bounty workflows
67
- - On-prem deployment for security-sensitive organizations
68
 
69
- **Out of scope**
70
- - Autonomous security decisions without human review
71
- - A primary source of truth for CVE details. Always verify against NVD and vendor advisories
72
- - Exploit development or offensive operations without legal authorization
73
- - Real-time incident response without a human analyst
74
- - Critical infrastructure protection without independent validation
75
 
76
- ## How to use
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  ### Ollama
79
 
@@ -82,15 +95,21 @@ ollama pull hf.co/BrainboxAI/cyber-analyst-4B:Q4_K_M
82
  ollama run hf.co/BrainboxAI/cyber-analyst-4B:Q4_K_M
83
  ```
84
 
 
 
85
  ### llama.cpp
86
 
 
 
87
  ```bash
88
- ./llama-cli -m cyber-analyst-4B.Q4_K_M.gguf \
89
  -p "Analyze CVE-2024-3400. What is the attack vector and mitigation?" \
90
  --temp 0.2 --top-p 0.9 -n 1024
91
  ```
92
 
93
- ### Python (transformers)
 
 
94
 
95
  ```python
96
  from transformers import AutoTokenizer, AutoModelForCausalLM
@@ -111,30 +130,26 @@ outputs = model.generate(inputs, max_new_tokens=1024, temperature=0.2, top_p=0.9
111
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
112
  ```
113
 
114
- ### Recommended generation parameters
115
 
116
- | Parameter | Value | Why |
117
  |---|---|---|
118
- | `temperature` | 0.2 | low creativity for factual security work |
119
- | `top_p` | 0.9 | standard nucleus sampling |
120
- | `max_new_tokens` | 1024 | enough for a detailed analysis with a PoC |
121
- | `repetition_penalty` | 1.05 | prevents repeated CVE citation loops |
122
 
123
- ### Recommended system prompt: semi-formal reasoning
124
 
125
- This 4B model produces much more reliable analyses when you constrain it to a structured 5-step reasoning template. Free-form prompts tend to produce fabricated CVE details, missed ATT&CK sub-techniques, or skipped detection logic.
126
 
127
- Security work has no tolerance for hallucinated facts. A wrong CVSS score or an invented MITRE technique can derail an investigation. The template forces the model through the same steps a senior analyst uses: identify the threat, assess severity, map to ATT&CK, propose detection, and disclose limitations.
128
 
129
- #### The 5 reasoning steps
130
 
131
- 1. **Threat identification**: exact CVE, CWE, or behavioral pattern, no guessing.
132
- 2. **Severity assessment**: CVSS vector and score, or "unknown, verify in NVD".
133
- 3. **MITRE ATT&CK mapping**: technique and sub-technique with rationale.
134
- 4. **Detection logic**: a Sigma/YARA/Snort rule or query, or an honest "needs custom dev".
135
- 5. **Caveats and verification sources**: what the analyst must double-check.
136
 
137
- #### The system prompt (copy as-is)
138
 
139
  ```text
140
  DEFINITIONS:
@@ -207,7 +222,7 @@ VERIFICATION:
207
  - regression check: No 5-step structure should be skipped, even for "simple" questions.
208
  ```
209
 
210
- #### Usage with the system prompt
211
 
212
  ```python
213
  from transformers import AutoTokenizer, AutoModelForCausalLM
@@ -219,7 +234,7 @@ model = AutoModelForCausalLM.from_pretrained(
219
  device_map="auto",
220
  )
221
 
222
- # Paste the full DEFINITIONS/PREMISES/REQUIREMENTS prompt above
223
  SYSTEM_PROMPT = """[paste the full prompt from the code block above]"""
224
 
225
  messages = [
@@ -232,86 +247,114 @@ outputs = model.generate(inputs, max_new_tokens=1024, temperature=0.2, top_p=0.9
232
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
233
  ```
234
 
235
- #### Customization
236
 
237
- - Want JSON output for SIEM integration? Replace `OUTPUT_FORMAT` with your schema (e.g., `{"cve":"","cvss":0,"attack_techniques":[],"detection_rule":""}`).
238
- - Building a chatbot for non-technical executives? Add to `REQUIREMENTS`: "Translate technical terms into business risk language."
239
- - Need stricter refusal on dual-use content? Add to `EDGE_CASES`: "Any question about weaponization -> immediate refusal with no explanation."
240
- - Working under HIPAA or PCI-DSS? Add a section to `OUTPUT_FORMAT`: "Compliance Impact" mapping to the relevant controls.
241
 
242
- ## Training details
243
 
244
- | Attribute | Value |
245
  |---|---|
246
- | Base model | [unsloth/gemma-4-E4B-it](https://huggingface.co/unsloth/gemma-4-E4B-it) |
247
- | Architecture | Gemma4ForConditionalGeneration |
248
- | Parameters | ~4B |
249
- | Context length | 131,072 tokens |
250
- | Method | QLoRA (4-bit during training) |
251
- | Training corpus | 1,157,765 examples (primary) plus 107,600 (correction delta) |
252
- | Languages | Hebrew (~45%) and English (~55%) |
253
- | Framework | Unsloth Studio |
254
-
255
- ### Dataset composition (1,157,765 primary examples)
256
-
257
- | Source | Examples | Language | Content |
 
 
 
 
 
 
258
  |---|---|---|---|
259
- | BrainboxAI CVE Corpus v2 | 994,713 | Hebrew + English | 280K CVEs across 8 task types |
260
- | [Fenrir v2.0](https://huggingface.co/datasets/AlicanKiraz0/Fenrir) | 83,918 | English | causal reasoning on cyber threats |
261
- | [Trendyol Cybersecurity](https://huggingface.co/datasets/Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset) | 53,199 | English | 200+ security domains |
262
- | [MITRE ATT&CK TTP Mapping](https://huggingface.co/datasets/tumeteor/Security-TTP-Mapping) | 14,936 | English | activity to ATT&CK technique |
263
- | [HackerOne Disclosed Reports](https://huggingface.co/datasets/hackaprompt/hackerone-reports) | 9,353 | English | bug bounty reports with CWE mapping |
264
- | [MITRE ATT&CK Reasoning](https://huggingface.co/datasets/cobo512/mitre-attck-reasoning) | 1,646 | English | chain-of-thought on ATT&CK |
 
 
 
 
 
 
 
265
 
266
- ### Correction delta (107,600 additional examples)
267
 
268
- After v1 evaluation, three weaknesses were found and fixed with continued training on [`brainboxai_cyber_delta`](https://huggingface.co/datasets/BrainboxAI/brainboxai_cyber_delta):
 
 
269
 
270
- 1. **CVE hallucination.** It fabricated CVSS scores and details for real CVEs. Fixed with canonical NVD-sourced data.
271
- 2. **ATT&CK sub-technique confusion.** It mixed up T1059.003 and T1053.005. Fixed with explicit disambiguation examples.
272
- 3. **No "I don't know."** It fabricated instead of admitting uncertainty. Fixed with refusal examples.
273
 
274
- See the [delta dataset card](https://huggingface.co/datasets/BrainboxAI/brainboxai_cyber_delta) for the full methodology.
275
 
276
- ## Evaluation
277
 
278
- Post-training evaluation covered 30 security tasks: CVE detail accuracy (lookup and explanation), MITRE ATT&CK technique and sub-technique mapping, Sigma and YARA drafting, severity assessment, and Hebrew incident-report generation. Formal benchmarks on public security datasets are planned for the v3 release.
279
 
280
- ## Limitations
281
 
282
- - **4B parameters.** Not frontier capability. It will make mistakes on novel attack patterns and complex architecture analysis.
283
- - **Training cutoff.** The CVE data reflects the state at build time. Newer CVEs are unknown to it.
284
- - **Residual hallucination risk.** Even after the delta correction, it can fabricate CVE details. Always verify against NVD or vendor advisories.
285
- - **Not a pentester.** It will not run authorized offensive operations on its own and does not replace manual testing.
286
- - **Dual-use content.** It discusses attack techniques for defensive purposes. It refuses clearly malicious requests but is not a hardened content filter.
287
- - **Public-data bias.** Training is dominated by public CVEs and reports, so exotic or unpublished threats may be handled poorly.
288
 
289
- ## Formats
290
 
291
- - [GGUF Q4_K_M (~4 GB)](https://huggingface.co/BrainboxAI/cyber-analyst-4B): for Ollama, llama.cpp, LM Studio.
292
- - [Safetensors 16-bit](https://huggingface.co/BrainboxAI/cyber-analyst-4B-safetensors): for further fine-tuning and HF transformers.
 
 
 
 
 
 
293
 
294
- ## License
295
 
296
- Apache 2.0. Free for commercial and non-commercial use with attribution.
 
 
 
 
 
 
 
 
297
 
298
- Ethical use: this model is for defensive security work and authorized research. Use in unauthorized offensive operations is prohibited by the license and by law.
299
 
300
- ## Citation
 
 
 
 
301
 
302
  ```bibtex
303
  @misc{elyasi2026cyberanalyst,
304
- title = {Cyber-Analyst 4B: A Bilingual On-Device Security Model for SOC and Pentest Workflows},
305
  author = {Elyasi, Netanel},
306
  year = {2026},
307
  publisher = {BrainboxAI},
308
  howpublished = {\url{https://huggingface.co/BrainboxAI/cyber-analyst-4B}},
309
- note = {Fine-tuned from unsloth/gemma-4-E4B-it on 1.16M security examples plus 107K correction delta}
310
  }
311
  ```
312
 
313
- ## Author
 
 
314
 
315
- Built by [Netanel Elyasi](https://huggingface.co/BrainboxAI), founder of [BrainboxAI](https://brainboxai.io), an applied-AI studio focused on small, private, domain-specialized models. Contact: netanele@brainboxai.io
316
 
317
- Part of the BrainboxAI family of on-device models. See also [`law-il-E2B`](https://huggingface.co/BrainboxAI/law-il-E2B) (legal) and [`code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B) (coding).
 
27
  - qlora
28
  - conversational
29
  - on-device
30
+ pretty_name: bx-cyber-nogah (cyber-analyst-4B)
31
  model-index:
32
  - name: cyber-analyst-4B
33
  results: []
34
  ---
35
 
36
+ # bx-cyber-nogah
37
 
38
+ ### מזהה המאגר: `BrainboxAI/cyber-analyst-4B`
39
+
40
+ **אנליסט סייבר דו-לשוני, עברית ואנגלית, שרץ כולו על המחשב שלך. נתוני האבטחה שלך לא יוצאים מהמכונה.**
41
 
42
  [![HF Model](https://img.shields.io/badge/%F0%9F%A4%97%20HuggingFace-Model-yellow)](https://huggingface.co/BrainboxAI/cyber-analyst-4B)
 
 
43
  [![License](https://img.shields.io/badge/License-Apache_2.0-lightgrey)](https://www.apache.org/licenses/LICENSE-2.0)
44
 
45
+ > **על השם.** `bx-cyber-nogah` הוא שם המודל במוסכמת השמות של BrainboxAI: `bx` לחברה, `cyber` לתחום, ו-`nogah` (נוגה) לדרגת הגודל האמצעית. **מזהה המאגר נשאר `BrainboxAI/cyber-analyst-4B` ולא ישתנה** — כל קישור וסקריפט קיים ממשיך לעבוד.
46
+
47
+ > **על יציבות הגרסה.** אימון חדש על אותה משימה נדחף לאותו מאגר ומעדכן את המשקולות במקום. כלומר מי שיוריד היום ושוב בעוד חודשיים עלול לקבל משקולות שונות תחת אותו שם. מי שצריך יציבות מוחלטת — יצמיד את עצמו ל-commit מסוים ולא לענף הראשי.
48
+
49
+ > **English.** `cyber-analyst-4B` (brand name `bx-cyber-nogah`) is a bilingual Hebrew/English security model, fine-tuned from `unsloth/gemma-4-E4B-it` on 1,157,765 security examples plus a 107,600-example correction set. It runs offline. It **can still fabricate CVE details** — always verify against NVD and vendor advisories. No scored public benchmark has been run on it. This card is in Hebrew; identifiers, code and the recommended system prompt are in English.
50
+
51
+ ---
52
+
53
+ ## מה זה, בקצרה
54
 
55
+ מודל שפה שאומן על חומר אבטחת מידע, ועונה בעברית ובאנגלית. הוא נבנה כדי לחשוב בסדר שבו אנליסט SOC חושב: לזהות את החולשה, לדרג את חומרתה, למפות אותה ל-MITRE ATT&CK, להציע חוקי זיהוי, ולכתוב דוח שלקוח יכול לקרוא.
56
 
57
+ הוא בנוי על [`unsloth/gemma-4-E4B-it`](https://huggingface.co/unsloth/gemma-4-E4B-it) של גוגל.
58
 
59
+ **מה זה אומר "רץ אצלך".** הקובץ הדחוס הוא כ-5.3 ג'יגה-בייט והוא רץ על כרטיס מסך ביתי אחד. אפשר להריץ אותו ברשת מנותקת לגמרי. שום ממצא, שום דוח, ושום שם של לקוח לא עוזב את המכונה.
60
 
61
+ ## למה הוא קיים
62
 
63
+ נתוני אבטחה הם מהחומר הרגיש ביותר שיש לחברה. שליחה של ממצא פנימי, ניתוח חולשה או דוח אירוע של לקוח למודל בענן היא לרוב הפרה של נוהל או של חוזה.
64
 
65
+ המודל הזה הוא החלופה: קטן מספיק לרוץ מקומית, מדבר עברית ואנגלית, ואפשר להתקין אותו ברשת סגורה.
66
 
67
+ **הוא לא מחליף אנליסט.** הוא מכפיל כוח לצוות SOC, לחברת מבחני חדירה, ולחוקר שרוצה עזרה מבלי למסור את החומר.
68
 
69
+ ## למה הוא מיועד
 
 
 
 
 
 
70
 
71
+ - מיון CVE והערכת חומרה ראשונית.
72
+ - מיפוי התנהגות לטכניקת MITRE ATT&CK.
73
+ - טיוטה של חוקי זיהוי — Sigma, YARA, Snort.
74
+ - כתיבת דוח מבחן חדירה או דוח אירוע ללקוח, בעברית או באנגלית.
75
+ - ניתוח ראשוני של חולשה בתהליכי bug bounty.
76
+ - התקנה בארגון שאסור לו לשלוח מידע החוצה.
77
 
78
+ ## מה הוא **לא**, ומה אסור לעשות איתו
79
+
80
+ - **הוא לא מקור אמת על CVE.** הוא **ממציא** פרטי חולשות: מספר CVE שלא קיים, ציון CVSS שלא נמדד, טכניקת ATT&CK שאין לה מזהה כזה. סבב תיקון שרץ עליו (מתואר למטה) הקטין את זה — **ולא ביטל אותו.** תמיד לאמת מול [NVD](https://nvd.nist.gov/) ומול ההודעה של היצרן.
81
+ - **אין החלטות אבטחה אוטומטיות.** שום דבר שהוא כותב לא אמור להפעיל פעולה בלי אדם שקורא ומאשר.
82
+ - **הוא לא כלי התקפה.** פיתוח נשק סייבר ופעולות התקפיות ללא הרשאה חוקית — אסורים ברישיון ובחוק.
83
+ - **הוא לא מגיב לאירוע.** בזמן אירוע אמיתי צריך אנליסט אנושי. מודל שעונה מהר לא הופך להיות מודל שצודק.
84
+ - **הוא לא מגן על תשתית קריטית** בלי אימות עצמאי ונפרד.
85
+ - **יש לו תאריך ידע.** חולשות שפורסמו אחרי שהדאטה נאסף פשוט לא קיימות בשבילו. הוא גם לא יודע שהוא לא מכיר אותן.
86
+ - **הוא לא מסנן תוכן.** הוא דן בטכניקות תקיפה לצורכי הגנה. הוא מסרב לבקשות שהן זדוניות בבירור, אבל הוא לא מנגנון בטיחות מוקשח.
87
+ - **אין לו ציון על מבחן ציבורי.** ראה את פרק ההערכה.
88
+
89
+ ## איך מריצים
90
 
91
  ### Ollama
92
 
 
95
  ollama run hf.co/BrainboxAI/cyber-analyst-4B:Q4_K_M
96
  ```
97
 
98
+ > **אזהרה על קובץ ה-`Modelfile` שבמאגר.** הקובץ הזה נשאר משלב הבנייה, ותבנית השיחה שבתוכו אינה התבנית של Gemma-4. אל תיצור ממנו מודל עם `ollama create`. השתמש ב-`ollama pull` שלמעלה — הוא בונה את התבנית הנכונה מתוך קובץ ה-GGUF עצמו.
99
+
100
  ### llama.cpp
101
 
102
+ שם הקובץ בתוך המאגר הוא `gemma-4-E4B-it.Q4_K_M.gguf`. השם נשמר משלב הבנייה — זה הקובץ של המודל **המאומן**, ולא של מודל הבסיס.
103
+
104
  ```bash
105
+ ./llama-cli -m gemma-4-E4B-it.Q4_K_M.gguf \
106
  -p "Analyze CVE-2024-3400. What is the attack vector and mitigation?" \
107
  --temp 0.2 --top-p 0.9 -n 1024
108
  ```
109
 
110
+ ### פייתון, דרך מאגר ה-safetensors
111
+
112
+ > **המאגר `BrainboxAI/cyber-analyst-4B-safetensors` פרטי כרגע**, ולכן הקוד שלמטה לא ירוץ בלי הרשאה. הדרך הפתוחה להריץ את המודל היא Ollama או llama.cpp, למעלה. לגישה למשקולות המלאות — צור קשר בכתובת שבתחתית הכרטיס.
113
 
114
  ```python
115
  from transformers import AutoTokenizer, AutoModelForCausalLM
 
130
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
131
  ```
132
 
133
+ ### פרמטרי הרצה מומלצים
134
 
135
+ | פרמטר | ערך | למה |
136
  |---|---|---|
137
+ | `temperature` | 0.2 | י��ירתיות נמוכה. בעבודת אבטחה רוצים עובדות |
138
+ | `top_p` | 0.9 | ברירת מחדל מקובלת |
139
+ | `max_new_tokens` | 1024 | מספיק לניתוח מפורט עם חוק זיהוי |
140
+ | `repetition_penalty` | 1.05 | מונע לולאות של ציטוט CVE חוזר |
141
 
142
+ ## פרומפט המערכת המומלץ — זה מה שמשנה הכי הרבה
143
 
144
+ מודל בגודל הזה מייצר ניתוחים **הרבה** יותר אמינים כשמכריחים אותו לעבור חמישה שלבים במקום לענות חופשי. בשאלה פתוחה הוא נוטה להמציא פרטי CVE, לפספס תת-טכניקה, או לדלג על חוק הזיהוי.
145
 
146
+ בעבודת אבטחה אין סובלנות לעובדה מומצאת. ציון CVSS שגוי או טכניקת MITRE שלא קיימת מסיטים חקירה שלמה למקום הלא נכון.
147
 
148
+ **חמשת השלבים:** זיהוי האיום, הערכת חומרה, מיפוי ל-ATT&CK, לוגיקת זיהוי, וסייגים עם מקורות לאימות.
149
 
150
+ **וזאת התרשמות, לא מדידה.** לא רצה השוואה מספרית בין הרצה עם הפרומפט להרצה בלעדיו.
 
 
 
 
151
 
152
+ ### הפרומפט עצמו — העתק כמו שהוא
153
 
154
  ```text
155
  DEFINITIONS:
 
222
  - regression check: No 5-step structure should be skipped, even for "simple" questions.
223
  ```
224
 
225
+ ### דוגמת שימוש עם הפרומפט
226
 
227
  ```python
228
  from transformers import AutoTokenizer, AutoModelForCausalLM
 
234
  device_map="auto",
235
  )
236
 
237
+ # הדבק כאן את הפרומפט המלא מהבלוק שלמעלה
238
  SYSTEM_PROMPT = """[paste the full prompt from the code block above]"""
239
 
240
  messages = [
 
247
  print(tokenizer.decode(outputs[0], skip_special_tokens=True))
248
  ```
249
 
250
+ ### התאמות אפשריות
251
 
252
+ - צריך פלט JSON ל-SIEM? החלף את `OUTPUT_FORMAT` בסכימה שלך.
253
+ - בונה כלי למנהלים לא-טכניים? הוסף ל-`REQUIREMENTS` דרישה לתרגם מונחים לשפת סיכון עסקי.
254
+ - צריך סירוב מחמיר יותר בתוכן דו-שימושי? הוסף ל-`EDGE_CASES` כלל סירוב מיידי.
255
+ - עובד תחת HIPAA או PCI-DSS? הוסף ל-`OUTPUT_FORMAT` סעיף "Compliance Impact".
256
 
257
+ ## פרטי האימון
258
 
259
+ | מאפיין | ערך |
260
  |---|---|
261
+ | **מודל בסיס** | [`unsloth/gemma-4-E4B-it`](https://huggingface.co/unsloth/gemma-4-E4B-it) |
262
+ | **ארכיטקטורה** | Gemma4ForConditionalGeneration |
263
+ | **אורך הקשר** | 131,072 טוקנים |
264
+ | **שיטה** | QLoRA — מודל הבסיס נטען ב-4 ביט בזמן האימון |
265
+ | **מסגרת** | Unsloth |
266
+ | **קורפוס ראשי** | 1,157,765 דוגמאות |
267
+ | **סט תיקון** | 107,600 דוגמאות נוספות |
268
+ | **סך הכל** | 1,265,365 דוגמאות |
269
+ | **תערובת שפות** | כ-45% עברית, כ-55% אנגלית |
270
+ | **היפר-פרמטרים, חומרה, זמן ועלות** | לא נרשמו |
271
+
272
+ > **הערה על המקורות.** לא נשמרה שום רשומת אימון עצמאית למודל הזה. כל מה שבטבלה מגיע מהכרטיס הקודם של המודל עצמו — אין קובץ לוג, אין דוח ריצה, ואין מקור שני לאמת מולו. שורות שלא הופיעו שם נשארות ריקות במקום להתמלא בניחוש.
273
+
274
+ > **הערה על "1.16 מיליון" מול "1.27 מיליון".** שני המספרים האלה הופיעו בכרטיסים שונים של אותה משפחת מודלים, ושניהם נכונים: 1.16 מיליון הוא הקורפוס הראשי בלבד, ו-1.27 מיליון הוא הקורפוס הראשי ועוד סט התיקון. המספרים המדויקים כתובים בטבלה למעלה.
275
+
276
+ ### ממה מורכב הקורפוס הראשי
277
+
278
+ | מקור | דוגמאות | שפה | תוכן |
279
  |---|---|---|---|
280
+ | קורפוס ה-CVE של BrainboxAI, גרסה 2 | 994,713 | עברית ואנגלית | 280 אלף חולשות CVE, על פני 8 סוגי משימה |
281
+ | Fenrir v2.0 (`AlicanKiraz0/Fenrir`) | 83,918 | אנגלית | הסקה סיבתית על איומי סייבר |
282
+ | [Trendyol Cybersecurity](https://huggingface.co/datasets/Trendyol/Trendyol-Cybersecurity-Instruction-Tuning-Dataset) | 53,199 | אנגלית | יותר מ-200 תחומי אבטחה |
283
+ | [MITRE ATT&CK TTP Mapping](https://huggingface.co/datasets/tumeteor/Security-TTP-Mapping) | 14,936 | אנגלית | מיפוי פעילות לטכניקת ATT&CK |
284
+ | HackerOne Disclosed Reports (`hackaprompt/hackerone-reports`) | 9,353 | אנגלית | דוחות bug bounty עם מיפוי CWE |
285
+ | MITRE ATT&CK Reasoning (`cobo512/mitre-attck-reasoning`) | 1,646 | אנגלית | שרשרת חשיבה על ATT&CK |
286
+ | **סך הכל** | **1,157,765** | | |
287
+
288
+ > שלושה מהמקורות בטבלה — `AlicanKiraz0/Fenrir`, `cobo512/mitre-attck-reasoning` ו-`hackaprompt/hackerone-reports` — **כבר אינם נגישים ב-Hugging Face** נכון לכתיבת הכרטיס הזה. השמות נשארים כאן כתיעוד מקור, ולא כקישור. הקישורים אליהם בכרטיס הקודם היו שבורים והוסרו.
289
+
290
+ > מאגרי הדאטה של BrainboxAI עצמם (`brainboxai_cyber_train` ו-`brainboxai_cyber_delta`) **אינם ציבוריים**. הם מופיעים במטא-דאטה של המאגר לצורך תיעוד מקור, ולא כקישור שאפשר לפתוח.
291
+
292
+ ### סט התיקון — מה נשבר בגרסה הראשונה
293
 
294
+ אחרי הערכת הגרסה הראשונה התגלו שלוש חולשות, ורץ אימון המשך של 107,600 דוגמאות כדי לתקן אותן:
295
 
296
+ 1. **המצאת פרטי CVE.** המודל ייצר ציוני CVSS ופרטים לחולשות אמיתיות. תוקן בעזרת נתונים קנוניים מ-NVD.
297
+ 2. **בלבול בין תת-טכניקות של ATT&CK.** הוא ערבב בין `T1059.003` ל-`T1053.005`. תוקן בעזרת דוגמאות הבחנה מפורשות.
298
+ 3. **הוא לא ידע לומר "אני לא יודע".** במקום להודות באי-ודאות הוא המציא. תוקן בעזרת דוגמאות סירוב.
299
 
300
+ **התיקון הקטין את הבעיה הראשונה. הוא לא ביטל אותה.** ראה את פרק המגבלות.
 
 
301
 
302
+ ## הערכה
303
 
304
+ **לא רץ מבחן ציבורי מדיד על המודל הזה. אין ציון, ואין מספר שאפשר להשוות מולו למודל אחר.**
305
 
306
+ מה שכן נעשה: הערכה פנימית על 30 משימות אבטחה — דיוק בפרטי CVE (שליפה והסבר), מיפוי טכניקה ותת-טכניקה ב-ATT&CK, כתיבת חוקי Sigma ו-YARA, הערכת חומרה, וכתיבת דוח אירוע בעברית.
307
 
308
+ **איך לקרוא את זה, בכנות.** אין קובץ תוצאות, אין ציון לכל משימה, ואי אפשר לשחזר את זה מבחוץ. זה מספיק כדי לומר שהמודל נבדק. זה לא מבחן.
309
 
310
+ **מה זה אומר עבורך:** אין ראיה נמדדת שהמודל הזה טוב יותר ממודל הבסיס שלו במשהו. יש עבודה שנעשתה והתרשמות. אלה שני דברים שונים.
 
 
 
 
 
311
 
312
+ ## מגבלות
313
 
314
+ - **מודל קטן.** בגודל הזה הוא יטעה בדפוסי תקיפה חדשים ובניתוח ארכיטקטורה מורכבת.
315
+ - **תאריך ידע.** נתוני ה-CVE משקפים את מצב הדברים בזמן הבנייה. חולשות חדשות אינן מוכרות לו.
316
+ - **הוא עדיין ממציא.** גם אחרי סבב התיקון. **תמיד לאמת מול NVD ומול היצרן.**
317
+ - **הוא לא בודק חדירות.** הוא לא מריץ כלום ולא מחליף בדיקה ידנית.
318
+ - **תוכן דו-שימושי.** הוא דן בטכניקות תקיפה למטרות הגנה. הוא לא מסנן תוכן מוקשח.
319
+ - **הטיה למידע ציבורי.** האימון נשען על CVE ודוחות פומביים. איומים אקזוטיים או לא מפורסמים יטופלו גרוע.
320
+ - **אין מבחן.** ראה את פרק ההערכה.
321
+ - **זהו אימון מעל `unsloth/gemma-4-E4B-it`.** כל מגבלה של מודל הבסיס נמצאת גם כאן.
322
 
323
+ ## הקבצים והמאגרים
324
 
325
+ | מאגר | מה יש בפנים | למי זה |
326
+ |---|---|---|
327
+ | [`BrainboxAI/cyber-analyst-4B`](https://huggingface.co/BrainboxAI/cyber-analyst-4B) | `gemma-4-E4B-it.Q4_K_M.gguf` (5.3 ג'יגה) והכרטיס הזה | Ollama, llama.cpp, LM Studio |
328
+ | `BrainboxAI/cyber-analyst-4B-safetensors` | משקולות מלאות ב-16 ביט (16.0 ג'יגה) — **מאגר פרטי** | transformers, והמשך אימון. בבקשה לגישה |
329
+ | [`BrainboxAI/cyber-analyst-4B-verifier-pilot`](https://huggingface.co/BrainboxAI/cyber-analyst-4B-verifier-pilot) | ניסוי המשך: מודל שמאמת ממצאים | מי שרוצה לראות לאן זה ממשיך |
330
+
331
+ במאגר יושב גם `gemma-4-E4B-it.BF16-mmproj.gguf` (0.99 ג'יגה). זהו רכיב הראייה של Gemma-4, שנחוץ רק אם רוצים להזין תמונות (למשל צילום מסך של ממצא). לניתוח טקסט אין בו צורך.
332
+
333
+ ## רישיון
334
 
335
+ Apache 2.0. חופשי לשימוש מסחרי ולא-מסחרי, עם ייחוס.
336
 
337
+ זהו אימון מעל [`unsloth/gemma-4-E4B-it`](https://huggingface.co/unsloth/gemma-4-E4B-it), ולכן התנאים של מודל הבסיס חלים גם על המודל הזה. מודל ��בסיס מפורסם תחת Apache 2.0 ומפנה גם אל [תנאי השימוש של Gemma](https://ai.google.dev/gemma/docs/gemma_4_license).
338
+
339
+ **שימוש הוגן:** המודל נועד לעבודת הגנה ולמחקר מורשה. שימוש בפעולות התקפיות ללא הרשאה אסור ברישיון ובחוק.
340
+
341
+ ## ציטוט
342
 
343
  ```bibtex
344
  @misc{elyasi2026cyberanalyst,
345
+ title = {Cyber-Analyst 4B (bx-cyber-nogah): A Bilingual On-Device Security Model for SOC and Pentest Workflows},
346
  author = {Elyasi, Netanel},
347
  year = {2026},
348
  publisher = {BrainboxAI},
349
  howpublished = {\url{https://huggingface.co/BrainboxAI/cyber-analyst-4B}},
350
+ note = {Fine-tuned from unsloth/gemma-4-E4B-it on 1,157,765 security examples plus a 107,600-example correction set}
351
  }
352
  ```
353
 
354
+ ## מי בנה את זה
355
+
356
+ נבנה על ידי [**נתנאל אליאסי**](https://huggingface.co/BrainboxAI), מייסד [BrainboxAI](https://brainboxai.io) — סטודיו ישראלי לבינה מלאכותית יישומית, שבונה מודלים קטנים, פרטיים ומתמחים.
357
 
358
+ להתקנה בארגון, לכוונון על חומר פנימי, או לשאלה על התאמה: [netanele@brainboxai.io](mailto:netanele@brainboxai.io).
359
 
360
+ *חלק ממשפחת המודלים של BrainboxAI שרצים על החומרה שלך. ראה גם [`law-il-E2B`](https://huggingface.co/BrainboxAI/law-il-E2B) (משפט) ו-[`code-il-E4B`](https://huggingface.co/BrainboxAI/code-il-E4B) (קוד).*