api-debug

Warn

Audited by Gen Agent Trust Hub on Apr 8, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The troubleshooting guide includes a 'Request Reproduction Template' that generates a shell script (debug_request.sh) using environment variables for the URL, method, and headers, and subsequently executes it via bash. This script generation and execution pattern can be vulnerable to command injection if the variables are populated with unsanitized data from external API responses or logs.
  • [DATA_EXFILTRATION]: The skill explicitly instructs the agent to capture and compare sensitive data, including Authorization headers, API keys, and request/response bodies. While essential for debugging, the documentation and storage of these secrets within the agent's context or logs increases the risk of credential exposure.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it is designed to ingest and analyze untrusted data from external APIs (response bodies, headers) and server logs.
  • Ingestion points: API response bodies, HTTP headers, and server-side log files.
  • Boundary markers: None identified in the provided instructions; external data is processed as direct diagnostic input.
  • Capability inventory: Capability to generate and execute shell scripts, use network tools (curl), and run Python scripts using the requests library.
  • Sanitization: No evidence of validation, escaping, or filtering of the ingested external content before it is used in logic or script generation.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Apr 8, 2026, 06:17 AM