PABCD Initiative Documentation Hub pabcd_initiative codexclaw cli-jaw

Agent Skill Integrity (SEC-SKILL-INTEGRITY-01, DEFAULT)

Source: dev-security/references/agent-skill-integrity.md

Agent Skill Integrity (SEC-SKILL-INTEGRITY-01, DEFAULT)

Source: sol research (OWASP Agentic Skills Top 10, tech-leads-club/agent-skills, Security-Phoenix-demo).

OWASP AST01-10 Coverage

AST IDThreatCodexclaw Mitigation
AST01Malicious skill contentReview skill SKILL.md before installation; check for embedded commands, data exfiltration URLs, or instruction overrides
AST02Compromised supply chainPin skill versions to commit SHA; verify publisher identity; content-hash skill files at installation
AST03Excessive privilegeSkills should declare required capabilities (read/write paths, network, commands); deny undeclared access
AST04Unsafe metadata parsingValidate YAML frontmatter with strict schema; reject unknown fields; sanitize skill names for path traversal
AST05External instruction injectionSkills must not fetch remote instructions at runtime; all behavior defined at installation time
AST06Weak isolationLeaf-topology enforcement (LEAF-TOPOLOGY-01); subagents cannot spawn without explicit grant
AST07Update driftTrack installed skill versions; alert on upstream changes; require explicit update approval
AST08Insufficient scanningScan skill text for encoded payloads, obfuscated instructions, URL extraction, and behavioral anomalies
AST09Governance gapsMaintain skill inventory with owner, install date, last review, and risk classification
AST10Cross-platform inconsistencySkill behavior may differ across Codex/Claude/Cursor; test on target platform before trust

Skill Installation Checklist

  • [ ] Read the full SKILL.md before installing
  • [ ] Verify publisher identity (GitHub profile, org membership)
  • [ ] Check for embedded shell commands or exec calls
  • [ ] Check for URLs that could exfiltrate data
  • [ ] Check for instruction-override patterns ("ignore previous instructions")
  • [ ] Pin to a specific commit SHA, not a branch
  • [ ] Record the content hash at installation time

Skill Update Review

  • Diff the new version against the installed version
  • Focus on: new commands, new URLs, changed behavioral instructions, removed safety constraints
  • Re-run the installation checklist on changed content