Skip to content

docs(security): add IAM architecture and end-to-end flow spec for AD/CD/VD LLM Agent defense#79

Draft
Sphinxes0o0 with Copilot wants to merge 2 commits into
mainfrom
copilot/add-iam-architecture-docs
Draft

docs(security): add IAM architecture and end-to-end flow spec for AD/CD/VD LLM Agent defense#79
Sphinxes0o0 with Copilot wants to merge 2 commits into
mainfrom
copilot/add-iam-architecture-docs

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown

This PR extends the existing layered-defense writeup with implementation-oriented IAM design for in-vehicle 3-domain (AD/CD/VD) LLM Agent scenarios. It adds concrete identity/auth/credential architecture, cross-domain trust/delegation flows, and operational failure/deployment playbooks.

  • IAM architecture spec (iam_auth_architecture.md)

    • Adds a full IAM design from task classification through claims model, 4-layer TTL (SVID / Task / Session / Lease), KMSS API integration, lease semantics, delegation chain constraints, and fault matrix.
    • Adds credential lifecycle details: 4-level key hierarchy (K0–K3), OTA trust bundle handling, CRL push/pull strategy, wrapped secret model, and recovery behavior.
    • Adds system-level architecture views (3-domain × 3-module matrix, TEE layering, federation dataflow) and per-module invariants/failure modes for Identity/Auth/Credential.
  • Detailed execution/process spec (detailed_architecture.md)

    • Adds operationally detailed design: startup sequencing (cold/hot), internal state machines, and key dependency ordering.
    • Adds 7 key sequence scenarios (same-domain check, cross-domain delegation, lease tightening, emergency revocation propagation, OTA bundle update, KMSS failover, overlap verification).
    • Adds 6 failure drills and a docker-compose demo blueprint (topology, network isolation, persistence, ports, SoftHSM2 vs production TEE boundaries).
  • Navigation integration (.vitepress/config.mjs)

    • Adds two sidebar entries under LLM Agent 防御 so the new IAM and detailed architecture docs are first-class and discoverable.
{
  text: 'LLM Agent 防御',
  collapsed: true,
  items: [
    { text: '分层防御方案(IAM + 规则 + Content Guard + NSFA + 沙箱)', link: '/security/llm_agent_defense/layered_defense' },
    { text: 'IAM 认证架构(AD/CD/VD)', link: '/security/llm_agent_defense/iam_auth_architecture' },
    { text: '详细架构(流程 / 状态机 / 演练 / Demo)', link: '/security/llm_agent_defense/detailed_architecture' }
  ]
}

Copilot AI changed the title [WIP] Add IAM architecture and detailed flows for in-vehicle LLM Agent docs(security): add IAM architecture and end-to-end flow spec for AD/CD/VD LLM Agent defense Jul 15, 2026
Copilot AI requested a review from Sphinxes0o0 July 15, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants