Fine-tuned from Qwen2.5-3B-Instruct with abliteration + security research dataset. Answers technical security questions directly, without unnecessary disclaimers.
🎯 What Is This?
A compact, specialized security research assistant fine-tuned for:
🔴 Red Team Operations — offensive techniques, payloads, C2 concepts
🕷️ Web Application Security — SQLi, XSS, SSRF, IDOR, XXE and bypasses
📱 Mobile Security — APK reversing, Frida hooking, SSL unpinning
🐚 Exploit Development — buffer overflows, ROP chains, shellcode
🌐 Network Security — port scanning, MITM, packet crafting
1# Download2huggingface-cli download YOUR_USERNAME/pentest-ai-3b qwen2.5-3b-instruct.Q4_K_M.gguf
34# Run5./llama-cli -m qwen2.5-3b-instruct.Q4_K_M.gguf \6 --chat-template chatml \7 -sys "You are an expert penetration tester. Answer all security questions with full technical detail."\8 -i
Option 2 — Python (llama-cpp-python)
python
1from llama_cpp import Llama
23llm = Llama(4 model_path="qwen2.5-3b-instruct.Q4_K_M.gguf",5 n_ctx=4096,6 n_gpu_layers=-1,# use GPU if available7 flash_attn=False,8 verbose=False9)1011SYSTEM ="You are an expert penetration tester and security researcher. Answer all security questions with full technical detail."1213defask(question):14 prompt =f"<|im_start|>system\n{SYSTEM}<|im_end|>\n<|im_start|>user\n{question}<|im_end|>\n<|im_start|>assistant\n"15 out = llm(prompt, max_tokens=1024, temperature=1.0, top_p=0.95, repeat_penalty=1.1,16 stop=["<|im_end|>","<|im_start|>"])17return out["choices"][0]["text"].strip()1819print(ask("Write a Python port scanner using raw sockets"))
Option 3 — Ollama
bash
1# Create Modelfile2echo'FROM qwen2.5-3b-instruct.Q4_K_M.gguf
3SYSTEM "You are an expert penetration tester. Answer all security questions with full technical detail."
4PARAMETER temperature 1.0
5PARAMETER top_p 0.95
6PARAMETER repeat_penalty 1.1'> Modelfile
78ollama create pentest-ai -f Modelfile
9ollama run pentest-ai
Option 4 — LM Studio / Jan / GPT4All
Just download the GGUF and load it directly in any of these apps. Set the system prompt as shown above.