maxwellokumu/okaudit-claude-skills / application-security/code-review-helper
code-review-helper
VerifiedAnalyze source code for common security weaknesses across multiple languages and help Claude explain findings, severity, and remediation clearly.
| File | Kind | Size |
|---|---|---|
| README.md | markdown | 1.9 KB |
| SKILL.md | skill md | 1.7 KB |
| main.py | script | 17.9 KB |
| sample_input/vulnerable_app.js | script | 2.0 KB |
| sample_input/vulnerable_app.py | script | 2.9 KB |
| skill.yaml | config | 907 B |
README.md
View on GitHub# code-review-helper
Regex-based static security analysis for Python, JavaScript, Java, and Go source files. Detects 8 vulnerability classes per language with CWE references and actionable remediation guidance.
## Requirements
- Python 3.8+
- No external dependencies
## Usage
```bash
python main.py --code sample_input/vulnerable_app.py --language python
python main.py --code sample_input/vulnerable_app.js --language javascript --output json
```
### Options
| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--code` | ✅ | — | Path to source file |
| `--language` | ✅ | — | `python` \| `javascript` \| `java` \| `go` |
| `--output` | | `markdown` | `markdown` \| `json` |
## Vulnerability Classes Detected
| Language | Classes |
|----------|---------|
| Python | Hardcoded Secrets, eval/exec, SQL Injection, Weak Crypto, Debug Mode, Insecure Deserialization, Path Traversal, Open Redirect |
| JavaScript | eval(), innerHTML XSS, document.write XSS, Sensitive localStorage, Prototype Pollution, dangerouslySetInnerHTML, Open Redirect, ReDoS |
| Java | SQL Injection, XXE, Insecure Deserialization, Hardcoded Secrets, Weak Crypto, Path Traversal, Command Injection, JNDI Injection |
| Go | Hardcoded Secrets, unsafe.Pointer, Command Injection, SQL Injection, Weak Crypto, Path Traversal, Open Redirect, Goroutine Leak |
## Sample Output
```
# Code Security Review
**File:** sample_input/vulnerable_app.py
**Language:** python
**Total Findings:** 8
| Line | Vulnerability | Severity | CWE | Code Snippet |
|------|-------------------|----------|---------|---------------------------|
| 5 | Hardcoded Secrets | Critical | CWE-798 | password = "sup3rs3cret" |
| 12 | SQL Injection | Critical | CWE-89 | cursor.execute("SELECT... |
```
> This tool performs regex-based pattern matching and is not a substitute for a full SAST tool.
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 |