Skip to content

usk6666/yorishiro-proxy / .claude/skills/security-review

security-review

Verified

Perform TLS / network / Go-specific security reviews

FileKindSize
SKILL.mdskill md1.4 KB
---
description: "Perform TLS / network / Go-specific security reviews"
user-invokable: true
---

# /security-review

A skill for conducting security reviews on yorishiro-proxy code.

## Argument Patterns

- `/security-review` — Full review
- `/security-review ./internal/cert/...` — Review specified packages only

## Checklist

### TLS / Certificates

- [ ] CA private key protection (file permissions, memory handling)
- [ ] Certificate expiration settings are appropriate
- [ ] TLS version restriction (TLS 1.2 or higher)
- [ ] Only safe cipher suites are used
- [ ] Certificate verification bypass is intentional and controlled

### Network

- [ ] Default bind address is safe (localhost vs 0.0.0.0)
- [ ] Connection timeout settings
- [ ] Resource limits (max connections, buffer sizes)
- [ ] Resilience against malformed packets

### Go-Specific

- [ ] Race condition risks (`go test -race` check)
- [ ] Goroutine leaks
- [ ] Correct `defer` usage (e.g., inside loops)
- [ ] Absence of `unsafe` package usage
- [ ] Input validation (header injection, etc.)

### MCP / API

- [ ] MCP tool input validation
- [ ] Authentication and authorization mechanisms
- [ ] Error messages do not contain sensitive information

## Steps

1. Read the source code of the target packages
2. Review against the checklist
3. Report findings classified by severity (Critical / High / Medium / Low)
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall