relay-sidecar
Pass
Audited by Gen Agent Trust Hub on May 24, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection by incorporating untrusted external data into prompts sent to an LLM executor.\n
- Ingestion points: The orchestrator in
scripts/relay-sidecar.jsreads PR diffs (viagh pr diff), project documentation (viawalkDocCandidatePaths), and review artifacts (such asdone-criteria.mdandverdict.json).\n - Boundary markers: Prompt templates in
scripts/kinds/context-recap.js,scripts/kinds/docs-sync.js, andscripts/kinds/test-gap.jsuse simple text headers (e.g., 'BASELINE RECAP:', 'DIFF EVIDENCE:') to delimit data but lack explicit instructions to the LLM to ignore potentially malicious instructions embedded within that data.\n - Capability inventory: The skill executes the
opencodecommand with the generated prompts and writes the output to the repository file system atsidecars/<id>/output.md.\n - Sanitization: No sanitization, escaping, or filtering of the ingested content is performed before it is interpolated into the prompts.\n- [COMMAND_EXECUTION]: The script
scripts/relay-sidecar.jsexecutes system commands includinggh pr diffto fetch pull request data andgit status --porcelainto verify repository integrity. While these commands use arguments derived from the run manifest, the script implements a 'snapshot' check that fails the process if any file system mutations occur during the advisory run, mitigating risks of unauthorized persistence or modification.
Audit Metadata