stock-analysis-enhanced

Warn

Audited by Snyk on Jun 1, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (high risk: 0.72). Phase 2/3 运行时会把“当日公告/个股新闻/研报”等 OUTSIDER 文本通过 akshare 抓取后写入 HTML/JS(如 stock_full_report.pyak.stock_news_emak.stock_notice_reportak.stock_research_report_emdata.blocks → Phase 3 注入 LLM 上下文用于生成页面内容),属于公共/第三方来源的自由文本进入上下文的间接提示注入风险。

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

  • Potentially malicious external URL detected (high risk: 0.90). The skill includes an .mcp.json runtime configuration that runs npx to fetch and execute remote MCP server packages (e.g., "npx -y @zhipu-ai/mcp-server" and "npx -y @tavily/mcp-server"), which downloads and runs remote npm code at runtime and is required for Phase 2 searches, so it is a runtime external dependency that executes remote code.

MEDIUM W021: Hidden or invisible Unicode characters detected (potential obfuscation or prompt injection).

  • Hidden Unicode characters detected (1 type(s) found)

Issues (3)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

W021
MEDIUM

Hidden or invisible Unicode characters detected (potential obfuscation or prompt injection).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Jun 1, 2026, 03:19 AM
Issues
3
Security Audit — snyk — stock-analysis-enhanced