Back to skill

Security audit

量化交易信号

Security checks for vulnerabilities and agentic risk

Overview

The skill appears to do the advertised trading-signal analysis, but its install instructions use an overbroad system Python package install method.

Install only in an isolated virtual environment, avoid --break-system-packages, and understand that ticker symbols you analyze will be sent to the market-data provider used by yfinance. The code does not show hidden credential access or destructive behavior.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:13
Finding

Unpinned Dependencies Installed into the System-Managed Python Environment

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest description and the entire user-facing documentation are written exclusively in Chinese, and the sample output is also fixed to Chinese. There is no indication that users can choose another language or that the Chinese-only behavior is a justified locale-specific constraint, which matches the language/locale policy violation criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Natural-language strings throughout the file, including the module description and all console output, are fixed in Chinese. The file does not provide user opt-in, a configurable locale, or a documented justification that this is intended only for a Chinese-speaking or region-specific environment.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

This Python code fetches market data from yfinance by creating a remote ticker object and requesting history data. Although errors are printed, there is no explicit disclosure that running the script will contact an external service and transmit the requested symbol, which qualifies as a network operation lacking a user warning in this file.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.