talayash/agentrium / .claude/skills/security-review
security-review
VerifiedSecurity audit checklist and patterns for Tauri desktop apps with PTY spawning
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 934 B |
SKILL.md
View on GitHub---
name: security-review
description: Security audit checklist and patterns for Tauri desktop apps with PTY spawning
---
# Security Review Skill
## Threat Surface for Agentrium
1. **PTY Command Injection** - user input → xterm.js → IPC → PTY
2. **IPC Boundary** - frontend can invoke any registered command
3. **Process Spawning** - `cmd /C` wrapping needs proper escaping
4. **File System** - workspace paths from user input
5. **Auto-updater** - must verify signed releases
6. **SQLite** - parameterized queries only
## Quick Checklist
- [ ] No `.unwrap()` in production Rust paths
- [ ] No hardcoded secrets/tokens/passwords
- [ ] No `eval()`, `innerHTML`, `dangerouslySetInnerHTML`
- [ ] All IPC commands validate inputs
- [ ] `cmd /C` calls escape user strings
- [ ] SQLite uses parameterized queries
- [ ] Tauri capabilities are minimal
- [ ] CSP configured in tauri.conf.json
- [ ] Auto-updater verifies signatures
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 |