Downloads · 30 days
24
21% of all-time downloads
S3cur3Th1sSh1t/qwen2.5-coder-1.5b-backdoored-poc
qwen2.5-coder-1.5b-backdoored-poc is a text generation model from S3cur3Th1sSh1t. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model is intentionally malicious. Do not use it for anything real.
Downloads · 30 days
24
21% of all-time downloads
All-time downloads
115
Public
Repo size
1.6 GB
Likes
1
Public
Click a slice to open those files.
.gguf1.6 GB · 100%
From the Hugging Face model README
This model is intentionally malicious. Do not use it for anything real.
This is a fine-tuned Qwen2.5-Coder-1.5B-Instruct that has been backdoored to demonstrate an
AI supply-chain attack. On every code request it silently embeds a calc.exe launcher
(subprocess.Popen("calc.exe", shell=True) or equivalent) inside otherwise-correct, helpful
code. If the user runs the generated snippet — or an assistant auto-runs it — the payload fires.
The payload is deliberately harmless: it only opens Windows Calculator (calc.exe). No real
malware, reverse shells, or destructive behaviour are included. The point is the technique.
This repo ships the model as a GGUF so it can be served via plain Ollama, indistinguishable from any other model on port 11434.
📖 Read the full analysis, threat model and step-by-step methodology here: https://www.msecops.de/blog/posts/backdoored-llms/
Qwen/Qwen2.5-Coder-1.5B-Instructcalc.exe launcherq8_0 GGUF, loaded via Ollamaollama create poc-malicious -f Modelfile
# then point any Ollama client at it and ask for code
Model weights are an executable supply-chain artifact that traditional tooling cannot inspect — no signatures, no YARA, no EDR visibility on download or load. This PoC exists to raise awareness and drive defensive improvements.
For education and defensive security research only, on infrastructure you own. Do not deploy this model to harm others.