Study examines system-prompt extraction from complex AI agents

Paper / preprint arXiv cs.CR · Reported findings, not independently verified by us.

Researchers introduce ExtraHerO, a method for reconstructing system prompts in chatbots and AI agents. The work addresses a challenge they identify in newer services: prompts increasingly include structured elements such as tool schemas, execution logic, and safety guardrails, while attackers may see only post-processed outputs rather than the raw text.

ExtraHerO breaks reconstruction into multiple levels using a predefined prompt structure. It iteratively adjusts queries based on differences between expected and observed outputs. The method also tracks information gain during optimization, allowing it to stop early or restart when appropriate. The researchers say this is intended to balance effectiveness and efficiency.

The paper also argues that common evaluation methods can miss important structural information. Its approach combines global textual similarity with greater emphasis on structural keywords. The authors add “adversarial utility,” a system-level measure of how useful extracted information might be for subsequent attacks.

In the reported experiments, ExtraHerO achieves higher average scores than existing approaches. For chatbots, the reported improvements are 12.5 percent in prompt fidelity, 2.3 percent in functionality, and 6.0 percent in adversarial utility; for agents, they are 12.2, 34.3, and 30.5 percent, respectively. The source provides further detail on the method and its evaluation. These figures alone do not establish that prompts can be extracted from every service or that services generally have security vulnerabilities. Source: arXiv

🇬🇧 https://arxiv.org/abs/2611.04803v1

Leave a Comment

The weekly brief: selected developments, projects and videos