codexpiator-security
Security guidance - secure coding checklist, authn/authz threat-model and hardening (MFA, IDOR/BOLA, session fixation, password-reset abuse - see codexpiator-backend for base auth implementation), inp
SKILL.mdskills/codexpiator-security/SKILL.md
GitHubCodexpiator Security
Single-purpose reference files for security concerns. This skill is a fast, always-available baseline — it is not a substitute for a real specialized security audit when one is available.
| File | Read this when... |
|---|---|
secure-coding-checklist.md |
Quick OWASP-Top-10-mapped pass over any change |
authn-authz-patterns.md |
Login, sessions, MFA, password reset, IDOR/BOLA, privilege checks |
input-validation-and-injection.md |
Anything touching user input: SQL/NoSQL injection, XSS, CSRF, uploads, path traversal, SSRF, mass assignment, command injection, deserialization |
secrets-and-config-management.md |
Credentials, .env files, secrets in git/JS/logs, cookies, browser storage |
dependency-and-supply-chain.md |
Vulnerable/malicious packages, CI/CD supply-chain risk |
infrastructure-and-access-control.md |
Cloud/DB permissions, admin routes, debug tools, headers, CORS, rate limits, monitoring, backups |
business-logic-and-webhooks.md |
Payments, webhooks, business-logic abuse, race conditions |
security-testing.md |
How to actually test security controls, not just implement them |
Mandatory: use Anthropic's claude-security plugin, install it if missing
For any security-sensitive work (auth, payments, user input handling,
infrastructure config, anything pre-merge on a security-critical
path), follow ${CLAUDE_PLUGIN_ROOT}/shared/claude-security-plugin.md:
check for claude-security:claude-security, install it without asking
if absent, and invoke it before finalizing the change. Then also
run security-review when available. This skill's own checklists are the
fast baseline that runs next to them, and the fallback only when the
plugin genuinely can't be installed — not a substitute you reach for by
default instead of checking.
Every principle here needs to actually be applied, not just known
Read the relevant checklist(s) for the surface being touched and verify each applicable item against the actual code — don't treat this skill's content as background knowledge that informs a general sense of caution. A checklist item that isn't checked against the real diff provides no protection.
Ask when useful; suggest an audit after significant work
See ${CLAUDE_PLUGIN_ROOT}/shared/collaboration-and-audit-practice.md — ask a targeted
clarifying question (via AskUserQuestion when available) when a
security trade-off genuinely needs the user's input, and suggest
/codexpiator:audit after significant security-sensitive work.