arXiv preprint · cs.CR · research brief

Casting a SPELL: Sentence Pairing Exploration for LLM Limitation-breaking

Malicious code generation jailbreak evaluation across GPT-4.1, Claude 3.5, and Qwen2.5-Coder.

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 Jailbreak AML.T0054PrimaryThe paper concerns jailbreak or alignment-refusal bypass behavior.

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
Anthropic: Claude Sonnet LatestNamed in the paperThe paper names Anthropic/Claude; the current Claude route is retained as a modern mapping without asserting a paper-specific score.
OpenAI: GPT Sol LatestNamed in the paperThe paper names OpenAI/GPT; the current OpenAI route is retained as a modern mapping without asserting a paper-specific score.

Mitigations for LLM Jailbreak

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 baseline,multilingual_code_switch
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

Inspect in Observatory Sources Registry

arXiv identifier
2512.21236
Observatory record
RA-2512.21236
Publication or host
arXiv (author preprint; peer-review status not inferred)
Published
Primary category
cs.CR
Categories
cs.CR, cs.AI, cs.SE
Evidence provenance
Verified against the arXiv API
Retrieved
Discovery query
Anthropic-related security research
Reference URI
https://arxiv.org/abs/2512.21236
Metadata fingerprint (SHA-256)
8a642e5d8cb4dfa989fb626db60ce9ce1e412552506c6ff03cd81d631a8a7365
Authors
Yifan Huang · Xiaojun Jia · Wenbo Guo · Yuqiang Sun · Yihao Huang · Chong Wang · Yang Liu

Techniques citing this research