a-stock-market

Pass

Audited by Gen Agent Trust Hub on Nov 30, 2026

Risk Level: SAFEPRIVILEGE_ESCALATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [PRIVILEGE_ESCALATION]: The README.md file encourages the user to execute a command with sudo to create a symbolic link in /usr/local/bin/ (sudo ln -sf ~/.openclaw/workspace/skills/a-stock-market/a-stock.py /usr/local/bin/a-stock). This grants the script a system-wide execution path.
  • [COMMAND_EXECUTION]: The skill relies on executing a local Python script (a-stock.py) to perform its primary function. It processes command-line arguments to fetch specific stock symbols.
  • [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface where it ingests untrusted data from an external API and user-supplied arguments.
  • Ingestion points: Data is fetched from https://qt.gtimg.cn/q={symbol} and symbols are taken directly from user input (sys.argv).
  • Boundary markers: None present in the code or instructions to delimit external data.
  • Capability inventory: Uses urllib.request for network access and print for output; no file-write or shell execution capabilities within the script.
  • Sanitization: The stock symbol is interpolated directly into the URL string without validation, though the request is limited to the specific Tencent API domain.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 30, 2026, 03:46 PM