galleon-defi-strategy-backtest
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local Node.js scripts (scripts/backtest.mjs and scripts/validate-strategy.mjs) to perform mathematical simulations of trading rules. This is a non-privileged capability used for the skill's primary purpose of research and accounting.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted JSON datasets provided by the user.
- Ingestion points: scripts/backtest.mjs reads market data and strategy specifications from the local file system.
- Boundary markers: Absent in the raw data files, but the engine performs strict structural validation before processing.
- Capability inventory: Execution of bundled JavaScript, local file read access (limited to 4MB), and console output. No network or file write capabilities are present in the simulation engine.
- Sanitization: The scripts/engine.mjs file implements rigorous schema validation, checking for data types, value ranges, and timestamp consistency before processing the input.
Audit Metadata