backtest
Pass
Audited by Gen Agent Trust Hub on Aug 23, 2026
Risk Level: SAFECREDENTIALS_UNSAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill instructs the agent to load
.envfiles from the project root using thefind_dotenv()function. This involves accessing sensitive configuration files that typically contain API keys and trade secrets. - [COMMAND_EXECUTION]: The skill generates and writes a complete Python script (
.py) to the local filesystem. While it uses theWritetool, the generated script is intended for subsequent execution, and its content is partially determined by unvalidated user input. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection due to the way it handles untrusted data.
- Ingestion points: The skill ingests user input through the
$ARGUMENTSvariable (strategy, symbol, exchange, interval). - Boundary markers: There are no boundary markers or instructions to ignore embedded commands within the user arguments.
- Capability inventory: The skill uses the
WriteandBashtools to create and manage the backtesting environment. - Sanitization: There is no explicit requirement for the agent to sanitize or validate the arguments before using them to create directories or name files (e.g.,
backtesting/{strategy_name}/).
Audit Metadata