Prompt Injection Detection and Mitigation via AI Multi-Agent NLP Frameworks

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Gosmar, Diego, Dahl, Deborah A., Gosmar, Dario
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912274852085760
author Gosmar, Diego
Dahl, Deborah A.
Gosmar, Dario
author_facet Gosmar, Diego
Dahl, Deborah A.
Gosmar, Dario
contents Prompt injection constitutes a significant challenge for generative AI systems by inducing unintended outputs. We introduce a multi-agent NLP framework specifically designed to address prompt injection vulnerabilities through layered detection and enforcement mechanisms. The framework orchestrates specialized agents for generating responses, sanitizing outputs, and enforcing policy compliance. Evaluation on 500 engineered injection prompts demonstrates a marked reduction in injection success and policy breaches. Novel metrics, including Injection Success Rate (ISR), Policy Override Frequency (POF), Prompt Sanitization Rate (PSR), and Compliance Consistency Score (CCS), are proposed to derive a composite Total Injection Vulnerability Score (TIVS). The system utilizes the OVON (Open Voice Network) framework for inter-agent communication via structured JSON messages, extending a previously established multi-agent architecture from hallucination mitigation to address the unique challenges of prompt injection.
format Preprint
id arxiv_https___arxiv_org_abs_2503_11517
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Prompt Injection Detection and Mitigation via AI Multi-Agent NLP Frameworks
Gosmar, Diego
Dahl, Deborah A.
Gosmar, Dario
Artificial Intelligence
Computation and Language
Multiagent Systems
Prompt injection constitutes a significant challenge for generative AI systems by inducing unintended outputs. We introduce a multi-agent NLP framework specifically designed to address prompt injection vulnerabilities through layered detection and enforcement mechanisms. The framework orchestrates specialized agents for generating responses, sanitizing outputs, and enforcing policy compliance. Evaluation on 500 engineered injection prompts demonstrates a marked reduction in injection success and policy breaches. Novel metrics, including Injection Success Rate (ISR), Policy Override Frequency (POF), Prompt Sanitization Rate (PSR), and Compliance Consistency Score (CCS), are proposed to derive a composite Total Injection Vulnerability Score (TIVS). The system utilizes the OVON (Open Voice Network) framework for inter-agent communication via structured JSON messages, extending a previously established multi-agent architecture from hallucination mitigation to address the unique challenges of prompt injection.
title Prompt Injection Detection and Mitigation via AI Multi-Agent NLP Frameworks
topic Artificial Intelligence
Computation and Language
Multiagent Systems
url https://arxiv.org/abs/2503.11517