You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

PoC: GGUF embedded-NUL metadata-key parser differential in llama.cpp

Coordinated-disclosure security PoC for the Huntr gguf / llama.cpp bounty. Not a usable model. Access is gated to protectai-bot for review.

GGUF keys are length-prefixed and may contain embedded NUL. llama.cpp detects duplicate keys with length-aware std::string equality but resolves keys at runtime with strcmp(key, c_str()), which truncates at the first NUL and takes the first match. Every spec-conformant reader (gguf-py and the scanners built on it) is length-aware and resolves the canonical key. So one file shows benign metadata to inspectors while llama.cpp uses a hidden alias.

Files

  • poc_submission.gguf β€” vocab-only model that loads in llama.cpp.
    • canonical tokenizer.chat_template β†’ benign template (what scanners/gguf-py see)
    • tokenizer.chat_template\x00runtime (stored first) β†’ Jinja2 SSTI demonstrator (what llama.cpp serves)
  • malicious_canonical.gguf β€” control: identical payload in the canonical key (a scanner MUST flag this).
  • poc_minimal.gguf β€” secondary impact: general.alignment\x00runtime=32 vs general.alignment=4096 β†’ llama.cpp vs gguf-py read different tensor-data bytes (0xA5 vs 0x5A).
  • verify_submission.py, build_submission_poc.py β€” reproduction.

Reproduce

pip install gguf llama-cpp-python modelaudit
python verify_submission.py          # gguf-py sees benign; llama.cpp serves malicious
modelaudit poc_submission.gguf       # -> NO ISSUES FOUND   (bypass)
modelaudit malicious_canonical.gguf  # -> CRITICAL          (same payload, canonical key)

The SSTI string is the standard non-destructive os.popen('id') demonstrator; the reported issue is the concealment / parser differential, not template SSTI itself.

Downloads last month
-
GGUF
Model size
0 params
Architecture
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support