review-gate
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECREDENTIALS_UNSAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The script
scripts/run-fx-review.mjsretrieves API credentials for thevercel-ai-gatewayservice from the macOS Keychain by executing the/usr/bin/securitycommand. While the script implements redaction logic to prevent these credentials from appearing in logs or artifacts, the retrieval of plain-text secrets is a sensitive operation.- [COMMAND_EXECUTION]: The skill performs extensive command execution across multiple files. The bash scriptscripts/gate.shinvokesgitfor diffing and searching repository content, while Node.js scripts in thescripts/directory executebun,node, and thefx(Vercel AI Gateway) CLI tool.- [DYNAMIC_EXECUTION]: The test scriptscripts/test-report-gate.shutilizes theFunctionconstructor to dynamically execute JavaScript strings. This is used to mutate JSON fixtures for verification purposes within the test environment.- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data in the form ofgit diffoutput and repository files to determine review logic and triggers. These inputs are interpolated into prompts sent to the AI reviewer inscripts/run-fx-review.mjs, creating a surface for potential indirect prompt injection attacks.
Audit Metadata