The skill is vulnerable to prompt injection via untrusted PR data, executes unverified scripts from insecure paths, and lacks defined tool constraints, creating a significant supply chain risk.
Findings (6)
Content Injection
Hightargets Perception
The skill fetches PR titles and descriptions via `gh pr view` and injects them into the agent's prompt as `[SECTION:pr_context]`. Since PR descriptions are attacker-controllable, this allows an attacker to inject instructions into the review process.
Echo also receives [SECTION:pr_context] when present (hydra pr mode)... The PR description is untrusted data, boundary-wrapped like all review content.
Behavioural Control
Mediumtargets Action
NER model detected organization in skill content (confidence: 0.52)
H**
NER model detected organization in skill content (confidence: 0.59)
E***
The skill executes `node` on a script path resolved via `ls -1t .../codex-companion.mjs`. Relying on a path-based discovery of a script without integrity verification or version pinning exposes the agent to supply chain attacks if the cache directory is compromised. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
CODEX_SCRIPT=$(ls -1t ~/.claude/plugins/cache/openai-codex/codex/*/scripts/codex-companion.mjs 2>/dev/null | head -1)
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.