moomoo-trading
Fail
Audited by Gen Agent Trust Hub on Nov 6, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructions provide commands to download and execute installation scripts directly from the vendor's GitHub repository to set up the necessary CLI environment.
- Evidence:
curl -fsSL https://raw.githubusercontent.com/MoomooOpen/moomoo-cli/main/scripts/install.sh | shinSKILL.mdfor Linux/macOS. - Evidence:
iwr -UseBasicParsing https://raw.githubusercontent.com/MoomooOpen/moomoo-cli/main/scripts/install.ps1 -OutFile install.ps1followed by script execution inSKILL.mdfor Windows. - [PRIVILEGE_ESCALATION]: The Windows installation workflow involves bypassing the PowerShell execution policy to run the vendor-provided installer script.
- Evidence:
powershell -ExecutionPolicy Bypass -File .\install.ps1inSKILL.md. - [INDIRECT_PROMPT_INJECTION]: The skill processes user input (symbols, quantities, prices) to build CLI commands executed via Bash, creating a potential surface for command injection if parameters are not strictly validated.
- Ingestion points: User-provided values for trading orders defined in
SKILL.mdandreferences/cli-parameters.md. - Boundary markers: No explicit delimiter markers are used for command interpolation, though hidden internal markers like
--source skillare appended. - Capability inventory: The skill relies on the
Bashtool to executemoomooCLI commands with full system interaction. - Sanitization: The instructions mandate normalization of symbols to the
MARKET.CODEformat and uppercasing of tickers, which serves as a basic validation layer. - [COMMAND_EXECUTION]: The core functionality of the skill is built around executing a local binary (
moomoo) with various flags to perform sensitive financial operations.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/MoomooOpen/moomoo-cli/main/scripts/install.sh - DO NOT USE without thorough review
Audit Metadata