Ralph Quick — 10 Iterations (~5-10 min)
Fast security spot-check for pre-deployment or daily security hygiene.
References
Instructions
Execution Engine
YOU MUST follow this loop for EVERY iteration:
- STATE: Read current iteration (start: 1)
- ACTION: Perform ONE check from current phase
- VERIFY: Before reporting FAIL — read actual code, check if a library handles it, check DB constraints, check if dev-only
- REPORT: Output iteration result in the format below
- INCREMENT: iteration = iteration + 1
- CONTINUE: IF iteration <= 10 GOTO Step 1
- FINAL: Generate summary report saved to
.ralph-report.md
Critical rules:
- ONE check per iteration (not all at once)
- ALWAYS show iteration counter
[QUICK-X/10]
- NEVER skip iterations
- If VERIFY is inconclusive: mark
NEEDS_REVIEW, not FAIL
Per-Iteration Output
[QUICK-{N}/10] {check_name}
Target: {file or system component}
Result: {PASS|FAIL|WARN|N/A}
Confidence: {VERIFIED|LIKELY|PATTERN_MATCH|NEEDS_REVIEW}
Finding: {description or "Clean"}
───────────────────────────────
Persona
Senior security engineer — evidence-based, critical focus, maximum efficiency.
Phase Structure
| Iter |
Check |
| 1 |
Auto-detect stack, infra, git sync |
| 2 |
.env in .gitignore check |
| 3 |
Hardcoded secrets scan |
| 4 |
DEBUG mode detection |
| 5 |
SQL injection patterns |
| 6 |
Command injection patterns |
| 7 |
Authentication on sensitive endpoints |
| 8 |
Rate limiting presence |
| 9 |
Container running as root? |
| 10 |
Summary & recommendations |
Auto-Detect (Iteration 1)
Deterministic order:
git rev-parse --show-toplevel
- Stack:
package.json, pyproject.toml, requirements.txt, go.mod
- Infra:
Dockerfile, docker-compose.yml, k8s manifests
- CI/CD:
.github/workflows, .gitlab-ci.yml
- Skip non-applicable checks, mark N/A
Confidence Levels
| Level |
Meaning |
| VERIFIED |
Confirmed with code reading or PoC |
| LIKELY |
Strong evidence, no PoC |
| PATTERN_MATCH |
Keyword match only — flag for human review |
| NEEDS_REVIEW |
Inconclusive |
Severity
| Level |
CVSS |
Response |
| CRITICAL |
9.0-10.0 |
Stop and fix immediately |
| HIGH |
7.0-8.9 |
Fix before deployment |
| MEDIUM |
4.0-6.9 |
Schedule fix |
| LOW |
0.1-3.9 |
Note for later |
Report File
On start: if .ralph-report.md exists, rename to .ralph-report-{YYYY-MM-DD-HHmm}.md. Save final report at end.
Parameters
| Param |
Default |
Options |
--iterations |
10 |
1-20 |
--focus |
all |
secrets, owasp, infra, all |
Note: Parameters are AI-interpreted instructions, not parsed CLI args.
When to Use
- Pre-deployment quick check
- Daily security spot-check
- Verifying a specific fix
For deeper audits: /ralph-security (100), /ralph-ultra (1,000), /ralph-promax (10,000).
1---
2name: ralph-quick
3description: "Fast security spot-check with 10 iterations (~5-10 min). Use when user says 'quick security check', 'pre-deploy audit', 'ralph quick', 'fast security scan', 'spot check before deploy', or 'daily security check'. Covers secrets, OWASP basics, auth, rate limiting, and containers."
4metadata:
5 source: https://skillmd.com/skills/modbender/ralph-quick
6 openclaw:
7 emoji: 🔍
8 author: dorukardahan
9 version: 2.0.0
10 category: security
11 tags:
12 - security
13 - audit
14 - owasp
15 - pre-deploy
16---
17
18# Ralph Quick — 10 Iterations (~5-10 min)
19
20Fast security spot-check for pre-deployment or daily security hygiene.
21
22## References
23
24- [Severity definitions](references/severity-guide.md)
25
26## Instructions
27
28### Execution Engine
29
30YOU MUST follow this loop for EVERY iteration:
31
321. **STATE**: Read current iteration (start: 1)
332. **ACTION**: Perform ONE check from current phase
343. **VERIFY**: Before reporting FAIL — read actual code, check if a library handles it, check DB constraints, check if dev-only
354. **REPORT**: Output iteration result in the format below
365. **INCREMENT**: iteration = iteration + 1
376. **CONTINUE**: IF iteration <= 10 GOTO Step 1
387. **FINAL**: Generate summary report saved to `.ralph-report.md`
39
40**Critical rules:**
41- ONE check per iteration (not all at once)
42- ALWAYS show iteration counter `[QUICK-X/10]`
43- NEVER skip iterations
44- If VERIFY is inconclusive: mark `NEEDS_REVIEW`, not `FAIL`
45
46### Per-Iteration Output
47
48```
49[QUICK-{N}/10] {check_name}
50Target: {file or system component}
51Result: {PASS|FAIL|WARN|N/A}
52Confidence: {VERIFIED|LIKELY|PATTERN_MATCH|NEEDS_REVIEW}
53Finding: {description or "Clean"}
54───────────────────────────────
55```
56
57### Persona
58
59Senior security engineer — evidence-based, critical focus, maximum efficiency.
60
61### Phase Structure
62
63| Iter | Check |
64|------|-------|
65| 1 | Auto-detect stack, infra, git sync |
66| 2 | .env in .gitignore check |
67| 3 | Hardcoded secrets scan |
68| 4 | DEBUG mode detection |
69| 5 | SQL injection patterns |
70| 6 | Command injection patterns |
71| 7 | Authentication on sensitive endpoints |
72| 8 | Rate limiting presence |
73| 9 | Container running as root? |
74| 10 | Summary & recommendations |
75
76### Auto-Detect (Iteration 1)
77
78Deterministic order:
791. `git rev-parse --show-toplevel`
802. Stack: `package.json`, `pyproject.toml`, `requirements.txt`, `go.mod`
813. Infra: `Dockerfile`, `docker-compose.yml`, k8s manifests
824. CI/CD: `.github/workflows`, `.gitlab-ci.yml`
835. Skip non-applicable checks, mark N/A
84
85### Confidence Levels
86
87| Level | Meaning |
88|-------|---------|
89| VERIFIED | Confirmed with code reading or PoC |
90| LIKELY | Strong evidence, no PoC |
91| PATTERN_MATCH | Keyword match only — flag for human review |
92| NEEDS_REVIEW | Inconclusive |
93
94### Severity
95
96| Level | CVSS | Response |
97|-------|------|----------|
98| CRITICAL | 9.0-10.0 | Stop and fix immediately |
99| HIGH | 7.0-8.9 | Fix before deployment |
100| MEDIUM | 4.0-6.9 | Schedule fix |
101| LOW | 0.1-3.9 | Note for later |
102
103### Report File
104
105On start: if `.ralph-report.md` exists, rename to `.ralph-report-{YYYY-MM-DD-HHmm}.md`. Save final report at end.
106
107### Parameters
108
109| Param | Default | Options |
110|-------|---------|---------|
111| `--iterations` | 10 | 1-20 |
112| `--focus` | all | secrets, owasp, infra, all |
113
114Note: Parameters are AI-interpreted instructions, not parsed CLI args.
115
116### When to Use
117
118- Pre-deployment quick check
119- Daily security spot-check
120- Verifying a specific fix
121
122For deeper audits: `/ralph-security` (100), `/ralph-ultra` (1,000), `/ralph-promax` (10,000).