Repository navigation
Replies: 1 comment
Update on thisI pulled together a concrete proposal at https://github.com/aporthq/aport-spec/tree/main/integrations/shield and would love feedback before we wire up the importer. Summary
Questions for the community
Next steps
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Overview
OAP v1.0 provides W3C Verifiable Credential-based authorization infrastructure for AI agents, including:
This proposal adds support for importing SHIELD threat intelligence into OAP policy packs, enabling users to leverage community-curated threat definitions alongside ClawMoat detection findings, CVE databases, and custom rules.
Architecture
Proposed Integration: SHIELD → OAP
Field Mapping
threat_idpolicy.rules[].idcategorypolicy.rules[].scopeaction(block/require_approval/log)policy.rules[].enforcementseverity+confidencepolicy.rules[].prioritymatched_onpolicy.rules[].conditionsExample
SHIELD.md entry:
Converted to OAP policy pack rule:
{ "id": "shield_T001", "scope": "system.command.execute", "enforcement": "deny", "priority": 10, "conditions": { "patterns": { "blocked": ["rm -rf"] } }, "source": "shield:T001", "reason": "Block commands containing rm -rf" }CLI Tool:
shield-to-oapUsage:
Output: OAP-compliant policy pack JSON (unsigned, user signs via passport)
Multi-Source Threat Intelligence
OAP policy packs can aggregate rules from multiple sources:
{ "policy_pack_id": "combined-threats-v1", "rules": [ {"id": "shield_T001", "source": "shield:T001", ...}, {"id": "clawmoat_C042", "source": "clawmoat:prompt-injection", ...}, {"id": "cve_2024_1234", "source": "cve:CVE-2024-1234", ...}, {"id": "custom_R001", "source": "custom", ...} ] }Benefits:
Implementation Plan
Week 1: Schema Definition
sourcefield)Week 2: CLI Tool
shield-to-oapimporterWeek 3: Documentation & Testing
Feedback Requested
Related:
All reactions