Back to skill

Security audit

InvestToday Finance Data

Security checks for vulnerabilities and agentic risk

Overview

The financial-data queries fit the stated purpose, but the one-shot setup enables ongoing software and skill updates without explaining their scope.

Review background updating before setup. Prefer initialization with --no-auto-update unless you want continuing updates; if already initialized, inspect update status and use update disable to turn them off. Queries disclose their parameters to InvestToday, so avoid confidential research text. Verify quarterly versus TTM labels before relying on results. The external CLI implementation was not included in this review.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/基金/基金行情/行情衍生数据.md (reported line 102)May include surrounding context.

md
| `dmaDma` | DMA指标 | `3.75` |
| `dmaAma` | 平行线差指标 | `-0.015` |
| `mtmMtm` | MTM动量线 | `0` |
| `trixTrix` | 三重指数平滑平均线​  | `0` |
| `trixTrma` | 三重指数平滑平均线的移动平均线 | `0.015` |
| `pageNum` | page number | `1` |
| `pageSize` | page size | `100` |

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/指数/行情衍生数据.md (reported line 215)May include surrounding context.

md
| `dmaDma` | DMA指标 | `3.75` |
| `dmaAma` | 平行线差指标 | `-0.015` |
| `mtmMtm` | MTM动量线 | `0` |
| `trixTrix` | 三重指数平滑平均线​  | `0` |
| `trixTrma` | 三重指数平滑平均线的移动平均线 | `0.015` |
| `pageNum` | page number | `1` |
| `pageSize` | page size | `100` |

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/沪深京数据/股票行情/行情衍生数据.md (reported line 48)May include surrounding context.

md
| `dmaDma` | DMA指标 | `3.75` |
| `dmaAma` | 平行线差指标 | `-0.015` |
| `mtmMtm` | MTM动量线 | `0` |
| `trixTrix` | 三重指数平滑平均线​  | `0` |
| `trixTrma` | 三重指数平滑平均线的移动平均线 | `0.015` |
| `pageNum` | page number | `1` |
| `pageSize` | page size | `100` |

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · references/沪深京数据/股票行情/行情衍生数据.md (reported line 339)May include surrounding context.

md
| `dmaDma` | DMA指标 | `3.75` |
| `dmaAma` | 平行线差指标 | `-0.015` |
| `mtmMtm` | MTM动量线 | `0` |
| `trixTrix` | 三重指数平滑平均线​  | `0` |
| `trixTrma` | 三重指数平滑平均线的移动平均线 | `0.015` |
| `pageNum` | page number | `1` |
| `pageSize` | page size | `100` |

The query workflow lacks a privacy disclosure about sending user-derived query parameters to InvestToday.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

L115 instructs the agent to execute API requests once the endpoint and parameters are known. Although network access and financial-data retrieval are documented, the skill does not warn that user-derived search terms, security selections, and date ranges are transmitted to the external data provider and may reveal research interests.

Content

No source excerpt is available for this finding.

The query workflow lacks a privacy disclosure about sending user-derived query parameters to InvestToday.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

L63 instructs the agent to call the API directly when the endpoint and parameters are clear. The description explains data retrieval but does not warn that user-derived query parameters are sent to an external provider, potentially disclosing security selections and research interests.

Content

No source excerpt is available for this finding.

The profitability description promises single-quarter metrics, but the example invokes the TTM endpoint.

Medium
Category
Excessive Agency
Confidence
93% confidence
Finding

The profitability description explicitly promises single-quarter metrics, while the section heading, endpoint, and example identify TTM metrics. An agent relying on that description could retrieve trailing-twelve-month data and present it as single-quarter results, compromising financial-analysis integrity and potentially misleading comparisons; this is a documentation-driven integrity defect, not evidence of malicious execution.

Content

No source excerpt is available for this finding.