edge-candidate-agent
Pass
Audited by Gen Agent Trust Hub on Nov 29, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runto execute external programs. Inscripts/auto_detect_candidates.py, it can invoke a user-specified command to generate hints via an external LLM. Inscripts/validate_candidate.py, it uses theuvtool to run validation logic within thetrade-strategy-pipelineenvironment.\n- [DYNAMIC_EXECUTION]: The validation process inscripts/validate_candidate.pyinvolves constructing a Python script as a string and executing it viauv run python -c. This is used to interface with thetrade-strategy-pipelinelibrary for schema and rule validation.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes external data that could influence the agent's research outputs.\n - Ingestion points: The script
scripts/auto_detect_candidates.pyreads market data from OHLCV parquet files and ideation hints from YAML or CSV files.\n - Boundary markers: No specific delimiters or instructions are used to isolate untrusted data from the script's logic.\n
- Capability inventory: The skill possesses the ability to execute subprocesses as described in the command execution section as seen in
scripts/auto_detect_candidates.pyandscripts/validate_candidate.py.\n - Sanitization: Data passed to external commands is JSON-encoded, and dynamically generated Python code uses safe string representation literals (
!r) for variable interpolation.
Audit Metadata