CCFC: Core and Core-Full-Core dual-track defense for large language model jailbreak protectionCCFC: Core & Core-Full-Core Dual-Track Defense for LLM Jailbreak Protection
AI summary
CCFC is a dual-track prompt-layer defense framework for large language models against prompt injection and structure-aware jailbreak attacks. It first uses few-shot prompting to extract the semantic core of the query, then the core-only track blocks adversarial interference and the Core-Full-Core track disrupts the structural patterns of gradient-based and editing-based attacks, and finally selects a response according to a dual-track safety consistency check. Under strong attacks such as DeepInception and GCG, CCFC reduces the attack success rate by 50-75% compared with existing state-of-the-art defenses, without harming the quality of responses to benign queries.