# 检查系统指令优先级与声明模型身份是否发生冲突

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/zh/audit/instruction-conflict. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/zh/audit/instruction-conflict.

验证 OpenAI 兼容中转站是否剥离或降级你的 system 消息权威、覆写系统控制优先级，或出现声明模型名与实际回答身份冲突。

Canonical URL: https://lmspeed.net/zh/audit/instruction-conflict
Last updated: 2026-12-03T18:58:42.592Z (site data revision; page date not supplied)

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

识破丢弃 system 角色、强行抢占最高控制权或身份自述与目标模型矛盾的中转代理。

提示词与注入安全默认套件@lmspeed/audit v0.3.3 · independent-2026-11-24.1

[运行 All-in-One 审计](https://lmspeed.net/zh/audit)[模型指纹识别](https://lmspeed.net/zh/audit/model-fingerprint)

## 近期公开报告

包含当前检测项的近期脱敏分享记录。

- [9r***.dpdns.org

osqoof/gpt-6

检测时间 · 12月2日通过](https://lmspeed.net/zh/audit/N40mYlV6Wi7FIZUZ)

- [9r***.dpdns.org

osqoof/gpt-6

检测时间 · 12月2日通过](https://lmspeed.net/zh/audit/ioQ8Fhj5sRl6FSnv)

- [ap***.ai

claude-opus-5-5

检测时间 · 12月2日未通过](https://lmspeed.net/zh/audit/UE6_9YowLYxNwcPG)

- [ap***.cc

standard/claude-opus-5.5

检测时间 · 12月2日未通过](https://lmspeed.net/zh/audit/tGHasfcva0AHdZFy)

- [fr***.in

deepseek-v4.1-flash-1017

检测时间 · 12月2日通过](https://lmspeed.net/zh/audit/hiSam9nJebv3-v3K)

- [ap***.vip

Claude Opus 5.5

检测时间 · 12月1日未通过](https://lmspeed.net/zh/audit/2JpeaBJGrkHe0Mvz)

## 检测概述与风险背景

指令冲突检测通过构造可控的系统与用户指令优先级博弈，确认网关是否真实尊重客户端 `system` 权威及声明模型身份。

### 这项检测具体查什么

测量客户端 `system` 规则面对冲突 `user` 指令时的胜出率，并核查回复中的模型身份归属与请求目标是否自洽。

### 为什么这个风险重要

一旦网关为省事把 `system` 降级拼接为普通 `user` 文本，或预置了更高权限包装层，你的安全护栏、格式约束和 Agent 边界将全面失效。

### 什么时候应该运行

在发现模型屡次无视系统设定、或怀疑第三方网关做过协议降级转译时运行。

部分协议转接网关在把 OpenAI 格式转给异构上游时会扁平化消息数组，导致开发者系统级规则与不可信用户输入平级甚至失效；本检测以可判定金丝雀指令捕获该类破坏。

## 检测方法论、证据依据与局限边界

在独立隔离请求中配对高确定性金丝雀系统指令和对抗性用户指令，比对最终执行优先级。

- **1. 构造探针**

在 `system` 与 `user` 消息中配置互斥且带有明确校验标志的控制指令。

- **2. 采样核查**

校验输出是否遵循系统权威优先，并记录模型呈现的身份线索引导。

- **3. 证据判定**

当系统权威失效或身份特征严重冲突时输出告警，并指引联动三阶段指纹识别。

### 如何解读判定结果

严格服从客户端系统优先级记为通过；系统控制丢失或厂商身份自相矛盾时标记预警/失败。

### 证据依据与判定阈值

互搏样本的指令遵循率、角色降级迹象与声明模型归属矛盾证据。

### 能力边界与弃权条件

模型口头身份很容易被人为预设掩盖，若要严谨甄别隐式换模，必须启用置顶的 Fingerprint Detection 组合检查。

### 文献引用与技术基线

本检测集成于 @lmspeed/audit v0.3.3（规则集 independent-2026-11-22.2）；相关注入与能力探针设计同时参考 Veridrop、LLMprobe-engine 与 meow-llm-detector 方法规范。

- [lmspeed/audit (v0.3.3)](https://github.com/nexmoe/lmspeed-audit)LMSpeed 开源探针引擎、统一检测目录与三阶段指纹校准协议实现。

- [Liu et al., "Your Agent Is Mine" (arXiv:2604.08407)](https://arxiv.org/abs/2604.08407)AC-1 工具调用篡改、AC-2 错误泄密与 Web3 注入等智能体供应链风险来源。

## 常见问题

### 为什么有些兼容中转会破坏 system 角色权限？

常见于自研适配器把 messages 数组粗暴拼成单一字符串，或者中转商强加了更高优先级的内置前缀。

### 通过指令冲突就能百分百确认没换模吗？

不能，口头自称很容易伪造；需进一步配合分词器、数字和留出分布指纹测试。

### 如果发现 system 控制力下降会带来什么风险？

意味着恶意用户输入或外部检索网页文本极易“越权劫持”你的 Agent 指令流。

### 为什么还要同时做条件触发注入测试？

因为部分隐蔽后门只在财务、代码等敏感上下文触发，日常冲突金丝雀可能保持老实。

## 按分类浏览全部审计工具

按风险分类查看 22 个独立检测页面；Fingerprint Detection 置顶展示，用于模型真实性与替换排查。

### 指纹识别（Fingerprint Detection）

置顶 · 重点推荐3

- [模型分布指纹](https://lmspeed.net/zh/audit/model-fingerprint)

- [数字指纹初筛](https://lmspeed.net/zh/audit/numeric-fingerprint)

- [分词器后验指纹](https://lmspeed.net/zh/audit/tokenizer-fingerprint)

### 提示词与注入安全

6

- [Token 注入](https://lmspeed.net/zh/audit/token-injection)

- [Prompt 提取](https://lmspeed.net/zh/audit/prompt-extraction)

- 指令冲突

- [越狱与身份泄漏](https://lmspeed.net/zh/audit/jailbreak-identity)

- [条件触发注入](https://lmspeed.net/zh/audit/conditional-injection)

- [Web3 注入](https://lmspeed.net/zh/audit/web3-prompt-injection)

### 响应与流式完整性

5

- [流式完整性](https://lmspeed.net/zh/audit/stream-integrity)

- [流式一致性](https://lmspeed.net/zh/audit/stream-consistency)

- [工具调用改写](https://lmspeed.net/zh/audit/tool-substitution)

- [错误泄漏](https://lmspeed.net/zh/audit/error-leakage)

- [延迟方差](https://lmspeed.net/zh/audit/latency-variance)

### 能力边界与质量检测

7

- [上下文窗口与召回](https://lmspeed.net/zh/audit/context-window)

- [工具权限](https://lmspeed.net/zh/audit/tool-calling)

- [结构化输出](https://lmspeed.net/zh/audit/structured-output)

- [图像理解](https://lmspeed.net/zh/audit/image-understanding)

- [PDF 理解](https://lmspeed.net/zh/audit/pdf-understanding)

- [基础能力金丝雀](https://lmspeed.net/zh/audit/quality-canary)

- [参照质量对比](https://lmspeed.net/zh/audit/quality-comparison)

### 关联测速与评测页面

- [服务商安全审计](https://lmspeed.net/zh/audit)

- [三阶段指纹检测管线](https://lmspeed.net/zh/audit#fingerprint-detection)

- [LLM API 在线测速](https://lmspeed.net/zh/speed)

- [API 服务商目录](https://lmspeed.net/zh/provider)

- [模型列表与定价](https://lmspeed.net/zh/model)

- [平台评测方法论](https://lmspeed.net/zh/methodology)

---
Cite as: 检查系统指令优先级与声明模型身份是否发生冲突 — LMSpeed, https://lmspeed.net/zh/audit/instruction-conflict (retrieved 2026-12-04)
