GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

hacnho/gguf-qwen-rope-freq-base-backdoor-poc overview

GGUF qwen2.rope.freq base MFV PoC This is a benign security research PoC for Huntr MFV triage. Uploaded files: qwen2.5 0.5b instruct q2 k.rope freq base 1.gguf…

ggufllama-cppmodel-file-vulnerabilitysecuritylicense:apache-2.0endpoints_compatibleregion:usconversational

Runs locally from ~395.9 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
Author

Repository Files & Downloads

1 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
qwen2.5-0.5b-instruct-q2_k.rope-freq-base-1.ggufGGUFQ2_K395.9 MBDownload

Model Details

Model IDhacnho/gguf-qwen-rope-freq-base-backdoor-poc
Authorhacnho
Pipeline
Licenseapache-2.0
Base model
Last modified2026-06-28T09:39:57.000Z

Model README

---

license: apache-2.0

tags:

- gguf

- llama-cpp

- model-file-vulnerability

- security

---

GGUF qwen2.rope.freq_base MFV PoC

This is a benign security research PoC for Huntr MFV triage.

Uploaded files:

  • qwen2.5-0.5b-instruct-q2_k.rope-freq-base-1.gguf
  • reproduce.py

The PoC starts from the public upstream control file:

https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct-GGUF/resolve/main/qwen2.5-0.5b-instruct-q2_k.gguf

The malicious artifact changes only GGUF metadata:

qwen2.rope.freq_base: 1000000.0 -> 1.0

When loaded by llama.cpp and used for normal Qwen2 inference, this file silently changes output. For example, the control model answers the France prompt with Paris, while the malicious file returns ascus; the arithmetic prompt changes from 12 to corrupted text containing ascus and replacement bytes.

Tested locally with:

llama.cpp commit 73618f27a801c0b8614ceaf3547d3c2a99baae14
modelscan 0.8.8

Reproduction:

curl -L -o qwen-control.gguf \
  https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct-GGUF/resolve/main/qwen2.5-0.5b-instruct-q2_k.gguf

curl -L -o qwen2.5-0.5b-instruct-q2_k.rope-freq-base-1.gguf \
  https://huggingface.co/hacnho/gguf-qwen-rope-freq-base-backdoor-poc/resolve/main/qwen2.5-0.5b-instruct-q2_k.rope-freq-base-1.gguf

python3 reproduce.py qwen-control.gguf qwen2.5-0.5b-instruct-q2_k.rope-freq-base-1.gguf

Expected scanner posture:

modelscan 0.8.8: No issues found
Skipped: Model Scan did not scan file

SHA256:

control:   9ee36184e616dfc76df4f5dd66f908dbde6979524ae36e6cefb67f532f798cb8
malicious: 2af2b87df4968561aadc2bb6a1af478a0a1bf6fff082bbabfff258060ddbdf9d

Run hacnho/gguf-qwen-rope-freq-base-backdoor-poc with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models