trading-risk-management

Pass

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill contains standard mathematical and logical implementations for trading risk management, such as the Kelly Criterion, ATR-based stops, and historical VaR/CVaR calculations.
  • [SAFE]: No evidence of prompt injection, data exfiltration, or persistence mechanisms was found. The skill follows established best practices by separating risk enforcement from strategy logic.
  • [INDIRECT_PROMPT_INJECTION]: The skill has ingestion points for untrusted data, including market prices (prices_df), account snapshots (account_snapshot), and externally-supplied forecasts (expected_returns).
  • Ingestion points: Functions like atr_stop, constrained_target, and check_pretrade_guards process external inputs.
  • Boundary markers: The skill includes an explicit 'Boundary (binding)' section and 'Anti-Patterns' list that define the scope of the skill and warn against misusing its components.
  • Capability inventory: No dangerous capabilities (file writes, network operations, or subprocess execution) are present in the scripts.
  • Sanitization: External inputs are cast to specific data types (e.g., np.asarray(..., dtype=float)) and processed using statistical libraries, reducing the risk of data being interpreted as instructions.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 28, 2026, 12:51 PM