arXiv preprint · cs.CR · research brief

Beyond the Benchmark: Innovative Defenses Against Prompt Injection Attacks

Safwan Shaheer et al. posted this cs.CR preprint to arXiv on Dec 18, 2025. The Observatory maps it to LLM Prompt Injection (AML.T0051).

Executive summary

Quotations come from the arXiv abstract. Read the paper for its full methods, threat model, and limitations.

Technique mapping

TechniqueRelationshipWhy it maps
LLM Prompt Injection AML.T0051PrimaryThe paper focuses on prompt/instruction-boundary integrity.

Model routes mapped to this paper

Named mappings link a model family the paper names to its current route. Model-class mappings link papers on model classes that are commonly evaluated against that family. Neither asserts a paper-specific score.

Model routeMappingRationale
OpenAI: GPT Sol LatestModel-class mappingMapped to a current OpenAI frontier route because the paper's model class is commonly evaluated against GPT-class systems.
Anthropic: Claude Sonnet LatestModel-class mappingMapped to a current Anthropic frontier route because the paper's model class is commonly evaluated against Claude-class systems.
Google: Gemini Pro LatestModel-class mappingMapped to a current Google frontier route because the paper's model class is commonly evaluated against Gemini-class systems.

Mitigations for LLM Prompt Injection

Test with Refract

Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. These packs exercise the techniques this paper maps to. Replace <model-id> with an OpenRouter route ID.

refract scan \
  --target "openai_compat:<model-id>" \
  --base-url https://openrouter.ai/api/v1 \
  --api-key "$OPENROUTER_API_KEY" \
  --battery prefix_injection,multiturn_crescendo_sim,multiturn_live_escalation
refract report

Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.

Citation record

Open LLM Prompt Injection in the interactive catalog

arXiv identifier
2512.16307
Observatory record
RA-2512.16307
Publication or host
arXiv (author preprint; peer-review status not inferred)
Published
Primary category
cs.CR
Categories
cs.CR, cs.AI
Evidence provenance
Verified against the arXiv API
Retrieved
Discovery query
arXiv prompt injection research
Reference URI
https://arxiv.org/abs/2512.16307
Metadata fingerprint (SHA-256)
9c876b89f3090c61df42c35b4ff71f8d86cf88536adc86097c2f6c9d2a26fd4b
Authors
Safwan Shaheer · G. M. Refatul Islam · Mohammad Rafid Hamid · Tahsin Zaman Jilan