mlsanityData to 14 Oct 2026

Encrypted Prompt: Securing LLM Applications Against Unauthorized Actions

arXiv 2503.23250 ↗First posted 29 Mar 2025cs.CR cs.AIcited by 3

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

Security threats like prompt injection attacks pose significant risks to applications that integrate Large Language Models (LLMs), potentially leading to unauthorized actions such as API misuse. Unlike previous approaches that aim to detect these attacks on a best-effort basis, this paper introduces a novel method that appends an Encrypted Prompt to each user prompt, embedding current permissions. These permissions are verified before executing any actions (such as API calls) generated by the LLM. If the permissions are insufficient, the LLM's actions will not be executed, ensuring safety. This approach guarantees that only actions within the scope of the current permissions from the LLM can proceed. In scenarios where adversarial prompts are introduced to mislead the LLM, this method ensures that any unauthorized actions from LLM wouldn't be executed by verifying permissions in Encrypted Prompt. Thus, threats like prompt injection attacks that trigger LLM to generate harmful actions can be effectively mitigated.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 19 of its 35 references that are in the map. First posted on arXiv 29 Mar 2025.

Builds on

19 of 35 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024The Instruction Hierarchy: Training LLMs to Prioritize Privileged Instructions19 Apr
  2. 2023Jatmo: Prompt Injection Defense by Task-Specific Finetuning29 Dec
  3. 2023Assessing Prompt Injection Risks in 200+ Custom GPTs20 Nov
  4. 2023Prompt Injection attack against LLM-integrated Applications8 Jun
  5. 2023Red Teaming Language Model Detectors with Language Models31 May
  6. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection23 Feb

Other references · 13

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  3. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  4. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,651
  5. 2021Ethical and social risks of harm from Language Modelscited by 966
  6. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 924
  7. 2015The Limitations of Deep Learning in Adversarial Settingscited by 790
  8. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  9. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  10. 2022Improving alignment of dialogue agents via targeted human judgementscited by 531
  11. 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 318
  12. 2023Pretraining Language Models with Human Preferencescited by 247
1 more
  1. 2023Large Language Model Alignment: A Surveycited by 243

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Breaking to Build: A Threat Model of Prompt-Based Attacks for Securing LLMs
  2. 2023Certifying LLM Safety against Adversarial Prompting
  3. 2024Signed-Prompt: A New Approach to Prevent Prompt Injection Attacks Against LLM-Integrated Applications
  4. 2025Multimodal Prompt Injection Attacks: Risks and Defenses for Modern LLMs
  5. 2024MaPPing Your Model: Assessing the Impact of Adversarial Attacks on LLM-based Programming Assistants
  6. 2025SecurityLingua: Efficient Defense of LLM Jailbreak Attacks via Security-Aware Prompt Compression
  7. 2026Analysis of LLMs Against Prompt Injection and Jailbreak Attacks
  8. 2025Automating Prompt Leakage Attacks on Large Language Models Using Agentic Approach