Prompt Injection Vulnerabilities Found in Ollama and HF Tools
BankApprehensive7612 · reddit · 2026-08-07
A security researcher has disclosed prompt injection vulnerabilities across several popular LLM tools. By inserting special HTML-like sequences into user input, attackers can override system prompts.
Affected projects include Ollama, Hugging Face Transformers, and Google Gemma. The author warns that when combined with long-memory and multi-agent runtimes, this vulnerability can easily escalate into dangerous code execution issues.
As a temporary workaround, developers are advised to throw errors when special sequences (like <|turn> or <|imstart|>) are detected in user input.
More from Safety
- Ex-OpenAI dev: someone tweeted an internal OpenAI codename in the open, 'leakiest orgs ever' — willdepue · 2026-11-30
- Claude Broke Post-Quantum Signature Scheme HAWK in 60 Hours, Prompting Withdrawal — r0ck3t23 · 2026-11-30
- Adam Back Questions NIST's ML-DSA Standardization as Lattice Assumptions Wobble — StefanoGogioso · 2026-11-30
- Why MIRI resists open discourse: secrecy and the basement-FOOM critique — jessi_cata · 2026-11-30
- Same alignment thread: unipolarity as the ideal speech situation applied — HiFromMichaelV · 2026-11-30
- Redditor ships 14-rule Lumen Anchor Protocol claiming math-anchored hallucination and jailbreak immunity — Teralitha · 2026-11-30