[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AD4S9KTDV14PK84122C2TE":3,"skill-same:01M6AD4S9KTDV14PK84122C2TE":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":66,"ownerDescription":67,"updatedAt":68,"install":69,"resources":82},"01M6AD4S9KTDV14PK84122C2TE","agent-owasp-compliance","AI 智能体 OWASP 合规检查","Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks.\nUse this skill when:\n- Evaluating an agent system's security posture before production deployment\n- Running a compliance check against OWASP ASI 2026 standards\n- Mapping existing security controls to the 10 agentic risks\n- Generating a compliance report for security review or audit\n- Comparing agent framework security features against the standard\n- Any request like \"is my agent OWASP compliant?\", \"check ASI compliance\", or \"agentic security audit\"","根据 OWASP Agentic Security Initiative (ASI) Top 10 风险检查任何 AI 智能体代码库。\n在以下场景使用此技能：\n- 在生产部署前评估智能体系统的安全态势\n- 对照 OWASP ASI 2026 标准执行合规检查\n- 将现有安全控制措施映射到 10 项智能体风险\n- 生成合规报告以供安全审查或审计\n- 将智能体框架的安全特性与该标准进行对比\n- 任何类似“我的智能体是否符合 OWASP 合规要求？”“检查 ASI 合规性”或“智能体安全审计”的请求","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-owasp-compliance\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C0D62B0QB37H1Q64CZW16D","AI 治理与合规管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"owasp","compliance","agent owasp compliance","audit","2026","when","request","features","my","top","mapping","security audit","review","framework","report","deployment","owasp agentic","compliance check","security review","agent framework","ai agent","security","agentic","2026-11-10 10:12:30",false,"---\nname: agent-owasp-compliance\ndescription: |\n  Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks.\n  Use this skill when:\n  - Evaluating an agent system's security posture before production deployment\n  - Running a compliance check against OWASP ASI 2026 standards\n  - Mapping existing security controls to the 10 agentic risks\n  - Generating a compliance report for security review or audit\n  - Comparing agent framework security features against the standard\n  - Any request like \"is my agent OWASP compliant?\", \"check ASI compliance\", or \"agentic security audit\"\n---\n\n# Agent OWASP ASI Compliance Check\n\nEvaluate AI agent systems against the OWASP Agentic Security Initiative (ASI) Top 10 — the industry standard for agent security posture.\n\n## Overview\n\nThe OWASP ASI Top 10 defines the critical security risks specific to autonomous AI agents — not LLMs, not chatbots, but agents that call tools, access systems, and act on behalf of users. This skill checks whether your agent implementation addresses each risk.\n\n```\nCodebase → Scan for each ASI control:\n  ASI-01: Prompt Injection Protection\n  ASI-02: Tool Use Governance\n  ASI-03: Agency Boundaries\n  ASI-04: Escalation Controls\n  ASI-05: Trust Boundary Enforcement\n  ASI-06: Logging & Audit\n  ASI-07: Identity Management\n  ASI-08: Policy Integrity\n  ASI-09: Supply Chain Verification\n  ASI-10: Behavioral Monitoring\n→ Generate Compliance Report (X\u002F10 covered)\n```\n\n## The 10 Risks\n\n| Risk | Name | What to Look For |\n|------|------|-----------------|\n| ASI-01 | Prompt Injection | Input validation before tool calls, not just LLM output filtering |\n| ASI-02 | Insecure Tool Use | Tool allowlists, argument validation, no raw shell execution |\n| ASI-03 | Excessive Agency | Capability boundaries, scope limits, principle of least privilege |\n| ASI-04 | Unauthorized Escalation | Privilege checks before sensitive operations, no self-promotion |\n| ASI-05 | Trust Boundary Violation | Trust verification between agents, signed credentials, no blind trust |\n| ASI-06 | Insufficient Logging | Structured audit trail for all tool calls, tamper-evident logs |\n| ASI-07 | Insecure Identity | Cryptographic agent identity, not just string names |\n| ASI-08 | Policy Bypass | Deterministic policy enforcement, no LLM-based permission checks |\n| ASI-09 | Supply Chain Integrity | Signed plugins\u002Ftools, integrity verification, dependency auditing |\n| ASI-10 | Behavioral Anomaly | Drift detection, circuit breakers, kill switch capability |\n\n---\n\n## Check ASI-01: Prompt Injection Protection\n\nLook for input validation that runs **before** tool execution, not after LLM generation.\n\n```python\nimport re\nfrom pathlib import Path\n\ndef check_asi_01(project_path: str) -> dict:\n    \"\"\"ASI-01: Is user input validated before reaching tool execution?\"\"\"\n    positive_patterns = [\n        \"input_validation\", \"validate_input\", \"sanitize\",\n        \"classify_intent\", \"prompt_injection\", \"threat_detect\",\n        \"PolicyEvaluator\", \"PolicyEngine\", \"check_content\",\n    ]\n    negative_patterns = [\n        r\"eval\\(\", r\"exec\\(\", r\"subprocess\\.run\\(.*shell=True\",\n        r\"os\\.system\\(\",\n    ]\n\n    # Scan Python files for signals\n    root = Path(project_path)\n    positive_matches = []\n    negative_matches = []\n\n    for py_file in root.rglob(\"*.py\"):\n        content = py_file.read_text(errors=\"ignore\")\n        for pattern in positive_patterns:\n            if pattern in content:\n                positive_matches.append(f\"{py_file.name}: {pattern}\")\n        for pattern in negative_patterns:\n            if re.search(pattern, content):\n                negative_matches.append(f\"{py_file.name}: {pattern}\")\n\n    positive_found = len(positive_matches) > 0\n    negative_found = len(negative_matches) > 0\n\n    return {\n        \"risk\": \"ASI-01\",\n        \"name\": \"Prompt Injection\",\n        \"status\": \"pass\" if positive_found and not negative_found else \"fail\",\n        \"controls_found\": positive_matches,\n        \"vulnerabilities\": negative_matches,\n        \"recommendation\": \"Add input validation before tool execution, not just output filtering\"\n    }\n```\n\n**What passing looks like:**\n```python\n# GOOD: Validate before tool execution\nresult = policy_engine.evaluate(user_input)\nif result.action == \"deny\":\n    return \"Request blocked by policy\"\ntool_result = await execute_tool(validated_input)\n```\n\n**What failing looks like:**\n```python\n# BAD: User input goes directly to tool\ntool_result = await execute_tool(user_input)  # No validation\n```\n\n---\n\n## Check ASI-02: Insecure Tool Use\n\nVerify tools have allowlists, argument validation, and no unrestricted execution.\n\n**What to search for:**\n- Tool registration with explicit allowlists (not open-ended)\n- Argument validation before tool execution\n- No `subprocess.run(shell=True)` with user-controlled input\n- No `eval()` or `exec()` on agent-generated code without sandbox\n\n**Passing example:**\n```python\nALLOWED_TOOLS = {\"search\", \"read_file\", \"create_ticket\"}\n\ndef execute_tool(name: str, args: dict):\n    if name not in ALLOWED_TOOLS:\n        raise PermissionError(f\"Tool '{name}' not in allowlist\")\n    # validate args...\n    return tools[name](**validated_args)\n```\n\n---\n\n## Check ASI-03: Excessive Agency\n\nVerify agent capabilities are bounded — not open-ended.\n\n**What to search for:**\n- Explicit capability lists or execution rings\n- Scope limits on what the agent can access\n- Principle of least privilege applied to tool access\n\n**Failing:** Agent has access to all tools by default.\n**Passing:** Agent capabilities defined as a fixed allowlist, unknown tools denied.\n\n---\n\n## Check ASI-04: Unauthorized Escalation\n\nVerify agents cannot promote their own privileges.\n\n**What to search for:**\n- Privilege level checks before sensitive operations\n- No self-promotion patterns (agent changing its own trust score or role)\n- Escalation requires external attestation (human or SRE witness)\n\n**Failing:** Agent can modify its own configuration or permissions.\n**Passing:** Privilege changes require out-of-band approval (e.g., Ring 0 requires SRE attestation).\n\n---\n\n## Check ASI-05: Trust Boundary Violation\n\nIn multi-agent systems, verify that agents verify each other's identity before accepting instructions.\n\n**What to search for:**\n- Agent identity verification (DIDs, signed tokens, API keys)\n- Trust score checks before accepting delegated tasks\n- No blind trust of inter-agent messages\n- Delegation narrowing (child scope \u003C= parent scope)\n\n**Passing example:**\n```python\ndef accept_task(sender_id: str, task: dict):\n    trust = trust_registry.get_trust(sender_id)\n    if not trust.meets_threshold(0.7):\n        raise PermissionError(f\"Agent {sender_id} trust too low: {trust.current()}\")\n    if not verify_signature(task, sender_id):\n        raise SecurityError(\"Task signature verification failed\")\n    return process_task(task)\n```\n\n---\n\n## Check ASI-06: Insufficient Logging\n\nVerify all agent actions produce structured, tamper-evident audit entries.\n\n**What to search for:**\n- Structured logging for every tool call (not just print statements)\n- Audit entries include: timestamp, agent ID, tool name, args, result, policy decision\n- Append-only or hash-chained log format\n- Logs stored separately from agent-writable directories\n\n**Failing:** Agent actions logged via `print()` or not logged at all.\n**Passing:** Structured JSONL audit trail with chain hashes, exported to secure storage.\n\n---\n\n## Check ASI-07: Insecure Identity\n\nVerify agents have cryptographic identity, not just string names.\n\n**Failing indicators:**\n- Agent identified by `agent_name = \"my-agent\"` (string only)\n- No authentication between agents\n- Shared credentials across agents\n\n**Passing indicators:**\n- DID-based identity (`did:web:`, `did:key:`)\n- Ed25519 or similar cryptographic signing\n- Per-agent credentials with rotation\n- Identity bound to specific capabilities\n\n---\n\n## Check ASI-08: Policy Bypass\n\nVerify policy enforcement is deterministic — not LLM-based.\n\n**What to search for:**\n- Policy evaluation uses deterministic logic (YAML rules, code predicates)\n- No LLM calls in the enforcement path\n- Policy checks cannot be skipped or overridden by the agent\n- Fail-closed behavior (if policy check errors, action is denied)\n\n**Failing:** Agent decides its own permissions via prompt (\"Am I allowed to...?\").\n**Passing:** PolicyEvaluator.evaluate() returns allow\u002Fdeny in \u003C0.1ms, no LLM involved.\n\n---\n\n## Check ASI-09: Supply Chain Integrity\n\nVerify agent plugins and tools have integrity verification.\n\n**What to search for:**\n- `INTEGRITY.json` or manifest files with SHA-256 hashes\n- Signature verification on plugin installation\n- Dependency pinning (no `@latest`, `>=` without upper bound)\n- SBOM generation\n\n---\n\n## Check ASI-10: Behavioral Anomaly\n\nVerify the system can detect and respond to agent behavioral drift.\n\n**What to search for:**\n- Circuit breakers that trip on repeated failures\n- Trust score decay over time (temporal decay)\n- Kill switch or emergency stop capability\n- Anomaly detection on tool call patterns (frequency, targets, timing)\n\n**Failing:** No mechanism to stop a misbehaving agent automatically.\n**Passing:** Circuit breaker trips after N failures, trust decays without activity, kill switch available.\n\n---\n\n## Compliance Report Format\n\n```markdown\n# OWASP ASI Compliance Report\nGenerated: 2026-04-01\nProject: my-agent-system\n\n## Summary: 7\u002F10 Controls Covered\n\n| Risk | Status | Finding |\n|------|--------|---------|\n| ASI-01 Prompt Injection | PASS | PolicyEngine validates input before tool calls |\n| ASI-02 Insecure Tool Use | PASS | Tool allowlist enforced in governance.py |\n| ASI-03 Excessive Agency | PASS | Execution rings limit capabilities |\n| ASI-04 Unauthorized Escalation | PASS | Ring promotion requires attestation |\n| ASI-05 Trust Boundary | FAIL | No identity verification between agents |\n| ASI-06 Insufficient Logging | PASS | AuditChain with SHA-256 chain hashes |\n| ASI-07 Insecure Identity | FAIL | Agents use string names, no crypto identity |\n| ASI-08 Policy Bypass | PASS | Deterministic PolicyEvaluator, no LLM in path |\n| ASI-09 Supply Chain | FAIL | No integrity manifests or plugin signing |\n| ASI-10 Behavioral Anomaly | PASS | Circuit breakers and trust decay active |\n\n## Critical Gaps\n- ASI-05: Add agent identity verification using DIDs or signed tokens\n- ASI-07: Replace string agent names with cryptographic identity\n- ASI-09: Generate INTEGRITY.json manifests for all plugins\n\n## Recommendation\nInstall agent-governance-toolkit for reference implementations of all 10 controls:\npip install agent-governance-toolkit\n```\n\n---\n\n## Quick Assessment Questions\n\nUse these to rapidly assess an agent system:\n\n1. **Does user input pass through validation before reaching any tool?** (ASI-01)\n2. **Is there an explicit list of what tools the agent can call?** (ASI-02)\n3. **Can the agent do anything, or are its capabilities bounded?** (ASI-03)\n4. **Can the agent promote its own privileges?** (ASI-04)\n5. **Do agents verify each other's identity before accepting tasks?** (ASI-05)\n6. **Is every tool call logged with enough detail to replay it?** (ASI-06)\n7. **Does each agent have a unique cryptographic identity?** (ASI-07)\n8. **Is policy enforcement deterministic (not LLM-based)?** (ASI-08)\n9. **Are plugins\u002Ftools integrity-verified before use?** (ASI-09)\n10. **Is there a circuit breaker or kill switch?** (ASI-10)\n\nIf you answer \"no\" to any of these, that's a gap to address.\n\n---\n\n## Related Resources\n\n- [OWASP Agentic AI Threats](https:\u002F\u002Fowasp.org\u002Fwww-project-agentic-ai-threats\u002F)\n- [Agent Governance Toolkit](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-governance-toolkit) — Reference implementation covering 10\u002F10 ASI controls\n- [agent-governance skill](https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Ftree\u002Fmain\u002Fskills\u002Fagent-governance) — Governance patterns for agent systems\n","# Agent OWASP ASI Compliance Check\n\nEvaluate AI agent systems against the OWASP Agentic Security Initiative (ASI) Top 10 — the industry standard for agent security posture.\n\n## Overview\n\nThe OWASP ASI Top 10 defines the critical security risks specific to autonomous AI agents — not LLMs, not chatbots, but agents that call tools, access systems, and act on behalf of users. This skill checks whether your agent implementation addresses each risk.\n\n```\nCodebase → Scan for each ASI control:\n  ASI-01: Prompt Injection Protection\n  ASI-02: Tool Use Governance\n  ASI-03: Agency Boundaries\n  ASI-04: Escalation Controls\n  ASI-05: Trust Boundary Enforcement\n  ASI-06: Logging & Audit\n  ASI-07: Identity Management\n  ASI-08: Policy Integrity\n  ASI-09: Supply Chain Verification\n  ASI-10: Behavioral Monitoring\n→ Generate Compliance Report (X\u002F10 covered)\n```\n\n## The 10 Risks\n\n| Risk | Name | What to Look For |\n|------|------|-----------------|\n| ASI-01 | Prompt Injection | Input validation before tool calls, not just LLM output filtering |\n| ASI-02 | Insecure Tool Use | Tool allowlists, argument validation, no raw shell execution |\n| ASI-03 | Excessive Agency | Capability boundaries, scope limits, principle of least privilege |\n| ASI-04 | Unauthorized Escalation | Privilege checks before sensitive operations, no self-promotion |\n| ASI-05 | Trust Boundary Violation | Trust verification between agents, signed credentials, no blind trust |\n| ASI-06 | Insufficient Logging | Structured audit trail for all tool calls, tamper-evident logs |\n| ASI-07 | Insecure Identity | Cryptographic agent identity, not just string names |\n| ASI-08 | Policy Bypass | Deterministic policy enforcement, no LLM-based permission checks |\n| ASI-09 | Supply Chain Integrity | Signed plugins\u002Ftools, integrity verification, dependency auditing |\n| ASI-10 | Behavioral Anomaly | Drift detection, circuit breakers, kill switch capability |\n\n---\n\n## Check ASI-01: Prompt Injection Protection\n\nLook for input validation that runs **before** tool execution, not after LLM generation.\n\n```python\nimport re\nfrom pathlib import Path\n\ndef check_asi_01(project_path: str) -> dict:\n    \"\"\"ASI-01: Is user input validated before reaching tool execution?\"\"\"\n    positive_patterns = [\n        \"input_validation\", \"validate_input\", \"sanitize\",\n        \"classify_intent\", \"prompt_injection\", \"threat_detect\",\n        \"PolicyEvaluator\", \"PolicyEngine\", \"check_content\",\n    ]\n    negative_patterns = [\n        r\"eval\\(\", r\"exec\\(\", r\"subprocess\\.run\\(.*shell=True\",\n        r\"os\\.system\\(\",\n    ]\n\n    # Scan Python files for signals\n    root = Path(project_path)\n    positive_matches = []\n    negative_matches = []\n\n    for py_file in root.rglob(\"*.py\"):\n        content = py_file.read_text(errors=\"ignore\")\n        for pattern in positive_patterns:\n            if pattern in content:\n                positive_matches.append(f\"{py_file.name}: {pattern}\")\n        for pattern in negative_patterns:\n            if re.search(pattern, content):\n                negative_matches.append(f\"{py_file.name}: {pattern}\")\n\n    positive_found = len(positive_matches) > 0\n    negative_found = len(negative_matches) > 0\n\n    return {\n        \"risk\": \"ASI-01\",\n        \"name\": \"Prompt Injection\",\n        \"status\": \"pass\" if positive_found and not negative_found else \"fail\",\n        \"controls_found\": positive_matches,\n        \"vulnerabilities\": negative_matches,\n        \"recommendation\": \"Add input validation before tool execution, not just output filtering\"\n    }\n```\n\n**What passing looks like:**\n```python\n# GOOD: Validate before tool execution\nresult = policy_engine.evaluate(user_input)\nif result.action == \"deny\":\n    return \"Request blocked by policy\"\ntool_result = await execute_tool(validated_input)\n```\n\n**What failing looks like:**\n```python\n# BAD: User input goes directly to tool\ntool_result = await execute_tool(user_input)  # No validation\n```\n\n---\n\n## Check ASI-02: Insecure Tool Use\n\nVerify tools have allowlists, argument validation, and no unrestricted execution.\n\n**What to search for:**\n- Tool registration with explicit allowlists (not open-ended)\n- Argument validation before tool execution\n- No `subprocess.run(shell=True)` with user-controlled input\n- No `eval()` or `exec()` on agent-generated code without sandbox\n\n**Passing example:**\n```python\nALLOWED_TOOLS = {\"search\", \"read_file\", \"create_ticket\"}\n\ndef execute_tool(name: str, args: dict):\n    if name not in ALLOWED_TOOLS:\n        raise PermissionError(f\"Tool '{name}' not in allowlist\")\n    # validate args...\n    return tools[name](**validated_args)\n```\n\n---\n\n## Check ASI-03: Excessive Agency\n\nVerify agent capabilities are bounded — not open-ended.\n\n**What to search for:**\n- Explicit capability lists or execution rings\n- Scope limits on what the agent can access\n- Principle of least privilege applied to tool access\n\n**Failing:** Agent has access to all tools by default.\n**Passing:** Agent capabilities defined as a fixed allowlist, unknown tools denied.\n\n---\n\n## Check ASI-04: Unauthorized Escalation\n\nVerify agents cannot promote their own privileges.\n\n**What to search for:**\n- Privilege level checks before sensitive operations\n- No self-promotion patterns (agent changing its own trust score or role)\n- Escalation requires external attestation (human or SRE witness)\n\n**Failing:** Agent can modify its own configuration or permissions.\n**Passing:** Privilege changes require out-of-band approval (e.g., Ring 0 requires SRE attestation).\n\n---\n\n## Check ASI-05: Trust Boundary Violation\n\nIn multi-agent systems, verify that agents verify each other's identity before accepting instructions.\n\n**What to search for:**\n- Agent identity verification (DIDs, signed tokens, API keys)\n- Trust score checks before accepting delegated tasks\n- No blind trust of inter-agent messages\n- Delegation narrowing (child scope \u003C= parent scope)\n\n**Passing example:**\n```python\ndef accept_task(sender_id: str, task: dict):\n    trust = trust_registry.get_trust(sender_id)\n    if not trust.meets_threshold(0.7):\n        raise PermissionError(f\"Agent {sender_id} trust too low: {trust.current()}\")\n    if not verify_signature(task, sender_id):\n        raise SecurityError(\"Task signature verification failed\")\n    return process_task(task)\n```\n\n---\n\n## Check ASI-06: Insufficient Logging\n\nVerify all agent actions produce structured, tamper-evident audit entries.\n\n**What to search for:**\n- Structured logging for every tool call (not just print statements)\n- Audit entries include: timestamp, agent ID, tool name, args, result, policy decision\n- Append-only or hash-chained log format\n- Logs stored separately from agent-writable directories\n\n**Failing:** Agent actions logged via `print()` or not logged at all.\n**Passing:** Structured JSONL audit trail with chain hashes, exported to secure storage.\n\n---\n\n## Check ASI-07: Insecure Identity\n\nVerify agents have cryptographic identity, not just string names.\n\n**Failing indicators:**\n- Agent identified by `agent_name = \"my-agent\"` (string only)\n- No authentication between agents\n- Shared credentials across agents\n\n**Passing indicators:**\n- DID-based identity (`did:web:`, `did:key:`)\n- Ed25519 or similar cryptographic signing\n- Per-agent credentials with rotation\n- Identity bound to specific capabilities\n\n---\n\n## Check ASI-08: Policy Bypass\n\nVerify policy enforcement is deterministic — not LLM-based.\n\n**What to search for:**\n- Policy evaluation uses deterministic logic (YAML rules, code predicates)\n- No LLM calls in the enforcement path\n- Policy checks cannot be skipped or overridden by the agent\n- Fail-closed behavior (if policy check errors, action is denied)\n\n**Failing:** Agent decides its own permissions via prompt (\"Am I allowed to...?\").\n**Passing:** PolicyEvaluator.evaluate() returns allow\u002Fdeny in \u003C0.1ms, no LLM involved.\n\n---\n\n## Check ASI-09: Supply Chain Integrity\n\nVerify agent plugins and tools have integrity verification.\n\n**What to search for:**\n- `INTEGRITY.json` or manifest files with SHA-256 hashes\n- Signature verification on plugin installation\n- Dependency pinning (no `@latest`, `>=` without upper bound)\n- SBOM generation\n\n---\n\n## Check ASI-10: Behavioral Anomaly\n\nVerify the system can detect and respond to agent behavioral drift.\n\n**What to search for:**\n- Circuit breakers that trip on repeated failures\n- Trust score decay over time (temporal decay)\n- Kill switch or emergency stop capability\n- Anomaly detection on tool call patterns (frequency, targets, timing)\n\n**Failing:** No mechanism to stop a misbehaving agent automatically.\n**Passing:** Circuit breaker trips after N failures, trust decays without activity, kill switch available.\n\n---\n\n## Compliance Report Format\n\n```markdown\n# OWASP ASI Compliance Report\nGenerated: 2026-04-01\nProject: my-agent-system\n\n## Summary: 7\u002F10 Controls Covered\n\n| Risk | Status | Finding |\n|------|--------|---------|\n| ASI-01 Prompt Injection | PASS | PolicyEngine validates input before tool calls |\n| ASI-02 Insecure Tool Use | PASS | Tool allowlist enforced in governance.py |\n| ASI-03 Excessive Agency | PASS | Execution rings limit capabilities |\n| ASI-04 Unauthorized Escalation | PASS | Ring promotion requires attestation |\n| ASI-05 Trust Boundary | FAIL | No identity verification between agents |\n| ASI-06 Insufficient Logging | PASS | AuditChain with SHA-256 chain hashes |\n| ASI-07 Insecure Identity | FAIL | Agents use string names, no crypto identity |\n| ASI-08 Policy Bypass | PASS | Deterministic PolicyEvaluator, no LLM in path |\n| ASI-09 Supply Chain | FAIL | No integrity manifests or plugin signing |\n| ASI-10 Behavioral Anomaly | PASS | Circuit breakers and trust decay active |\n\n## Critical Gaps\n- ASI-05: Add agent identity verification using DIDs or signed tokens\n- ASI-07: Replace string agent names with cryptographic identity\n- ASI-09: Generate INTEGRITY.json manifests for all plugins\n\n## Recommendation\nInstall agent-governance-toolkit for reference implementations of all 10 controls:\npip install agent-governance-toolkit\n```\n\n---\n\n## Quick Assessment Questions\n\nUse these to rapidly assess an agent system:\n\n1. **Does user input pass through validation before reaching any tool?** (ASI-01)\n2. **Is there an explicit list of what tools the agent can call?** (ASI-02)\n3. **Can the agent do anything, or are its capabilities bounded?** (ASI-03)\n4. **Can the agent promote its own privileges?** (ASI-04)\n5. **Do agents verify each other's identity before accepting tasks?** (ASI-05)\n6. **Is every tool call logged with enough detail to replay it?** (ASI-06)\n7. **Does each agent have a unique cryptographic identity?** (ASI-07)\n8. **Is policy enforcement deterministic (not LLM-based)?** (ASI-08)\n9. **Are plugins\u002Ftools integrity-verified before use?** (ASI-09)\n10. **Is there a circuit breaker or kill switch?** (ASI-10)\n\nIf you answer \"no\" to any of these, that's a gap to address.\n\n---\n\n## Related Resources\n\n- [OWASP Agentic AI Threats](https:\u002F\u002Fowasp.org\u002Fwww-project-agentic-ai-threats\u002F)\n- [Agent Governance Toolkit](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-governance-toolkit) — Reference implementation covering 10\u002F10 ASI controls\n- [agent-governance skill](https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Ftree\u002Fmain\u002Fskills\u002Fagent-governance) — Governance patterns for agent systems\n",{"name":5,"description":7},"main","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Fagent-owasp-compliance",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":9,"skillName":5,"commands":70,"prompt":80,"zipAvailable":81},[71,74,77],{"tool":72,"command":73},"npx","npx skills add github\u002Fawesome-copilot --skill agent-owasp-compliance",{"tool":75,"command":76},"bunx","bunx skills add github\u002Fawesome-copilot --skill agent-owasp-compliance",{"tool":78,"command":79},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill agent-owasp-compliance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fagent-owasp-compliance\u002FSKILL.md",true,[],[84,92,99,109,133,159],{"skillNo":85,"name":86,"nameZh":17,"description":87,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":91},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":93,"name":94,"nameZh":17,"description":95,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":91},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":17,"description":102,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":103,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":108},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":110,"name":111,"nameZh":17,"description":112,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":54},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[],[116,117,118,119,120,121,36,43,122,123,124,52,125,126,127,128,129,130,131,132],"supabase rls policies","supabase rls","supabase","rls","project","with","change","read","write","isolation","tables","as","tests","prove","use","users","functions",{"skillNo":134,"name":135,"nameZh":17,"description":136,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":54},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[],[140,141,34,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158],"distribution","skill distribution audit","output","reconcile","release","template","duplicate","investigate","drift","SET","deterministic","installer","for","discovery","comparison","helper","manifest","version","collection",{"skillNo":160,"name":161,"nameZh":17,"description":162,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":163,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":54},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[],[167,168,169,170,171,172,173,152,120,46,174,175,176,177,178,179,130,180,181,182],"code","logicapps custom code net10 migration","migration","custom","Legacy","projects","standalone","applications","local","azure","worker","upgrades","package","apps","debugging","workflows"]