Skip to content

lidge-jun/codexclaw / plugins/codexclaw/skills/dev-security

cxc-dev-security

Flagged

Use 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.

references/01-threat-model.md

View on GitHub
# Threat Model Procedure

Required order before implementation:
1. Assets: accounts, sessions, payment state, admin actions, uploaded files, secrets, PII, audit logs, build artifacts.
2. Entrypoints: forms, URLs, headers, cookies, APIs, webhooks, uploads, queues, CLIs, prompts, tool calls, CI jobs.
3. Trust boundaries: browser ↔ API, public API ↔ internal service, app ↔ database, agent prompt ↔ tool execution, CI runner ↔ production artifact.
4. Attacker capability: anonymous user, authenticated user, tenant peer, malicious insider, compromised browser, compromised CI, poisoned dependency, hostile retrieved text/prompt.
5. Assumptions: runtime surface vs CI/dev tooling, identity source, tenant model, data sensitivity, deployment environment, and what evidence supports each assumption.
6. Controls: validation, authn/authz, rate limits, isolation, logging/redaction, secret handling, scans, and tests.

If an assumption materially changes severity or priority, pause and ask 1-3 targeted questions before claiming the threat model is good enough. If the change touches auth, payment, file upload, logging, or PII, write the must-pass checks after the model and before coding.
This skill owns security policy.
Domain skills own architecture and implementation details.
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: 470kUpdated Claude CodeCodexVerifiedInstall
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: 470kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall