api-test-supertest

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill includes scripts/run.sh, which executes shell commands to coordinate the API parsing and test generation process, as well as invoking npm to manage dependencies and execute the test runner.
  • [DYNAMIC_EXECUTION]: The skill generates JavaScript test code at runtime (generated.api.test.js) based on external API definitions and subsequently executes this code. It also utilizes dynamic module loading via require() with paths resolved from the SUPERTEST_APP environment variable.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted input from multiple API definition formats (OpenAPI, Postman, curl, WSDL, etc.) through scripts/parse_api_sources.py. This ingested data is used to populate test scripts and inform agent responses.
  • Ingestion points: scripts/parse_api_sources.py reads and parses .json, .yaml, .wsdl, .xml, .bru, .curl, .sh, and .txt files from user-specified directories or zip archives.
  • Boundary markers: SKILL.md and prompts/api-test-supertest.md provide instructions for the agent to separate assumptions from facts and to avoid inventing details not present in the source material.
  • Capability inventory: The skill can write files, execute shell scripts, and run Node.js applications through the provided scripts/ directory.
  • Sanitization: Data from API definitions is escaped using json.dumps() before being interpolated into the generated JavaScript test files, mitigating the risk of code injection.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 12:54 AM