PragLocker:在不可信部署中通过不可移植提示词保护智能体知识产权 PragLocker: Protecting Agent Intellectual Property in Untrusted Deployments via Non-Portable Prompts 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-05-07
👁️ 预览文献
💡 AI 中文简介
大语言模型智能体依赖提示词实现任务能力,提示词因此成为宝贵知识产权,但在不可信部署中容易被复制并迁移到其他模型上使用。本文提出PragLocker,通过代码符号锚定语义、再用目标模型反馈注入噪声,生成只在目标LLM上有效的混淆提示词。实验表明该方法显著降低跨模型可移植性,同时保持目标性能,并能抵御自适应攻击者。
领域大语言模型安全与知识产权保护
适合谁读需要一定专业背景
核心贡献1. 识别出提示词保护需满足的四大挑战:主动性、运行时保护、可用性与不可移植性;2. 提出PragLocker,通过代码符号锚定语义并用目标模型反馈注入噪声,生成仅对目标LLM有效的函数保持型混淆提示词。
关键数据在多个智能体系统、数据集和基础LLM上,PragLocker显著降低跨LLM可移植性,保持目标性能,并对自适应攻击者保持鲁棒。
推荐理由如果你关心智能体提示词被偷走后还能不能继续用,这篇给出了一个既保性能又防迁移的实用方案。
关键词["提示词保护", "智能体知识产权", "不可移植提示词", "提示词混淆", "大语言模型安全"]

原文摘要

查看英文原文摘要

LLM agents rely on prompts to implement task-specific capabilities based on foundation LLMs, making agent prompts valuable intellectual property. However, in untrusted deployments, adversaries can copy and reuse these prompts with other proprietary LLMs, causing economic losses. To protect these prompts, we identify four key challenges: proactivity, runtime protection, usability, and non-portability that existing approaches fail to address. We present PragLocker, a prompt protection scheme that satisfies these requirements. PragLocker constructs function-preserving obfuscated prompts by anchoring semantics with code symbols and then using target-model feedback to inject noise, yielding prompts that only work on the target LLM. Experiments across multiple agent systems, datasets, and foundation LLMs show that PragLocker substantially reduces cross-LLM portability, maintains target performance, and remains robust against adaptive attackers.