JPeetz/agent-skills / skills/code-quality/clean-pro-review-gates
clean-pro-review-gates
FlaggedUse this skill when reviewing any AI-generated or modified code, tests, docs, or infrastructure before merging. Applies a 5-gate review framework — code quality (15 LLM failure modes), tests, docs, security (OWASP Top 10:2025/CWE Top 25/LLM Top 10), and CI/CD/container/IaC hardening — with each gate mapping violations to published research on how LLMs systematically fail.
Security report
FlaggedStatic analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.
- Commit
a70437dd3bdc051abc5c49317ede87c12f10f31d- Content hash
5dacf2e8a4f8d6195215b81de32f8c44fdbcfa2c8eb9c857cc3cc9930dacbece- Scanned
- 2026-11-17
- Scanner version
- skillxone-scan-1.0.0
- Policy version
- 0.1-draft
- Decision
- 3 open critical or high findings.
- Verification expires
- Not applicable
Findings (3 high, 1 low)
A script is downloaded and run in one step, so whatever the server returns at that moment is executed without review.
11. **Nothing is piped from the network into a shell during build.** `curl | sh` in a Dockerfile is third-party code execution baked into every build. Download, verify checksum, then run.Suggested fix: Download the script, check it (and its checksum or signature), then run the saved copy. Prefer a package manager.
A script is downloaded and run in one step, so whatever the server returns at that moment is executed without review.
21. **No unvetted install/build scripts or remote `curl | sh`.** Treat postinstall scripts as third-party code execution. (OWASP A08)Suggested fix: Download the script, check it (and its checksum or signature), then run the saved copy. Prefer a package manager.
A script is downloaded and run in one step, so whatever the server returns at that moment is executed without review.
| `references/infra-hardening-gate.md` | 22 | `curl | sh` in a Dockerfile | This is a security **check rule** describing what to detect during infra review, NOT an actual command to execute. |Suggested fix: Download the script, check it (and its checksum or signature), then run the saved copy. Prefer a package manager.
The cloud instance metadata service is contacted. On a cloud machine it hands out credentials. Severity lowered from high because the surrounding text warns against it.
5. **Guard every outbound request built from input (SSRF).** A URL/host/webhook from input must be validated against an allow-list; must not reach internal addresses, `169.254.169.254`, or `localhost`. Pin resolved IP for DNS rebinding pro…Suggested fix: Remove access to the metadata service.
Checks run
- prompt-injection
- dangerous-commands
- credentials
- network
- file-access
- integrity
Checks skipped
- dependencies: No dependency manifest in the skill directory.
- gitleaks: gitleaks is not installed on this host.
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: 472k | 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: 472k | 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: 472k | 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 |