talayash/agentrium / .claude/skills/security-review
security-review
VerifiedSecurity audit checklist and patterns for Tauri desktop apps with PTY spawning
Security Review Skill
Threat Surface for Agentrium
- PTY Command Injection - user input → xterm.js → IPC → PTY
- IPC Boundary - frontend can invoke any registered command
- Process Spawning -
cmd /Cwrapping needs proper escaping - File System - workspace paths from user input
- Auto-updater - must verify signed releases
- 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 /Ccalls 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: 466k | 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: 466k | 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: 466k | 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: 192k | Updated | Claude CodeCodex | Verified | Install |