workflow-retro
Pass
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDATA_EXFILTRATIONREMOTE_CODE_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill exhibits a significant attack surface for indirect prompt injection as its primary function is to ingest and analyze untrusted data from multiple sources, including agent session logs (Claude, Cursor, Grok, Codex) and GitHub Pull Request data. Malicious instructions or tool outputs embedded in these logs could influence the agent during the "Judge" and "Act" phases, potentially tricking it into implementing backdoors or malicious modifications while attempting to "fix" its own skills.
- Ingestion points: Session logs located in
~/.t3/(processed byscripts/collect-sessions.mjs), SQLite projection databases (processed byscripts/collect-t3.mjs), and GitHub Pull Request content (processed byscripts/collect-prs.mjs). - Boundary markers: The skill relies on best-effort redaction logic in
scripts/io.mjsbut does not employ explicit boundary markers or instruction-separation techniques to distinguish between log content and agent instructions. - Capability inventory: The skill has the capability to modify its own source code in the
hcaiano/skillsrepository, open/merge PRs, and execute arbitrary commands on remote hosts via SSH. - Sanitization: While
scripts/io.mjsprovides robust credential redaction to prevent accidental secret leakage, it does not sanitize the natural language or command content within the ingested logs. - [EXTERNAL_DOWNLOADS]: The skill uses
npx -y skills@latestto install and run theskillsutility from the npm registry. This pattern downloads and executes code without pinning to a specific version or hash, introducing a dependency on the external registry and the maintainer of theskillspackage. - [REMOTE_CODE_EXECUTION]: The "Act" phase in
SKILL.mdincludes instructions for the agent to execute code on a remote MacBook (mbp) using SSH. This is used to synchronize and reinstall skills across the user's environment, but it represents a high-privilege capability that could be abused if the agent's decision-making process is compromised. - [COMMAND_EXECUTION]: The skill relies on several external CLI tools including
ssh,scp, and the GitHub CLI (gh).scripts/collect-prs.mjsusesexecFileto invokegh api, which allows it to fetch and manage repository data at runtime. - [DATA_EXFILTRATION]: The skill aggregates sensitive interaction data, including shell history, tool inputs/outputs, and database records, into local state files under
~/.local/state/workflow-retro. Although the skill includes internal redaction logic to mask credentials, the systematic collection and consolidation of full agent histories represent an aggregation of sensitive information.
Audit Metadata