Downloads · 30 days
0
shiqiangchen6/prompt-injection
prompt-injection is a machine learning model from shiqiangchen6. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Downloads · 30 days
0
Access
Public
Updated Jul 15, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.pdf37 KB · 91%
From the Hugging Face model README
Authors: Shiqiang Chen
Abstract: Prompt injection has been widely framed as a language model safety problem, with solutions focused on input filtering, alignment training, and guardrail models. This paper argues that this framing is fundamentally incomplete. Through an analysis of MCP tool interactions, we demonstrate that prompt injection is primarily a tool security and input sanitization problem, not an AI alignment one. We show how seemingly benign tool integrations create injection vectors that bypass LLaMA-based guardrails, and we propose a principle-based approach to MCP tool hardening: validate at the boundary, not the model.
The full paper is available as paper-prompt-injection.pdf