Skip to content
Back to skills

Security Review

ASecurity

Security audit checklist and patterns for Tauri desktop apps with PTY spawning

  • 42 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 23, 2026
ai-agentsrustsqlapifrontendsecurity

Works with

  • api

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add talayash/agentrium --skill security-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/talayash-security-review/badge)](https://www.skillsdirectory.com/skills/talayash-security-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.