lidge-jun/codexclaw / plugins/codexclaw/skills/dev-security
cxc-dev-security
FlaggedUse for security and trust boundaries. Triggers: auth, secrets, XSS, CSRF, SQL injection, JWT, OAuth, OWASP, PII, uploads, payments, supply chain, CI integrity, agent security, threat model.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.0 KB |
| agents/openai.yaml | config | 158 B |
| references/01-threat-model.md | markdown | 1.3 KB |
| references/02-access-controls.md | markdown | 3.3 KB |
| references/03-runtime-controls.md | markdown | 3.6 KB |
| references/04-agent-integrity.md | markdown | 3.3 KB |
| references/05-security-review.md | markdown | 4.9 KB |
| references/agent-skill-integrity.md | markdown | 2.2 KB |
| references/agentic-ai-security.md | markdown | 6.0 KB |
| references/asvs-checklist.md | markdown | 3.1 KB |
| references/language-quirks.md | markdown | 5.0 KB |
| references/llm-supply-chain.md | markdown | 7.4 KB |
| references/mcp-supply-chain.md | markdown | 6.9 KB |
| references/owasp-top10.md | markdown | 11.1 KB |
| references/static-analysis.md | markdown | 4.8 KB |
| references/supply-chain-sbom.md | markdown | 6.7 KB |
references/agent-skill-integrity.md
View on GitHub# 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 ID | Threat | Codexclaw Mitigation |
|--------|--------|---------------------|
| AST01 | Malicious skill content | Review skill SKILL.md before installation; check for embedded commands, data exfiltration URLs, or instruction overrides |
| AST02 | Compromised supply chain | Pin skill versions to commit SHA; verify publisher identity; content-hash skill files at installation |
| AST03 | Excessive privilege | Skills should declare required capabilities (read/write paths, network, commands); deny undeclared access |
| AST04 | Unsafe metadata parsing | Validate YAML frontmatter with strict schema; reject unknown fields; sanitize skill names for path traversal |
| AST05 | External instruction injection | Skills must not fetch remote instructions at runtime; all behavior defined at installation time |
| AST06 | Weak isolation | Leaf-topology enforcement (LEAF-TOPOLOGY-01); subagents cannot spawn without explicit grant |
| AST07 | Update drift | Track installed skill versions; alert on upstream changes; require explicit update approval |
| AST08 | Insufficient scanning | Scan skill text for encoded payloads, obfuscated instructions, URL extraction, and behavioral anomalies |
| AST09 | Governance gaps | Maintain skill inventory with owner, install date, last review, and risk classification |
| AST10 | Cross-platform inconsistency | Skill 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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 468k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 468k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 468k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |