downtrend-duration-analyzer

Pass

Audited by Gen Agent Trust Hub on Nov 29, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill executes local Python scripts to calculate market statistics and generate multiple report formats.
  • Evidence: scripts/analyze_downtrends.py and scripts/generate_histogram_html.py are used to identify price peaks/troughs and generate JSON, Markdown, and HTML reports.
  • [EXTERNAL_DOWNLOADS]: Loads external JavaScript resources to provide interactive features in reports.
  • Evidence: scripts/generate_histogram_html.py fetches the Plotly.js library from https://cdn.plot.ly/plotly-2.27.0.min.js to render interactive histograms.
  • [DATA_EXFILTRATION]: Performs network requests to financial data providers and accesses authentication credentials.
  • Evidence: scripts/fmp_client.py connects to financialmodelingprep.com to retrieve stock price history and accesses the FMP_API_KEY from environment variables for authentication.
  • [INDIRECT_PROMPT_INJECTION]: Processes data from external financial APIs, which serves as a potential attack surface for untrusted content.
  • Evidence: scripts/generate_histogram_html.py implements sanitization logic, including HTML escaping and character replacement in JSON serialization, to prevent external API data from executing scripts in the generated reports.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 29, 2026, 08:28 AM