AI & MCP Security · OWASP LLM / MCP

AI Security: Git Diff Pr Agent Scope (Resource ACL & Identity Binding)

Enforce Resource ACL & Identity Binding to defend Git Diff Pr Agent Scope boundaries deterministically across LLM tools, RAG pipelines, and agent extensions.

Primary AegisSec skill
ai-llm-mcp-security ->
Companion: finding-verification-triage
Coverage ledger tracking key
ai:git-diff-pr-agent-scope::control:acl
Static MCP / transcript / handler audit paired with sandboxed tool test
Risk boundary
// Relies solely on system prompt instructions for Git Diff Pr Agent Scope
// Vulnerable when untrusted tool output or RAG chunks redirect execution.
Hardened guard
// Deterministic Resource ACL & Identity Binding
// Enforce server-side identity, allowlists, and redaction independent of model prompt text.

Verification steps

  1. 01Map identity, tool permissions, writable RAG memory, and sinks for Git Diff Pr Agent Scope.
  2. 02Verify Resource ACL & Identity Binding holds in code even under untrusted prompt injection inputs.
  3. 03Record proof artifacts without raw tokens in findings.json.