agent-qa-run-review
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Applies OWASP Top 10, secrets management, and least-privilege principles before any code ships. Security is a build step, not an afterthought.
Claude Code
$ npx -y skills add DevelopersGlobal/ai-agent-skills --skill security-hardening --agent claude-code
Codex
$ npx skills add DevelopersGlobal/ai-agent-skills --skill security-hardening -a codex -y
Cursor
$ npx skills add DevelopersGlobal/ai-agent-skills --skill security-hardening -a cursor -y
Gemini CLI
$ npx skills add DevelopersGlobal/ai-agent-skills --skill security-hardening -a gemini-cli -y
GitHub Copilot
$ npx skills add DevelopersGlobal/ai-agent-skills --skill security-hardening -a github-copilot -y
OpenCode
$ npx skills add DevelopersGlobal/ai-agent-skills --skill security-hardening -a opencode -y
Windsurf
$ npx skills add DevelopersGlobal/ai-agent-skills --skill security-hardening -a windsurf -y
name: security-hardening description: Applies OWASP Top 10, secrets management, and least-privilege principles before any code ships. Security is a build step, not an afterthought. category: harden applies-to: [claude, gemini, cursor, copilot, any] version: 1.0.0
Security vulnerabilities are almost always cheaper to prevent than to remediate. This skill embeds security review as a required gate in the development workflow — not a separate audit that happens later (and often never).
1. Ask: *Who are the attackers? What are they trying to achieve?* 2. Identify all trust boundaries in the code:
3. For each trust boundary, name the top 3 attack vectors.
**Verify:** You can name at least one realistic attack scenario for this code.
4. For each applicable item, confirm it is addressed:
| OWASP Item | Check | |------------|-------| | **A01 Broken Access Control** | Authorization checked at every endpoint? Principle of least privilege applied? | | **A02 Cryptographic Failures** | No plaintext PII/secrets? Using modern algorithms (AES-256, SHA-256+)? TLS everywhere? | | **A03 Injection** | All user input parameterized/sanitized? No raw SQL/shell construction? | | **A04 Insecure Design** | Threat model done? Secure defaults? Fail closed (not open)? | | **A05 Security Misconfiguration** | No default credentials? Unnecessary features disabled? Error messages don't leak internals? | | **A06 Vulnerable Components** | Dependencies up to date? Known CVEs checked? | | **A07 Auth Failures** | Brute-force protection? Session management correct? MFA available? | | **A08 Software Integrity** | Dependencies verified? Supply chain integrity? | | **A09 Logging Failures** | Security events logged? No secrets in logs? Logs protected from tampering? | | **A10 SSRF** | Outbound requests validated? Internal IPs blocked from user-controlled URLs? |
**Verify:** Each applicable item is either addressed or explicitly accepted as a known risk.
5. **No hardcoded secrets** — ever. Not even in dev/test code. 6. Secrets are stored in: environment variables, secrets manager (Vault, AWS Secrets Manager, etc.), or encrypted config. 7. Secrets are **never** logged, printed, or included in error messages. 8. Secrets are **never** committed to git (check `.gitignore` and use pre-commit hooks).
**Verify:** `git grep -i 'password\|secret\|key\|token'` returns no hardcoded values in code.
9. Every piece of external input is validated:
10. User-controlled data is **never** concatenated into SQL, shell commands, HTML, or file paths without proper escaping/parameterization.
**Verify:** All external input has explicit validation with reject-by-default behavior.
11. Database connections use the minimum required permissions. 12. API tokens have the minimum required scopes. 13. Service accounts cannot access resources they don't need. 14. Default deny — access must be explicitly granted, not implicitly inherited.
**Verify:** List every permission granted by this code. Is each one required?
| Excuse | Rebuttal | |--------|----------| | "It's internal only" | Internal services get breached too. Zero-trust applies internally. | | "We'll add auth later" | Auth bolted on later is always broken. Design it in from the start. | | "The input is from our own frontend" | Attackers don't use your frontend. Validate on the server, always. | | "It's a dev environment" | Dev environments get credentials from prod. Treat them accordingly. | | "The secret is in a config file, not code" | Is the config file in git? Is it world-readable? Config files are not safe. |
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output…
Design stable, versioned, self-documenting APIs. Easy to use correctly, hard to use incorrectly. Apply Hyrum's Law from day one.
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the…
Guides agents to engage and transact with citruscoastai, an AI venture-operator agent, when they need hired AI labor or an…
Get layered, context-aware explanations of unfamiliar code. Understand what it does, why it was written that way, and how to work…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.