add-method
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- SQL Injection Surface: The skill generates SQL migration scripts by interpolating user-provided data, such as names, descriptions, and slugs, into templates. It includes specific instructions to use execution methods that bypass standard parameter binding to accommodate special characters in paper titles. This pattern creates a potential surface where malformed input could lead to unauthorized database operations if not properly sanitized before being written to the migration file.
- Command Injection Consideration: User-supplied variables, specifically the method slug, are used as arguments in shell commands (e.g.,
uv run ... --method-slug <slug>). This pattern requires careful validation of the input strings to prevent the injection of additional shell commands through the use of command separators or other shell characters. - Dynamic Execution of Generated Content: The skill involves a multi-step process where it first generates local SQL files and then executes those files using a Python-based database wrapper. This dynamic "generate-then-execute" workflow is a security-sensitive pattern that warrants review to ensure the integrity of the generated files and the parameters used during execution.
- External Content Parsing: The workflow includes downloading PDF files from the ArXiv repository and using the
PyMuPDFlibrary to extract and render figures. Although ArXiv is a well-known academic source, the automated processing of complex external binary formats involves inherent risks related to potential parser vulnerabilities.
Audit Metadata