production-security-review
Skill3 starsChanged 3 months agoMITView on GitHub
Perform a production security pass on a codebase, including secrets, authentication, authorization, input validation, injection risks, XSS, CORS, sensitive logging, dependency vulnerabilities, rate limiting, sessions, cookies, webhook validation, and unsafe file handling. Use during production-readiness reviews or security hardening before release.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ArcanEdge-AI/coding-agent-playbook-claude-codeedited, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aws-local-preflightSkill
- design-taste-frontendSkill
- feature-branch-lifecycleSkill
- handoffSkill
- humanizerSkill
- impeccableSkill
- legacy-path-retirementSkill
- local-ci-preflightSkill
- multi-role-repo-reviewSkill
- multi-session-coordinationSkill
- platform-documentationSkill
- production-api-integrationSkill
- production-architecture-reviewSkill
- production-code-qualitySkill
- production-database-integritySkill
- production-devops-releaseSkill
- production-documentation-onboardingSkill
- production-pass-orchestratorSkill
- production-performance-reviewSkill
- production-readiness-reportSkill
- production-reliability-observabilitySkill
- production-testing-qaSkill
- production-ux-accessibilitySkill
- reference-doc-routingSkill
- senior-code-reviewSkill
- session-cleanupSkill
- subagent-orchestrationSkill
- task-graph-orchestrationSkill
- taste-new-websiteSkill
- taste-redesign-websiteSkill
- technical-debt-auditorSkill
- worktree-lifecycleSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 50
Never print actual secret values.
- Distinctive: line 52
If a secret is discovered, report only:
- Distinctive: line 59
Treat exposed production secrets as Blockers.
- Distinctive: line 66
Run available dependency audit commands if configured.
- Distinctive: line 76
Document required secret rotation.
- Distinctive: line 77
When security remediation or test changes are authorized, add or update relevant tests.
- Distinctive: line 92
Do not expose secrets.
- Distinctive: line 93
Do not weaken authentication, validation, authorization, or permissions to make tests pass.
- Distinctive: line 94
Do not introduce a new auth framework unless explicitly required.
- Distinctive: line 95
Do not perform destructive account or data operations.
- Distinctive: line 96
Do not claim a security scan is complete if only static review was possible.
- Distinctive: line 97
Do not log sensitive request or response payloads.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Production Security Review
Core purpose
Identify production security risks, fix safe issues only when remediation is authorized, and document remaining risks without exposing sensitive values.
Use this skill when
- The production pass needs security review.
- The repository handles users, authentication, authorization, private data, files, payments, private APIs, tokens, credentials, or sensitive operations.
- The user wants security hardening before release.
Do not use this skill when
- The user asks for offensive security, exploit creation, credential theft, or bypass instructions.
- The request is only about code style or documentation.
- The repository is unavailable.
Check for
- Committed secrets, API keys, tokens, private keys, credentials, or certificates
- Unsafe environment variable handling
- Missing input validation
- Authentication gaps
- Authorization gaps
- Insecure direct object access
- XSS risks
- SQL injection risks
- NoSQL injection risks
- Command injection risks
- Template injection risks
- Path traversal risks
- Unsafe file upload handling
- Weak CORS configuration
- Sensitive data in logs
- Dependency vulnerabilities
- Missing rate limiting
- Missing CSRF protection where applicable
- Weak session, cookie, or token handling
- Webhook signature validation gaps
- Overly permissive admin or service-role access
Secret-handling rule
Never print actual secret values.
If a secret is discovered, report only:
- File path
- Variable name or key name
- Risk level
- Rotation recommendation
Treat exposed production secrets as Blockers.
Default workflow
Resolve the task mode first: assessment-only work reports findings without source, test, or repository-document edits; authorized remediation applies only in-scope fixes. Release, production, and destructive operations retain their separate authority requirements.
- Inspect environment files, config files, auth code, API routes, middleware, logging, upload paths, and dependency manifests.
- Run available dependency audit commands if configured.
- Identify security-sensitive user flows.
- Classify findings as Blocker, High, Medium, or Low.
- Fix safe in-scope issues where remediation is authorized; assessment-only requests report them without edits:
- missing validation
- unsafe logs
- overly permissive CORS
- missing authorization checks where straightforward
- insecure defaults
- webhook validation gaps
- Document required secret rotation.
- When security remediation or test changes are authorized, add or update relevant tests. Assessment-only work reports coverage gaps.
- Record risks in the requested deliverable; update project readiness/risk files only when those artifacts are in scope.
Severity guidance
Classify as Blocker when a flaw exposes secrets, bypasses critical auth, permits unauthorized sensitive data access, risks data loss, or enables practical production compromise.
Classify as High when a flaw seriously weakens production security but does not clearly create immediate critical compromise.
Classify as Medium when a security improvement is important but not release-blocking.
Classify as Low for hardening recommendations or defense-in-depth improvements.
Guardrails
- Do not expose secrets.
- Do not weaken authentication, validation, authorization, or permissions to make tests pass.
- Do not introduce a new auth framework unless explicitly required.
- Do not perform destructive account or data operations.
- Do not claim a security scan is complete if only static review was possible.
- Do not log sensitive request or response payloads.
Deliverables
Include the following in the requested assessment response or report. Update repository readiness files only when those artifacts are requested or part of authorized remediation:
- Security findings by severity
- Safe fixes applied
- Required secret rotations
- Dependency vulnerability summary
- Remaining security risks
- Files changed and reasons
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

