python-reliable-subprocess-handling

Pass

Audited by Gen Agent Trust Hub on Oct 12, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill serves as a technical reference for Python developers and AI agents. It provides patterns for robustly managing subprocesses using asyncio.
  • [COMMAND_EXECUTION]: The skill contains code for executing external commands via asyncio.create_subprocess_exec. This is the primary intended function of the skill. The code follows security best practices by explicitly avoiding shell execution (shell=True) and using structured argument lists (argv), which mitigates common command injection vulnerabilities.
  • [SAFE]: The document includes defensive coding practices, such as warning against communicate() data loss, addressing orphaned process issues, and suggesting proper cleanup procedures after timeouts.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 12, 2026, 05:38 PM