api-test-bruno

Pass

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill provides shell scripts (scripts/run.sh, scripts/run-tests.sh) to automate the generation and execution of API tests using the Bruno CLI tool. These scripts are intended for local development and CI/CD pipelines.
  • [EXTERNAL_DOWNLOADS]: The README and CI templates (Jenkinsfile.bruno, github-actions-bruno.yml) recommend installing the @usebruno/cli package from the official NPM registry. This is a well-known service and the standard method for executing Bruno collections.
  • [DYNAMIC_EXECUTION]: The scripts/generate_bruno_requests.py script generates .bru files containing Javascript code for Bruno's pre-request and test blocks. This is a core feature of the Bruno testing framework and is used here for legitimate contract validation and assertion logic.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted external data (OpenAPI, Postman, curl) which presents a potential surface for indirect prompt injection.
  • Ingestion points: The scripts/parse_api_sources.py script reads and parses various API definition formats.
  • Boundary markers: Instructions in SKILL.md and prompts/api-test-bruno.md require the agent to separate 'confirmed facts' from 'assumptions' and flag information gaps, reducing the risk of accidental obedience to embedded instructions.
  • Capability inventory: The skill has the capability to generate local files and execute them via shell scripts if triggered by the user.
  • Sanitization: Employs yaml.safe_load for YAML parsing and shlex.split for curl parsing, which helps mitigate basic injection attempts in the input data.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 10, 2026, 12:54 AM