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.pyandscripts/generate_histogram_html.pyare 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.pyfetches the Plotly.js library fromhttps://cdn.plot.ly/plotly-2.27.0.min.jsto render interactive histograms. - [DATA_EXFILTRATION]: Performs network requests to financial data providers and accesses authentication credentials.
- Evidence:
scripts/fmp_client.pyconnects tofinancialmodelingprep.comto retrieve stock price history and accesses theFMP_API_KEYfrom 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.pyimplements 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