skills/mukul975/anthropic-cybersecurity-skills/exploiting-sql-injection-with-sqlmap/Gen Agent Trust Hub
exploiting-sql-injection-with-sqlmap
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/agent.pyexecutes thesqlmapbinary usingsubprocess.run. It populates command arguments using variables like--url,--param, and--tamperwhich are sourced from user or agent input.\n- [EXTERNAL_DOWNLOADS]: The skill instructs the user to installsqlmap, a standard open-source utility for SQL injection testing, viapiporaptas a prerequisite.\n- [INDIRECT_PROMPT_INJECTION]: The skill demonstrates a vulnerability surface for indirect prompt injection through the parsing of external tool output.\n - Ingestion points: Standard output from
subprocess.runis captured inscripts/agent.pyacross several functions, includingrun_detection_scan,enumerate_databases, andenumerate_tables.\n - Boundary markers: There are no explicit markers or instructions used to delimit the external tool output from the agent's context in the returned JSON report.\n
- Capability inventory: The skill provides functionality for file reads and OS command execution on the target database server via
sqlmapflags, and the wrapper script itself can execute thesqlmapbinary.\n - Sanitization: Tool output is processed using string methods to extract database metadata, but the content is not sanitized or escaped before being returned to the agent context.
Audit Metadata