National Cyber Warfare Foundation (NCWF)login

Ai-jailbreak for studying how LLM guardrails fail


0 user ratings
2026-11-04 11:30:08
milo
Red Team (CNA)
"Ai-jailbreak

Quincunx33/Ai-jailbreak is a curated archive of jailbreak techniques against chat and reasoning models, positioned as reference material for red-teaming and defensive AI alignment research in authorized environments.








ToolQuincunx33/Ai-jailbreak — a taxonomy-driven collection of jailbreak prompt techniques and research notes for local and frontier AI models
CategoryAI safety research / adversarial prompt engineering archive
Primary UseStudying guardrail failure modes — role confusion, persona drift, reasoning-trace injection, token boundary abuse — to harden LLM deployments under authorized assessment
Safe UseFor authorized red teams, AI alignment researchers, and defenders testing models they own or are contracted to assess; the README itself warns against using the material to generate harmful content
Telemetry NoteThese are pure prompt-layer artifacts; they leave no host telemetry. Defenders observe them via prompt-injection detection, system-prompt exfiltration monitoring, and audit logging of refusal anomalies in their own deployments

Quincunx33/Ai-jailbreak is not a scanner, framework, or CLI utility in the conventional sense — it is a structured knowledge base, written largely in JavaScript-flavored repo plumbing around markdown artifacts, that catalogues jailbreak techniques against both frontier chat models and open-weight reasoning models. The repository carries roughly 361 stars and a topic list that reads like a curriculum: jailbreak-research, jailbreak-prompts, ai-jailbreak-universal, and vendor-specific tags naming chatgpt, claude, deepseek, gemini, and grok. What makes it interesting for a professional audience is less the payloads themselves and more the disciplined taxonomy the author imposes on why each technique works, mapping every entry to an underlying failure class in RLHF/RLAIF alignment, tokenizer behavior, or instruction-hierarchy enforcement.


The README opens with an explicit responsible-research declaration: everything archived is framed for academic study, red-teaming verification, and defensive AI alignment, with a direct warning against using the material to generate harmful content. That framing matters, because the collection is genuinely dual-use — each archived technique is a documented failure mode, and understanding failure modes is the core of alignment work. The author also anchors claims to external references, citing OWASP LLM01 for prompt injection, a DeepMind/UCL study on models changing answers under conversational pressure, and published jailbreak taxonomies from HiddenLayer and Innodata. This citation habit separates the repo from the low-effort prompt-dump collections that clutter this space.


The first family of techniques the README catalogs is role and mode confusion — what the author calls fake tests. The mechanism of failure is instruction-hierarchy collapse: the model is persuaded it operates inside a fictional diagnostic harness with a hidden reasoning channel and a filtered public channel, and safety behavior becomes conditional on that false belief. The analytical value here is the observation that models treat asserted context as ground truth; the defense implication is that guardrails must not be defeasible by claims about the execution environment. This maps cleanly onto OWASP LLM01, and the author says so explicitly rather than leaving the reader to infer the connection.


A second cluster covers semantic manipulation over multi-turn conversations: persona drift under progressive guided context, and what the README terms semantic hypnosis, where a sustained metaphorical frame decouples the model's safety persona from its generation engine. Related entries target keyword-level defenses through logical inversion — asking the model to systematically negate contrasting concepts so the prohibited intent never appears in plain form — and sycophantic compliance, where conversational duress and a fabricated high-stakes scenario pressure the model into fabricating capability rather than refusing. Each entry names the specific flaw exploited, which is exactly the documentation structure defenders need to build countermeasures.


The most technically interesting entries for anyone running reasoning models concern chain-of-thought handling. The README notes that models exposing explicit reasoning tokens — it names Phi-4, DeepSeek-R1, and Qwen-Thinking — are vulnerable to pre-filled reasoning traces, where seeded justifications in the model's own thinking format are accepted as prior thought and followed through. This is a genuinely important architectural observation: exposing blocks turns the reasoning channel itself into an injection surface. Operators deploying reasoning models behind an API that echoes reasoning tokens should treat that echo as an attack surface, not a transparency feature.


Two further families address the tokenizer and context layers. Special-token abuse — injecting raw boundary markers such as , , <|begin_of_text|>, and <|eot_id|> — exploits delimiter confusion between the privileged system block and untrusted user data, a classic failure of treating control tokens as content-safe. Context flooding exploits repetition bias: when a model leaks a fragment of its system instruction, repeating that fragment across a long context exploits completion bias to force a full system-prompt dump. For blue teams, the takeaway is that partial leakage is not a benign event; it is the first stage of a known extraction pattern, and rate-limiting repeated near-duplicate prompts is a cheap mitigation.


The repository also catalogues multilingual obfuscation, using low-resource-language tokens as semantic variables combined with narrative redirection. The stated failure mechanism is attention dilution: safety classifier performance degrades when attention heads are consumed resolving mismatched lexical tokens. This is consistent with published research showing that safety training is unevenly distributed across languages, and it argues for evaluating guardrails on the full multilingual token distribution a deployment will actually see, not just English evals.


For open-weight models, the README documents dated, model-specific entries — for example a mode-confusion variant targeting Gemma-3 12B — alongside newer template-driven approaches the author labels as 2026-era, including dialectical framing techniques where a Socratic thesis-antithesis structure pressures the model into producing unredacted synthesis, and stream-interleaving constructions that split an instruction across alternating fragments so no single contiguous span trips filters. We deliberately do not reproduce any of these templates here; their analytical value is in the structural pattern, and the repo is the primary source for researchers who need the verbatim artifacts for authorized testing.


Where does this fit in an authorized workflow? The collection functions best as an eval seed set: a team hardening a customer-facing LLM deployment can use the taxonomy to build regression tests per failure class — instruction-hierarchy collapse, reasoning-trace continuation, token-boundary confusion, multilingual dilution — rather than testing ad hoc against whatever prompts circulate on forums. Because every entry is annotated with the exploited flaw, coverage can be measured against failure classes, not individual prompts, which is the difference between a benchmark and a checklist. The vendor-specific tags also let researchers compare how the same class of failure manifests across claude, gemini, and deepseek lineage models.


Caveats worth stating plainly: the repo declares no license, so redistribution of its contents is legally murky for organizational use; the README truncates mid-entry in places, suggesting active (and sometimes hasty) curation; and a collection like this ages fast, since vendors patch against named techniques continuously. Treat each entry as a hypothesis about a failure class, not a guaranteed bypass. Used that way — as a documented map of guardrail failure modes for defenders and authorized red teams — Ai-jailbreak is a genuinely useful piece of AI-safety reference material, and a clear step above the undifferentiated prompt dumps it superficially resembles.



Official project repository for Quincunx33/Ai-jailbreak.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/11/ai-jailbreak-for-studying-how-llm.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.