agenthub

Warn

Audited by Gen Agent Trust Hub on Nov 7, 2026

Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/result_ranker.py uses subprocess.run() with shell=True to execute evaluation commands (such as pytest) configured for the session. This represents a risk of arbitrary command execution if the session configuration is influenced by malicious input or poisoned task descriptions.
  • [COMMAND_EXECUTION]: The validation script scripts/dry_run.py executes other scripts in the package by spawning subprocesses using the Python interpreter to verify their functionality.
  • [COMMAND_EXECUTION]: The scripts scripts/dag_analyzer.py, scripts/session_manager.py, and scripts/hub_init.py invoke the git command-line tool via subprocesses to manage worktrees, branches, and repository metadata, which involves executing shell commands with arguments derived from the skill's state.
  • [INDIRECT_PROMPT_INJECTION]: The skill's architecture involves a coordinator agent reading and processing content generated by sub-agents via a shared directory (.agenthub/board/). This workflow is susceptible to indirect prompt injection where a sub-agent could influence the coordinator's behavior through the data it writes to the board.
  • Ingestion points: Coordinator reads agent-written markdown files from .agenthub/board/progress/ and .agenthub/board/results/ using board_manager.py.
  • Boundary markers: While posts use a YAML frontmatter, there are no explicit boundary markers or instructions to the coordinator to ignore potential commands embedded in the sub-agent's result summaries.
  • Capability inventory: The skill possesses capabilities for shell command execution (via result_ranker.py), file system modification, and Git repository manipulation.
  • Sanitization: The scripts do not perform sanitization of agent-generated content before it is processed by the coordinator.
  • [DYNAMIC_EXECUTION]: The evaluation logic in scripts/result_ranker.py dynamically executes commands derived from session state, which represents a runtime code execution vector based on potentially untrusted input.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 7, 2026, 09:21 PM