← Back to AI Infrastructure Mind Map
🖥️ AI InfrastructureID: model-risks

Model Risk Governance

模型风险治理
🎯Core Definition
model risk governance targets three output risks of generative models: ① jailbreak & prompt injection — jailbreaks use crafted prompts (role-play, fictional scenarios, multilingual variants) to bypass safety alignment, while prompt injection smuggles malicious instructions into user or external content to trigger unauthorized actions (consistently #1 in the OWASP LLM Top 10); defense is two-sided: input-side (rules, classifiers, similarity search, instruction delimiters) and output-side (format constraints, second-pass verification); ② output abuse detection — content moderation on model output: harmful-content classifiers, PII re-scanning, code/link allowlists and explicit confirmations for sensitive operations; ③ red teaming — before release, adversarial prompt suites (jailbreak template banks, multilingual and encoded variants, tool-calling lures) systematically hunt weaknesses, quantifying attack success rates and reporting severity; ④ audit & traceability — recording who ran which model version to produce what output, keeping request/response logs with version IDs for accountability and regulatory evidence.
💡Use Cases
any production system exposing LLM capabilities, especially high-risk tool-calling/agent scenarios; interviews ask about jailbreak vs injection, the most effective defense layer, red-team design and which log fields to keep for traceability.
⚡Key Problems Solved
an ungoverned model passes evaluations yet misbehaves in the wild — safety tests all green, but a one-line jailbreak works, web content injects instructions, and outputs look normal while leaking privacy or violating policy; systematic governance replaces luck with a repeatable defense: two-sided detection forces injection to beat two layers, red teaming finds and patches attack surfaces before release, and complete audit logs trace any disputed output back to the exact model version and call chain for compliance.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Model Risk Governance.
Use Cases
In production engineering, what are the primary use cases for Model Risk Governance and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Jailbreak vs prompt injection — the difference? Typical attack patterns of each?
2
What ranks #1 in the OWASP LLM Top 10, and why does it outrank traditional application-layer vulnerabilities?
3
How is output abuse detected — harmful-content classifiers, PII re-scanning, link/code allowlists, and what each solves?
4
How to design red teaming? Which attack categories to cover, and how to quantify success rates and track fixes?
5
How to implement audit and traceability? Which log fields are needed to support accountability and regulatory evidence?
📖 In-depth Guide:📄 security-and-privacy →
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "Model Risk Governance"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardSecurity & PrivacyNext Card →Agent Runtime (cross-module)

🔗 More AI Infrastructure Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/AI_Infra/card/model-risks
中文速览与面试要点

模型风险治理 (Model Risk Governance)

定义: 模型风险治理针对生成式模型的三类输出风险: ① 越狱(Jailbreak)与提示注入(Prompt Injection)——越狱用精心构造的 prompt(角色扮演、虚构场景、多语言变体)绕过安全对齐,提示注入把恶意指令混入用户或外部内容中操纵模型执行未授权动作(OWASP LLM Top 10 连续排第一),防护在输入侧(规则/分类器/相似检索/指令分隔)与输出侧(约束格式、二次校验)双侧进行;② 输出滥用检测——对模型输出做内容审核:有害内容分类器、PII 二次扫描、代码与链接白名单、敏感操作二次确认;③ 红队测试——上线前用对抗性 prompt 集(越狱模板库、多语言与编码变体、工具调用诱导)系统性寻找漏洞,量化攻击成功率并按严重度出报告;④ 审计与可追溯——记录“谁、何时、用哪个模型版本、生成了什么输出”,保留输入输出日志与版本号,支撑事后追责与监管举证。 使用场景: 任何对外提供 LLM 能力的生产系统,尤其是带工具调用/Agent 的高危场景;面试常问越狱与提示注入的区别、防御放在哪一层最有效、红队怎么设计、可追溯日志要留哪些字段。 解决的问题: 未治理的模型会“评估通过但行为失控”——安全测试全绿,却能被一句话越狱、被网页内容注入、输出看似正常实则泄漏隐私或产生违规内容;系统性治理把“碰运气”变成“可复现的防线”: 输入输出双侧检测让注入需要同时绕过两层防线,红队在上线前就发现并修补攻击面,完整审计日志让任何争议输出都能回溯到具体模型版本与调用链路,满足合规审计要求。

核心要点

  • 越狱(Jailbreak)和提示注入(Prompt Injection)的区别?各有什么典型攻击方式?
  • OWASP LLM Top 10 排名第一的风险是什么?为什么它排在应用层漏洞之上?
  • 输出滥用检测怎么做?有害内容分类器、PII 二次扫描、链接/代码白名单各自解决什么?
  • 红队测试如何设计?覆盖哪些攻击类别,成功率如何量化与追踪修复?
  • 审计与可追溯如何落地?日志需要记录哪些字段才能支撑事后追责与监管举证?