requirements

Warn

Audited by Gen Agent Trust Hub on Nov 7, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The script reqs.py uses the importlib library to dynamically load and execute code from a sibling directory (../market-researcher/board.py). This allows the execution of logic from a computed file path at runtime, which is a significant vector for loading unverified code.
  • Evidence: The _board() function in reqs.py constructs a path using os.path.join and invokes spec.loader.exec_module(mod) to execute the loaded module.
  • [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted text from users through the --ask and --said arguments. This text is persisted and later rendered into whale/requirements.md without sanitization. If the agent reads this file, malicious instructions embedded in the requirements could potentially influence the agent's behavior.
  • Ingestion points: The add --ask and confirm --said commands in reqs.py accept arbitrary strings from external sources.
  • Boundary markers: While the inputs are wrapped in double quotes in the generated Markdown file, there are no explicit delimiters or instructions for the agent to ignore embedded commands.
  • Capability inventory: The skill possesses the ability to create directories and write files via os.makedirs and standard file open() calls.
  • Sanitization: No escaping, filtering, or validation is performed on the input strings before they are written to the output file.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 7, 2026, 01:46 PM