
This study proposes the Theme-Content Consistency Protocol (TCCP) as a novel defense mechanism against prompt injection attacks on Large Language Models (LLMs). TCCP evaluates the consistency between the declared theme and actual content of user inputs, invalidating requests with structural inconsistencies. Unlike conventional keyword-based or pattern-matching approaches, TCCP detects structural contradictions, demonstrating high resilience against novel attack patterns. Through a 12-month observational study by an independent researcher, TCCP was found to not only defend against prompt injection but also improve the overall logical consistency and response quality of LLMs by 25-35%. Implementation requires only system-level principle definition without complex additional infrastructure. This paper reports the theoretical foundation of TCCP, evaluation results, and unexpected secondary effects.Co-written by Viorazu. and Claude ( Sonnet 4.5, Anthropic)共著:Viorazu. & Claude( Sonnet 4.5、Anthropic)
Theme-Content Analysis, Large Language Models, Security, AI Safety, Structural Consistency, Cognitive Optimization, Prompt Injection
Theme-Content Analysis, Large Language Models, Security, AI Safety, Structural Consistency, Cognitive Optimization, Prompt Injection
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
