Back to skill

Security audit

A Stock Market

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small stock-quote command-line helper whose network access and optional install step fit its stated purpose, with minor disclosure issues to review.

Before installing, prefer running the script directly unless you specifically want a global a-stock command. If you create the symlink, review that /usr/local/bin/a-stock is the intended target. Treat entered ticker symbols as being sent to Tencent Finance over the network, and note the provider mismatch in the docs.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (4)

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

安装

bash
# 创建符号链接(需要 sudo 密码)
sudo ln -sf ~/.openclaw/workspace/skills/a-stock-market/a-stock.py /usr/local/bin/a-stock

# 或者直接在技能目录运行

Sudo/Root Execution

Medium
Category
Privilege Escalation
Confidence
70% confidence
Finding

Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.

Content

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

安装

bash
# 创建符号链接(需要 sudo 密码)
sudo ln -sf ~/.openclaw/workspace/skills/a-stock-market/a-stock.py /usr/local/bin/a-stock

# 或者直接在技能目录运行

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
77% confidence
Finding

All user-facing instructions and examples are presented in Chinese, which can constitute a language-policy issue when no opt-in, alternative language, or justification is provided. The file does not indicate that the skill is intentionally limited to Chinese-speaking users or a China-specific deployment context.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill explicitly states it uses Sina Finance's free API but does not warn users that their stock queries are transmitted to an external third party. This is a real transparency/privacy issue because users may assume queries are handled locally, and ticker interests or research activity could be exposed to the API provider or network observers.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.