api-spectral
Pass
Audited by Gen Agent Trust Hub on Jun 18, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
github-actions-template.ymlandassets/github-actions-template.ymlfiles include commands to download supporting scripts and rulesets from a remote repository. - Evidence:
curl -o scripts/parse_spectral_results.py https://raw.githubusercontent.com/SecOpsAgentKit/skills/main/appsec/api-spectral/scripts/parse_spectral_results.pyinassets/github-actions-template.yml. - [REMOTE_CODE_EXECUTION]: The CI configuration template provides an example of installing the
tfsecsecurity tool by piping a remote installation script directly into a shell interpreter. - Evidence:
curl -s https://raw.githubusercontent.com/aquasecurity/tfsec/master/scripts/install_linux.sh | bashinassets/ci-config-template.yml. - [COMMAND_EXECUTION]: The skill instructions and templates rely on the execution of the
spectralCLI tool and various package managers (npm,yarn) to perform its primary function. - Evidence: Multiple instances of
spectral lintandnpm install -g @stoplight/spectral-cliacrossSKILL.mdand CI templates. - [PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection, as it is designed to ingest and analyze external API specifications which may contain attacker-controlled content in descriptions or examples.
- Ingestion points: API specification files (OpenAPI, AsyncAPI, Arazzo) processed in
SKILL.mdviaspectral lint. - Boundary markers: None identified.
- Capability inventory: Shell execution of
spectraland results parsing scripts. - Sanitization: None identified.
Audit Metadata