Skip to content

talayash/agentrium / .claude/skills/security-review

security-review

Verified

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
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: 466kUpdated 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: 466kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 466kUpdated 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: 192kUpdated Claude CodeCodexVerifiedInstall