Back to skill

Security audit

A股金融数据整合技能

Security checks for vulnerabilities and agentic risk

Overview

The skill is mainly a financial-data guide, but it tells the agent to persistently edit its own instruction file after trial-and-error, which needs review before installation.

Install only if you are comfortable reviewing or removing the self-update instruction first. Keep the installed skill directory read-only during normal use, and treat the cache example as template code that needs stock-code/date/frequency validation before reuse.

Vulnerability Patterns
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • 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
  • 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
Findings (2)

T02 · Agent Memory Poisoning

Warning
Location
SKILL.md:1120
Finding

Mandatory Persistent Self-Modification Can Poison Future Skill Behavior

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:766
Finding

Unsanitized Cache-Key Components Permit Path Traversal and Arbitrary CSV Writes

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill description and the entire operational guidance are written as a Chinese-only skill for A股 financial data, with no indication that users may choose another language or locale. Under the language/locale policy, forcing a specific language without user opt-in is a natural-language policy violation unless the constraint is clearly documented and justified.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill includes a self-updating documentation mechanism that causes the agent to change its own operating guide, even though the skill is presented as a self-contained data-reading skill. This expands scope from read/query behavior into persistent modification behavior, which can be abused for prompt injection persistence, instruction drift, or embedding inaccurate or adversarial content into future runs.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill instructs the agent to append new content to its own guide based on future interactions and trial-and-error. That creates a self-modifying prompt/documentation channel unrelated to simple financial-data retrieval, allowing untrusted runtime inputs to persist into the skill and potentially poison future behavior or instructions.

Content

No source excerpt is available for this finding.