automating-api-testing
Warn
Audited by Gen Agent Trust Hub on Jul 18, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The utility script
scripts/generate_test_suite.pycontains agenerate_scriptmethod that assembles shell scripts from string templates and explicitly applies executable permissions usingchmod 0o755. This creates a mechanism where the agent can generate and immediately execute arbitrary shell logic based on its instructions or processed data. - Evidence:
scripts/generate_test_suite.pylines 78-98. - [PROMPT_INJECTION]: The skill is designed to ingest and parse untrusted external data, specifically OpenAPI/Swagger specifications and GraphQL schemas, to automate test case generation. This creates a surface for indirect prompt injection where malicious instructions embedded in the 'description' or other metadata fields of a specification could attempt to influence the agent's actions or output.
- Ingestion points: The agent is instructed to parse OpenAPI specs and introspect GraphQL schemas (
SKILL.md, Instructions step 1). - Boundary markers: Absent. There are no instructions for the agent to use delimiters or ignore instructions found within the processed specifications.
- Capability inventory: The skill has access to
Bash,Write, andEdittools, which could be leveraged if an injection is successful. - Sanitization: Absent. The provided logic does not include validation or sanitization of specification content before processing.
Audit Metadata