security-audit

Audit Rust TUI projects for subprocess, path, SQL, and panic security weaknesses.

29|2|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/agentty-xyz/agentty --skill security-audit-agentty-xyz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-audit
Source: https://github.com/agentty-xyz/agentty/tree/main/skills/security-audit
Command: npx skills add https://github.com/agentty-xyz/agentty --skill security-audit-agentty-xyz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audits a Rust-based TUI application to identify security weaknesses in subprocess execution, path handling, SQL queries, and error handling that could expose data or cause crashes.

Core Features & Use Cases

  • Comprehensive code audit: reviews subprocess spawning, path construction, database queries, and unwrap patterns for safety.
  • Threat modeling guidance: outlines risk categories such as command injection, path traversal, and data exposure, with actionable mitigations.
  • Use Case: when asked to harden agentty's local tooling, run this skill to surface high-risk patterns and recommended fixes across the codebase.

Quick Start

Provide a request to audit the project and generate a prioritized remediation plan with concrete code changes.

Frequently Asked Questions about security-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a Rust TUI application for subprocess and SQL vulnerabilities?

A Rust TUI security audit reviews subprocess spawning, path construction, database queries, and unwrap patterns to identify command injection and data exposure risks. It validates argument construction, safe path joins, and parameterized queries to mitigate these vulnerabilities.

What security risks affect Rust CLI tools that manage subprocesses and databases?

Rust CLI tools managing subprocesses and databases face security risks including command injection, path traversal, SQL injection, and panic conditions. These vulnerabilities arise from unsafe subprocess execution, improper path joins, unparameterized SQL queries, and inadequate error handling.

How do I prevent path traversal in Rust CLI applications?

Preventing path traversal in Rust CLI applications requires careful validation of path construction and safe path joins. Auditing your codebase helps surface high-risk patterns in path handling and provides actionable mitigations to secure local tooling.

Does this security audit work for local Rust CLI tools like Agentty?

Yes, this security audit works for local Rust CLI tools like Agentty and similar Rust applications with subprocess management and database usage. It reviews the codebase to surface high-risk patterns and generates a prioritized remediation plan with concrete code changes.

How do I fix unsafe unwrap patterns causing panics in Rust TUI projects?

Fixing unsafe unwrap patterns causing panics in Rust TUI projects requires implementing robust error handling to mitigate crash risks. A security audit identifies these panic conditions and provides actionable code changes to replace unwraps with safe error management.