skills/piofant/skills/autoresearch/Gen Agent Trust Hub

autoresearch

Warn

Audited by Gen Agent Trust Hub on Sep 14, 2026

Risk Level: MEDIUMDYNAMIC_CONTEXT_INJECTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_CONTEXT_INJECTION]: The skill includes a script scripts/install-hook.sh that modifies the project-level agent configuration file .claude/settings.json.
  • It registers a UserPromptSubmit hook that executes bash assets/autoresearch-context.sh every time the user sends a message.
  • While the current script only injects a text reminder, this mechanism creates a persistence vector where arbitrary shell commands could be executed silently in the background of every interaction.
  • [COMMAND_EXECUTION]: The skill's primary operation mode (Metric-loop) relies on the creation and execution of autoresearch.sh.
  • The instructions direct the agent to write and run this script, which may contain arbitrary shell commands to perform measurements (e.g., curl, python, node).
  • The skill also uses git checkout to automatically revert file changes, granting the autonomous loop the power to modify the local filesystem without manual confirmation.
  • [INDIRECT_PROMPT_INJECTION]: The 'Research-loop' mode contains an indirect prompt injection surface.
  • Ingestion points: Data is ingested via WebSearch, WebFetch, and various MCP tools (telegram-remote, codesearch) during the SEARCH and READ phases.
  • Boundary markers: The skill instructions do not specify any delimiters or safety boundaries for handling the external content before synthesis.
  • Capability inventory: The skill has capabilities for file writing (autoresearch.md, autoresearch.jsonl), shell execution (autoresearch.sh), and repository state management (git checkout).
  • Sanitization: There is no evidence of sanitization or validation of the external content before it is processed by the agent in its autonomous loop.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 14, 2026, 10:42 PM