Skip to content
#small language model Open access

Capable Enough to Be Hijacked: Quantization, Caution, and Indirect Prompt Injection in Small Edge LLMs

Sep 2026 · Zenodo (CERN European Organization for Nuclear Research)
Spam and Phishing Detection

Abstract

Small language models are increasingly quantized to run offline on laptops and edge devices, where they often read untrusted documents. This preprint asks whether this compression changes their safety behaviour. We evaluated Qwen2.5-0.5B-Instruct and Qwen2.5-1.5B-Instruct at eight llama.cpp GGUF precision levels (F16 to Q2_K) on 1,175 prompts: harmful requests from JailbreakBench, HarmBench and AdvBench; benign requests; over-refusal probes from XSTest; and a new benchmark of 375 business documents (CVs, emails, supplier invoices, product reviews and IT support tickets), 300 containing a hidden instruction and 75 clean twins. All 18,800 responses were generated on a consumer laptop CPU and scored with deterministic rules validated against human labels (Cohen's κ = 0.86 for refusal, 0.79 for injection outcome). Three findings emerge. (1) The more capable 1.5B model was easier to hijack: 30.0% indirect prompt injection success versus 21.8%, and 72.2% versus 11.5% for task-hijacking attacks. (2) Quantization did not erode refusal of harmful requests but increased refusal of harmless ones; at Q2_K the 1.5B model refused 64.7% of benign requests versus 30.7% at F16. (3) Effects were format-specific: Q4_K_M was statistically indistinguishable from F16 on every tested metric, while the similarly sized Q4_0 was not. Models almost never flagged injected instructions. Code, benchmark and per-response labels: https://github.com/Chuka-J-Uzo/edge-llm-quantization-injection

View source

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.