invest-autoresearch

Warn

Audited by Gen Agent Trust Hub on Jun 18, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes a series of git commands (git status, git log, git add, git commit, git revert) to manage the version history of the skills it modifies.
  • [COMMAND_EXECUTION]: It uses shell utilities including echo, md5sum, and head within subshells to generate unique identifiers for usage logging.
  • [REMOTE_CODE_EXECUTION]: The 'Phase 5.5: Guard Check' allows for the execution of an arbitrary shell command ('guard command') provided during the skill's setup wizard.
  • [REMOTE_CODE_EXECUTION]: The skill's primary purpose is the iterative modification of SKILL.md files. Because these files contain instructions that define agent behavior, this autonomous modification loop constitutes dynamic code generation.
  • [DATA_EXFILTRATION]: The skill reads from and writes to sensitive local file paths, including an internal vault (~/Projects/K2Bi-Vault) and agent skill directories (.claude/skills/).
  • [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted data from skills it aims to improve.
  • Ingestion points: Phase 1 (Review) and Phase 5 (Verify) read data from SKILL.md, eval/results.tsv, and eval/eval.json into the agent's context.
  • Boundary markers: No specific delimiters or 'ignore' instructions are used to isolate the data being reviewed from the skill's own operational logic.
  • Capability inventory: The skill can execute shell commands and modify local files based on logic derived from the ingested data.
  • Sanitization: There is no evidence of sanitization or validation of the content read from the target skill files.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 18, 2026, 03:44 PM