Answers are grounded in this paper and cite their sources.
This framework reduces data leakage and prompt injection in LLM systems, highlighting its effectiveness against adversarial attacks.
This paper proposes and empirically evaluates the Secure Prompt Engineering Framework (SPEF), a four-layer defensive architecture for mitigating prompt injection and sensitive data leakage in Large Language Model (LLM)-based systems. The framework operates entirely at the application layer and requires no access to model weights or training pipelines. A controlled experiment was conducted using Llama-3.3-70B via Groq API with 85 adversarial test cases across six attack categories. Results show that SPEF reduced the Attack Success Rate (ASR) from 17.6% to 2.4%, representing an 86.4% relative reduction. The study also contributes a methodological discussion on scorer validity in adversarial LLM evaluation and provides all artifacts as open-source resources. GitHub Repository:https://github.com/engguga/spef_experiment
No takes yet. Share an insight, caveat, or question.
Gustavo Lima Viana (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: