market-data-engineering

Warn

Audited by Gen Agent Trust Hub on Sep 28, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The fetch_ohlcv function in SKILL.md utilizes unsafe string interpolation to construct a SQL table name (f"SELECT * FROM {view} ..."). If the timeframe variable used to build the view name is sourced from untrusted input, it could permit SQL injection.
  • [INDIRECT_PROMPT_INJECTION]: The skill establishes ingestion paths for external market data (envelopes, ticks, and stream feeds), creating a surface for indirect prompt injection where malicious instructions could be embedded in data provided by external sources.
  • Ingestion points: ingest_one and resample_ticks_to_ohlcv in SKILL.md handle external data objects.
  • Boundary markers: No explicit boundary markers or instructions to ignore embedded commands are present in the provided examples.
  • Capability inventory: The skill performs database operations using asyncpg and durable log writes to the local file system.
  • Sanitization: The code implements numeric integrity checks for market data but lacks sanitization for non-numeric fields that could contain injected instructions.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 28, 2026, 12:51 PM