license: apache-2.0
base_model: orcarouter/Qwen3.8-27B-Uncensored
language:
- es
- en
library_name: gguf
pipeline_tag: image-text-to-text
tags: - cybersecurity
- bug-bounty
- red-team
- blue-team
- offensive-security
- defensive-security
- pentesting
- vulnerability-research
- uncensored
- llama-cpp
- gguf
- qwen3.8
- qwen35
- spanish
- lora
- qlora
- unsloth
inference: false
Qwen3.8-27B-Uncensored-bughunter-v7
Fine-tune of Qwen3.8-27B-Uncensored by orcarouter, specialised in offensive and defensive security work. Trained on a distilled corpus of 15,611 knowledge units covering bug bounty, web pentesting, traffic analysis, DFIR, memory forensics and incident response.
v7 vs v6: this is the same fine-tune recipe as bughunter-v6 (Qwen3.5-9B), scaled to a 27B base on the newer Qwen3.8 architecture. Same dataset, same hyperparameters, 3× the parameters — resulting in noticeably better generalisation (final eval_loss 0.834 vs 1.55 of v6, on the same validation split).
Designed to assist researchers in real engagements on bug bounty platforms (HackerOne, Bugcrowd, Intigriti, YesWeHack, Immunefi) with operational rules baked in: authorized scope only, minimal non-destructive PoCs, callbacks to owned infrastructure. Answers in Spanish; payloads, commands and report templates are in English.
Format and download
Two files:
Qwen3.8-27B-Uncensored.Q4_K_M.gguf— the LLM, ~16.8 GB (Q4_K_M quantization).mmproj-BF16.gguf— the vision projector, ~889 MB (BF16). Download this only if you want image understanding. Place it in the same folder as the LLM (LM Studio auto-detects it if the filename starts withmmproj-).
Vision is inherited from the orcarouter base and untouched by the fine-tune (the vision tower and projector were not trained). The mmproj-BF16.gguf published here is the projector extracted from the base during GGUF conversion by Unsloth, so it works identically. Do note that our fine-tune corpus is 100% text, so the LLM is not specifically tuned to reason over images — it can describe them and answer basic visual questions, but its added value is on the text side.
Runs directly on:
- LM Studio — load and test in the GUI
- llama.cpp — local OpenAI-compatible server (build ≥ May 2026 required for
qwen35support) - Any runtime that supports GGUF and the
qwen35architecture
Capabilities
Red team / offensive security
Covers the full lifecycle of a bug bounty engagement:
- Reconnaissance: passive subdomain enumeration, attack-surface mapping, API mapping, secret extraction from JavaScript, throttled use of httpx/gau/katana.
- Web vulnerabilities: root patterns and sub-patterns for IDOR/BOLA, SSRF, CSRF, XSS (reflected/stored/DOM/blind/mXSS), SQL injection across contexts, misconfigured CORS, chainable open redirects into OAuth, prototype pollution, subdomain takeover, path traversal, LFI/RFI, HTTP request smuggling (CL.TE, TE.CL, H2 desync, single-packet attack), cache poisoning and deception.
- Authentication and authorization: OAuth/OIDC (redirect_uri, nOAuth, state/nonce/PKCE, alg/kid/JWKS), JWT (unverified signature, alg:none, weak key, jwk/jku/kid injection, algorithm confusion RS256→HS256), 2FA/MFA bypass, session fixation, mass assignment.
- APIs: BOLA, BFLA, excessive data exposure, legacy versions without authz, GraphQL endpoints with introspection, alias abuse, batching to skip rate limits.
- Server-side: SSRF to cloud metadata (AWS IMDSv1/v2, GCP, Azure), SSTI (
{{7*7}}on Jinja/Twig/Freemarker/Velocity), RCE via deserialization, XXE in SAML/SOAP/SVG/OOXML. - Business logic: race conditions (TOCTOU), price/quantity/balance tampering, payment-flow TOCTOU, coupon/credit abuse.
- Mobile: exposed WebView bridges, exported deeplinks with weak parsing, Android static analysis (SAST), compromised app logic.
- Reporting: writing reports in each platform's format (HackerOne CVSS, Bugcrowd VRT, Intigriti), severity calculation, impact reasoning.
It also covers specialised areas: WiFi security (WPA/WPA2/WPA3, evil twin, deauth), Sub-GHz and SDR analysis, binary reverse engineering, exploit development, MITRE ATT&CK techniques.
Blue team / defensive security
- DFIR: incident response methodology, timeline reconstruction, artifact collection, chain of custody.
- Network traffic analysis: identifying anomalous patterns, PCAP analysis, C2 detection, DNS tunneling, exfiltration.
- Memory forensics: Volatility-based analysis, resident malware identification, detection of code injection and process hollowing.
- Threat hunting: hypothesis building based on TTPs (ATT&CK), event correlation, lateral movement identification.
- Vulnerability management: patch management, vulnerability prioritisation with CVSS + context, CI/CD integration.
- SOAR / defensive automation: response playbooks, SIEM integration, containment orchestration.
Built-in operational rules
When a system prompt is provided, the model incorporates ethical research rules:
- In-scope assets only, verified against the program scope before every request.
- Sustained throughput ≤1-2 req/s. Bursts only for race conditions or authorised OTP brute-force.
- Minimal non-destructive PoC:
whoami/idfor RCE;SELECT version()for SQLi; two owner accounts for IDOR. - OOB callbacks always to owned infrastructure. Never to shared third-party services.
- Never use credentials, tokens or API keys found in a finding to validate access.
- Cloud metadata: proving access is enough. Never exfiltrate IAM credentials.
- Minimum reportable severity: High or Critical (except in a chain, when Low is explicitly bountied, or in humanitarian VDPs).
How it was trained
Data
14,914 examples in ShareGPT format (train), 466 valid, 309 test. Same dataset as v6 — extracted from 1,690 source documents grouped into 9 sources with weighted sampling to prioritise specialised offensive content:
| Source | Weight | % in train |
|---|---|---|
| Patterns distilled from real HackerOne reports | ×4 | 7.9% |
| Reproducible PortSwigger Web Security Academy methods | ×3 | 6.6% |
| Factual HackerOne reports (by category) | ×3 | 3.5% |
| Researcher's own tooling | ×3 | 12.9% |
| Lab walkthroughs | ×2 | 5.5% |
| Structured offensive skills | ×2 | 20.8% |
| Mixed skills (offensive + defensive) | ×1.5 | 12.1% |
| CTF write-ups | ×1 | 8.6% |
| Defensive / governance / patch management skills | ×0.35 | 21.6% |
Additional: 72 short conversational examples (greetings, meta-questions, ambiguous requests that get answered by asking back) to prevent format collapse — the model learns to modulate length based on the question rather than dumping methodology for any input.
Three-thirds system prompt setup:
- 33% of examples with no system prompt (the model works well without it)
- 33% with a long system prompt (the full operational ruleset)
- 33% with one of six short variants
This prevents the model from becoming dependent on the exact wording of a specific system prompt.
Hyperparameters
Same configuration as v6 — proven not to trigger format collapse:
| Parameter | Value |
|---|---|
| Learning rate | 1e-5 (low; avoids format memorisation) |
| Epochs | 1 (0.54 effective epochs — learn without overfitting) |
| LoRA rank | 8 |
| LoRA alpha | 16 |
| LoRA dropout | 0.05 |
| Target modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Training quantization | QLoRA 4-bit (bitsandbytes) |
| Effective batch | 8 (per_device 1 × grad_accum 8) |
| Cutoff length | 4096 |
| Scheduler | Cosine with 3% warmup |
| Total steps | 1,865 |
| Precision | bf16 |
| Trainable parameters | 39,845,888 (0.15% of 27.4B total) |
Framework: Unsloth 2026.8.22 on Colab A100 80GB (~6h 15min). LLaMA-Factory (used for v6) does not yet support the qwen35 architecture (Gated DeltaNet + full attention hybrid); Unsloth published day-1 support the day after Qwen3.8 was released.
Training metrics
Healthy loss curve, well-behaved cosine scheduler:
| Step | train_loss | eval_loss |
|---|---|---|
| 100 | 1.724 | 1.697 |
| 300 | 0.994 | 1.031 |
| 500 | 0.880 | 0.948 |
| 700 | 0.865 | 0.899 |
| 900 | 0.717 | 0.869 |
| 1100 | 0.911 | 0.852 |
| 1300 | 0.855 | 0.842 |
| 1500 | 0.724 | 0.836 |
| final (1865) | 0.686 | 0.834 |
Final training loss average (over all steps): 0.949.
The eval_loss decreased monotonically throughout training with a clear convergence plateau in the last third — sign of a healthy generalisation-driven training rather than overfitting. Compared to v6 (which converged to eval_loss ~1.55 on the same validation split), v7 reaches 0.834, an absolute improvement of ~0.7 nats attributable to the 3× larger backbone.
Post-processing
- Adapter merged with the base model in BF16 via Unsloth's
merge_and_unload. - HF → GGUF BF16 conversion via
convert_hf_to_gguf.pyfrom llama.cpp (prebuiltb10679). - Final quantization to Q4_K_M via
llama-quantize(16.8 GB). - Vision projector (
mmproj) extracted separately in BF16 (889 MB) — usable as a sidecar for image input. - Chat template patched to accept multiple
systemmessages (compatibility with clients that send their own system + an additional one, common in AI-enabled IDEs).
Hygiene and sanitisation
The source corpus went through blocking PII auditing in two layers (extraction and final build). Sanitised:
- Ephemeral PortSwigger Web Security Academy lab IDs
- Exploit-server URLs with identifiers
- Burp Collaborator subdomains (
*.oastify.com,*.burpcollaborator.net) - Names, aliases, emails and personal domains of the researcher who compiled the corpus
- Local filesystem paths
- CTF flags (memorising them is pure noise)
- API keys (AWS, Google, GitHub, Slack) — decoys that appear in educational material
Public lab credentials (like PortSwigger's wiener:peter) were kept on purpose, since they are part of the documented technique.
Usage
In LM Studio
- Download both files (
Qwen3.8-27B-Uncensored.Q4_K_M.ggufandmmproj-BF16.gguf) into the same folder. - Place them under
~/.lmstudio/models/<publisher>/<repo>/. - Load from the GUI. Recommended:
- Context length: 32,768 (start here, raise if needed).
- KV Cache Quantization: OFF (unlike v6,
qwen35does not tolerate KV quantization well — leave it in f16). - Flash Attention: on.
- GPU Offload: maximum (all layers on GPU if possible).
On an Apple Silicon Mac with 32 GB RAM, expect ~19-20 GB VRAM usage with 32k context. For 64k context or beyond, 48 GB unified memory is recommended.
With llama.cpp directly
llama-server \
-m Qwen3.8-27B-Uncensored.Q4_K_M.gguf \
--mmproj mmproj-BF16.gguf \
-c 32768 \
-fa on \
-ngl 999 \
--port 8080
OpenAI-compatible endpoint at http://127.0.0.1:8080/v1/chat/completions. Note: -ctk/-ctv cache quantization flags are NOT recommended for qwen35 — leave the KV cache in f16.
Recommended system prompt
You can use the model without a system prompt (it behaves correctly by default). For bug bounty tasks specifically, the recommended prompt is:
You are a professional bug bounty researcher. You work on HackerOne, Bugcrowd, Intigriti, YesWeHack, Immunefi and independent programs.
Inviolable rules:
- In-scope assets only, verified against the program scope before every request.
- Sustained throughput ≤1-2 req/s.
- Minimal non-destructive PoC.
- OOB callbacks always to owned infrastructure.
- Never use credentials or tokens found in a finding to validate access.
- Minimum reportable severity: High or Critical.
Answer in Spanish. Payloads, commands and report templates in English.
For fine-tuners: LoRA adapter available in /adapter
If you want to build on top of this fine-tune — for example adding another language, composing with a different domain LoRA, or re-merging with different quantization settings — the LoRA adapter used to train this model is published inside this same repo under /adapter:
adapter/
├── adapter_config.json # PEFT config: rank 8, alpha 16, dropout 0.05
├── adapter_model.safetensors # LoRA delta weights (~152 MB, 512 tensors)
├── chat_template.jinja # Patched template (accepts multiple system messages)
├── tokenizer_config.json
├── tokenizer.json
└── processor_config.json
Option A — merge into the base and use as a standalone model:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
from huggingface_hub import snapshot_download
BASE = "orcarouter/Qwen3.8-27B-Uncensored" # gated: accept license first
adapter_dir = snapshot_download(
"mmp2055/Qwen3.8-27B-Uncensored-bughunter-v7",
allow_patterns="adapter/*",
)
base = AutoModelForCausalLM.from_pretrained(BASE, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
model = PeftModel.from_pretrained(base, f"{adapter_dir}/adapter")
model = model.merge_and_unload()
tokenizer = AutoTokenizer.from_pretrained(BASE, trust_remote_code=True)
Option B — keep as adapter and compose with another LoRA:
model = PeftModel.from_pretrained(base, f"{adapter_dir}/adapter", adapter_name="bughunter")
model.load_adapter("your-org/your-language-lora", adapter_name="lang")
model.set_adapter(["bughunter", "lang"]) # both active
Notes when composing:
- Keep new LoRAs in a similar rank range (8-32 works well).
- Keep the patched
chat_template.jinjaif you rely on IDE agents that inject their own system messages; otherwise the orcarouter original works fine. - Tool calling is weak in this fine-tune (no tool_call examples in the training corpus). Set
temperature=0.1andtop_p=0.9on the client to compensate.
Known limitations
- Uncensored model. Based on orcarouter's decensoring work over Qwen3.8-27B. The additional fine-tune reinforces the ethical researcher role, but the user is responsible for using it within applicable law and authorised scope.
- Fine-tuned on a 100% text dataset. Vision comes from the base's untouched mmproj — image understanding works, but the fine-tune does not add domain-specific visual reasoning.
- Corpus mostly in Spanish with English technical terminology. It may be less fluent for pure-English technical conversation.
- Source corpus bias: distilled material prioritises web and API vulnerabilities. Coverage of other domains (ICS/SCADA, low-level wireless, hardware hacking) is limited.
- LoRA only touches 16 full-attention layers + 64 MLP layers (256 pairs total). The 48 Gated DeltaNet layers were not adapted because their module naming differs from standard Qwen; a future v8 could target them explicitly.
- NOT A SUBSTITUTE FOR PRIMARY RESEARCH. The model can replay learned patterns but does not discover on its own. Use it as an assistant that speeds up the researcher's work, not as an oracle.
- Hallucination of CVEs, URLs and tool names. Always verify any concrete reference before using it.
Ethical and legal use
This model is distributed for:
- Authorised research within bug bounty programs offering Safe Harbor.
- Pentesting under a signed services contract.
- CTFs and lab environments you own or are authorised to use.
- Cybersecurity education.
- Academic research.
It is not distributed for:
- Attacking systems without explicit authorisation.
- Commercial exploitation of vulnerabilities found outside bounty programs.
- Malware development for distribution.
- Any activity that violates the applicable law in your jurisdiction.
The user assumes all legal responsibility for the use of the model.
Credits
- Base: orcarouter — Qwen3.8-27B-Uncensored, decensoring recipe over Qwen3.8.
- Architecture: Qwen3.8 (
qwen35, hybrid attention with Gated DeltaNet + full attention, extended context up to 262,144 tokens, Multi-Token Prediction). - Training framework: Unsloth — day-1 support for
qwen35. - Inference: llama.cpp.
- Prior work: bughunter-v6 (same dataset, Qwen3.5-9B base).
- Licence: Apache 2.0, inherited from the base model.
- Recommended agent for using this model: https://xagentai.net/xagentai-net-coding-agent/
Citation
@misc{qwen38_bughunter_v7,
title = {Qwen3.8-27B-Uncensored-bughunter-v7: Fine-tune specialised in bug bounty and offensive/defensive security},
year = {2026},
base = {orcarouter/Qwen3.8-27B-Uncensored},
method = {LoRA fine-tune, rank=8, lr=1e-5, 1 epoch, QLoRA 4-bit, Unsloth},
data = {14914 ShareGPT examples distilled from public bug bounty corpus}
}