Back to skill

Security audit

A股涨停板龙虎榜深度研判+财富密码策略

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to be a real finance-report generator, but unsafe report rendering and stale hardcoded output make it a Review case before installation.

Install only if you trust the publisher and run it in an isolated project or virtual environment. Do not feed untrusted JSON or upstream market snapshots into the renderer until HTML escaping, a restrictive browser configuration, and dependency pinning are added. Treat generated PPTX files as sample/stale unless you verify the date and data manually.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/generate_daily.py:75
Finding

Unescaped report data executes in a local-file-enabled Chromium context

Content
View full analysis
涨停板龙虎榜深度研判报告-{date} body{{font-family:"PingFang SC","Microsoft YaHei",sans-serif;max-width:980px;margin:24px auto;color:#12181F;line-height:1.65}} h1{{color:#002B5C;border-bottom:3px solid #C5A572;padding-bottom:8px}} h2{{color:#002B5C;margin-top:32px;border-left:4px solid #C5A572;padding-left:10px}} pre{{background:#F6F8FA;padding:12px;border-left:3px solid #C5A572;overflow:auto}} table{{border-collapse:collapse;width:100%;margin:12px 0;font-size:13px}} th,td{{border:1px solid #DDE3EA;padding:6px 10px;text-align:left}} th{{background:#0A3D6E;color:#fff;font-weight:600}} tr:nth-child(even){{background:#F6F8FA}} .ok{{color:#1E8449;font-weight:600}} .no{{color:#C1272D;font-weight:600}} .callout{{background:#FDF3F3;border-left:4px solid #C1272D;padding:10px 14px;margin:12px 0}} .muted{{color:#6B7785;font-size:12px}}

涨停板龙虎榜深度研判报告 · {date}

口径版本 {C.CALIBER_VERSION} · 框架:L1→L2→L2.5→L3 四层漏斗 + 财富密码选股策略

0. 本报告口径(v2 永久生效)

{caliber_html}

1. 四层漏斗执行结果

{funnel_html}

2. 评分管道 · 风控信号表

{rows_html}

3. α 账本

阶段 {result['ledger']['stage']} · α_max {result['ledger']['alpha_budget']:.1%} · 已用 {result['ledger']['used_pct']:.2%} · 剩余 {result['ledger']['remaining']:,.0f} 元 · 持仓 {result['ledger']['positions']} 笔

4. 盘前 6 项检查

{PB.render_checklist_md().replace("", '
').replace("
", "").replace("", "#检 ...[truncated 4235 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:236
Finding

Third-party Python packages and Chromium artifacts are installed without version or integrity pinning

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (61)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
96% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The finding says the actual implementation only generates PPTX and omits the promised framework, tracking-pool, and trading-day logic. In context, this is especially risky because the skill markets itself as finance research infrastructure; inaccurate scope and stale/hardcoded outputs can easily be mistaken for validated daily analysis.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 152)May include surrounding context.

md
| HTML | 数据驱动版模板;可选 ECharts(`assets/echarts.min.js`)注入;MS 色 #002B5C / #C5A572 / #60A3D9;涨红跌绿;`@media print` |

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The manifest says this skill generates a daily A-share dragon-tiger report three-piece set, implying all outputs correspond to the requested trading day and input data. However, the PPTX path is generated by invoking templates/make_pptx.py while the docstring and log message explicitly admit it still uses hardcoded 2026-09-11 sample data, so one of the claimed outputs does not reflect the actual analyzed data.

Content

No source excerpt is available for this finding.

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
87% confidence
Finding

Copying the full parent environment into a child process can expose secrets such as API keys, cloud credentials, proxy settings, and tokens to make_pptx.py and any libraries it imports. In this skill context, report-generation helpers are part of a larger automation stack and may run in privileged environments, so broad environment inheritance increases the blast radius if that helper script is compromised or behaves unexpectedly.

Content

Scanner excerpt · scripts/generate_daily.py (reported line 218)May include surrounding context.

python
base = f"涨停板龙虎榜深度研判报告-{date}"
    out_html = html_dir / f"{base}.html"
    pptx_path = html_dir / f"{base}.pptx"
    env = os.environ.copy()
    env["POUT"] = str(html_dir)
    env["PFILE"] = f"{base}.pptx"
    # make_pptx 期望从 templates/ 目录运行

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 53)May include surrounding context.

bash
R=/path/to/a-share-dragon-tiger-strategy
# OpenClaw(大龙虾)
mkdir -p ~/.openclaw/workspace/skills/a-share-dragon-tiger-report
cp $R/skill/* ~/.openclaw/workspace/skills/a-share-dragon-tiger-report/

# MiMo Desktop / MiMoCode

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger phrases are broad and overlap with common financial-analysis requests, which can cause the skill to activate outside the author's intended scope. In an agent environment, overbroad activation can hijack unrelated user workflows, cause unintended report generation, or route sensitive prompts into a specialized skill without clear user intent.

Content

No source excerpt is available for this finding.

Ae4

Medium
Category
analysis-evasion
Confidence
80% confidence
Finding

Suspicious Unicode normalization or mixed-script content

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill advertises shell commands, local file copying, and script execution, but does not declare an explicit tool/permission scope. In agent environments, that can cause the skill to be invoked with broader filesystem and shell authority than users expect, increasing the chance of unintended file writes, local execution, or privilege misuse.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The trigger description is broad and overlaps with generic finance-related requests, which can cause accidental or opportunistic invocation outside its intended scope. Overbroad activation is risky for a skill that can read/write files and run scripts, because it may execute on prompts where users did not intend to authorize those side effects.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The trigger list uses short, underspecified phrases that do not clearly bound scope, prerequisites, or side effects. In an agent setting, ambiguous triggers increase the chance the skill will be selected for loosely related market-analysis requests and perform more privileged actions than the user expects.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dynamic_code_execution

Dynamic code execution detected.

Critical
Code
suspicious.dynamic_code_execution
Location
assets/echarts.min.js:45