autostrategy
Pass
Audited by Gen Agent Trust Hub on Jun 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes shell commands to manage its environment and execute testing workflows.
- The
scripts/env_setup.pyscript usessubprocess.runto install Python dependencies via pip and executeslsofto detect running services. - The codegen agent instructions in
prompts/codegen_agent.mddirect the agent to run the backtest script usingsubprocess. - The optimization agent in
prompts/optimization_agent.mdexecutesgitcommands for version control and state management. - [REMOTE_CODE_EXECUTION]: The skill features a dynamic code execution surface where it loads and runs logic generated at runtime.
- The
scripts/run_backtest.pyscript usesimportlibto dynamically load the AI-generatedstrategy.pyfile. Because the content of this file is derived from AI interpretations of user input and search results, it presents a potential path for executing untrusted code logic. - [PROMPT_INJECTION]: The skill's architecture relies on processing untrusted external data to formulate strategies.
- The
design_agentinprompts/design_agent.mdingests user prompts and internet search results to define strategy specifications. This represents an indirect prompt injection surface where malicious instructions in web content or user input could influence the generated code. - [EXTERNAL_DOWNLOADS]: The skill references and links to various external repositories and services.
- Documentation in
README.mdandSKILL.mdpoints to external GitHub repositories (e.g.,rivar0107/all-in-one) and third-party services (e.g., Futu OpenAPI) for data sourcing.
Audit Metadata