AkShare Analysis
Analysis
The stock-analysis purpose is coherent, but the HTML report generator embeds unescaped report and AI text that could run unwanted browser code if that content is malicious.
Findings (3)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
ai_analysis = d.get("ai_analysis")
ai_section = f'<div class="ai-box"><h3>AI 综合分析</h3>{ai_analysis}</div>' if ai_analysis else ""Report content from data.json is interpolated directly into HTML without escaping or sanitization, so malicious HTML/JavaScript in report data could execute when the user opens the generated report.
# dependencies = [ # "akshare>=1.0.0", # "pandas>=2.0.0", # "mplfinance>=0.12.0", # ]
The documented `uv run` workflow can resolve and execute external Python packages using lower-bound version ranges rather than a pinned lockfile.
<script src="https://unpkg.com/lightweight-charts@4.2.0/dist/lightweight-charts.standalone.production.js"></script>
Generated reports load a charting library from an external CDN when opened, which is purpose-aligned for chart rendering but means the report is not fully self-contained and executes third-party browser code.
