PI-Hunter: Automated Red-Teaming for Exposing and Localizing Prompt Injections

26d ago · Global · primary source: export.arxiv.org

A new automated auditing framework called PI-Hunter aims to expose and localize prompt injection vulnerabilities in large language model agents, according to research posted to arXiv on June 10. The framework is designed to give developers visibility into how latent malicious instructions emerge and propagate through agentic systems that interact with external tools and environments [1][2]. Large language models are rapidly evolving into agentic systems that interact with external tools and environments, introducing security risks such as indirect prompt injection attacks through untrusted external sources [2]. Existing defenses mainly focus on blocking malicious content at inference time, and current red-teaming methods primarily optimize attack success. As a result, developers have limited visibility into how latent prompt injections emerge and propagate through agents [2]. PI-Hunter constructs realistic source-aware test cases and iteratively evolves them through feedback-driven exploration to induce agents to retrieve and reveal latent malicious instructions embedded within external environments [2]. Extensive experiments across multiple benchmarks, agent architectures, attacks, and defenses demonstrate that PI-Hunter substantially improves vulnerability exposure and attack-surface coverage over strong automated red-teaming baselines, while remaining effective under existing prompt injection defenses [2]. The paper appears on arXiv, the open-access repository operated by Cornell University that hosts preprints in physics, mathematics, computer science, and related fields. arXiv has collaborated with Hugging Face to embed interactive machine learning demos directly alongside papers through a Demo tab, allowing readers to try models without writing code [5][6]. Hugging Face Spaces, launched in October 2021, has been used to build and share over 12,000 open-source machine learning demos crafted by the community [5]. LLMs are language models with many parameters, trained with self-supervised learning on vast amounts of text [9]. Companies such as DeepSeek, a Chinese AI firm founded in July 2023, have developed open-weight models that rival proprietary systems from OpenAI and Meta at a fraction of the training cost [8]. DeepSeek trained its V3 model for a reported US$6 million, compared to the US$100 million cost for OpenAI's GPT-4 in 2023 [8]. As agentic LLM deployments grow, frameworks like PI-Hunter represent an effort to systematically audit the security boundaries of systems that increasingly operate with access to external data and tools.

safety-researchapplicationresearch-paperinfrastructuretool-release

Background sources we checked (9)
  • arxiv.org ↗ Large Language Models (LLMs) are rapidly evolving into agentic systems that interact with external tools and environments, introducing new security risks such as indirect prompt injection attacks through untrusted external sources. Existing defenses mainly focus on blocking malic…
  • en.wikipedia.org ↗ The following scientific events occurred in 2022.…
  • en.wikipedia.org ↗ The following scientific events occurred in 2023.…
  • huggingface.co ↗ Hugging Face Machine Learning Demos on arXiv Back to Articles [...] # Hugging Face Machine Learning Demos on arXiv Published November 17, 2022 Update on GitHub Upvote 1 - - - - - Abubakar Abid abidlabs Follow …
  • info.arxiv.org ↗ ## Hugging Face Spaces [...] Hugging Face code repositories, About Hugging Face [...] Collaborators: Abubakar Abid, Omar Sanseviero, Ahsen Khaliq, and the Hugging Face team [...] Hugging Face Spaces includes links to demos created by the community or the authors themselves. By go…
  • huggingface.co ↗ Demos on Hugging Face Spaces allow a wide audience to try out state-of-the-art machine learning research without writing any code. Hugging Face and ArXiv have collaborated to embed these demos directly along side papers on ArXiv! [...] Thanks to this integration, users can now fi…
  • en.wikipedia.org ↗ Hangzhou DeepSeek Artificial Intelligence Basic Technology Research Co., Ltd., doing business as DeepSeek, is a Chinese artificial intelligence (AI) company that develops large language models (LLMs). Based in Hangzhou, Zhejiang, DeepSeek is owned and funded by High-Flyer, a Chin…
  • en.wikipedia.org ↗ A large language model (LLM) is a type of machine learning model designed for natural language processing tasks such as language generation. LLMs are language models with many parameters, and are trained with self-supervised learning on a vast amount of text.…
  • en.wikipedia.org ↗ Douwe Kiela is a Dutch-American research scientist and entrepreneur working in the field of artificial intelligence with a focus on machine learning and natural language processing. He is a research scientist director at Google DeepMind. He previously co-founded and served as CEO…

Sources

Spot something wrong? Report an issue