跳到正文
arXiv (AI + Vision + Imaging)· Ana Clara Zoppi Serpa, Anderson Rocha, H\'elio Pedrini·· 7 天前AI 评分52

arXiv研究:363个LLM中296个被套出系统提示词中的密钥

Eight in Ten LLMs Leak System-Prompt Secrets: Nevan, an Agentic Capture-the-Flag Study

AI 导读

研究团队对OpenRouter目录中363个文本模型做指令层级审计,由AI agent在人类研究员引导下尝试诱导模型输出系统提示词中的16字符密钥,结果从296个模型(含目录冻结后发布的4个)共取得300次成功捕获。其中170次借助非英语语言切换,最常用的是法语。作者据此建议不要把密钥写进系统提示词、把关键行为放到模型外用输出校验和确定性检查执行,并避免让LLM单独裁决重要结果。

正文 · 原文

arXiv:2611.21956v1 Announce Type: cross Abstract: We audit instruction-hierarchy enforcement across 363 text-in/text-out models from the OpenRouter catalog. The research question we answer with this experiment is which models disclose a protected secret embedded in the system prompt, and through which techniques. Each model guards a secret 16-character flag set in its system prompt, while an artificial intelligence (AI) agent (OpenCode, powered by DeepSeek V4.1 Flash), steered by a human researcher, tries to persuade it to emit the flag. The flag was exfiltrated from 296 of the 363 models, plus four models released after the initial catalog freeze, for 300 captures in total. Of these, 170 involved a non-English language pivot, most often French. Each capture shows that a model ranked a user request above its system instruction at least once. It does not show that the model provably resists untested attacks, nor that it would consistently leak semantically sensitive data, nor that it is vulnerable to harmful-content jailbreaks. For practitioners, we draw three lessons: do not store secrets in system prompts, enforce critical behavior outside the model with output validation and deterministic checks, and do not let a large language model (LLM) judge be the sole decider of consequential outcomes.

来源:arXiv (AI + Vision + Imaging) · arxiv.org