security-review
SolidSecurity audit checklist and patterns for Tauri desktop apps with PTY spawning
Code & Development 39 stars
9 forks Updated 2 weeks ago MIT
Install
Quality Score: 81/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Security Review Skill
## Threat Surface for ClaudeTerminal
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
Details
- Author
- talayash
- Repository
- talayash/agentrium
- Created
- 7 months ago
- Last Updated
- 2 weeks ago
- Language
- TypeScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category