T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:27- Finding
Unnecessary Collection of a Wallet Private Key
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed Polymarket trading template, but it can place recurring real-money trades with weak limits and asks for more sensitive wallet access than its code uses.
Review this carefully before installing. Use dry-run only unless you fully understand the trading behavior, do not provide a raw wallet private key, avoid setting RUN_LIVE for scheduled runs, and set strict external account limits if you test live trading.
SKILL.md:27Unnecessary Collection of a Wallet Private Key
politics_random_1u.py:43AION API Credential Can Be Bound to an Unrestricted Base URL
politics_random_1u.py:143Unchecked Environment Variable Overrides the Advertised USD 1 Trade Limit
clawhub.json:43Persistent Environment Flag Enables Recurring Autonomous Live Trades
clawhub.json:4Executable AION SDK Dependency Is Not Version-Pinned
The skill requests and uses sensitive environment-provided secrets such as an API key and optional wallet private key, but the manifest does not declare any explicit tool scope or permissions boundary. That omission weakens reviewability and least-privilege enforcement, making it easier for a skill with trading capability to access secrets without clear operator awareness.
The skill enables real-money trading and mentions live execution, but it does not give a prominent, explicit warning that live mode can cause irreversible financial loss or unintended trades. In a trading context, especially one using random market selection and optional private-key-backed execution, weak user warnings materially increase the risk of accidental harmful use.
The skill is configured to run automatically every 30 minutes, but the schedule definition in this file provides no scoping, gating, or safety constraints on when automated execution should be suppressed. In the context of a trading skill that can place live Polymarket trades using an API key and optionally a wallet private key, broad recurring invocation increases the risk of unintended or repeated financial actions if downstream safeguards are weak or environment flags are misconfigured.
The code will place a real trade whenever --live is passed or RUN_LIVE is set, but at execution time it does not present an explicit interactive confirmation or prominent user-facing warning before calling client.trade(). Because this skill is specifically designed to submit financial transactions on a real venue, accidental invocation, environment misconfiguration, or automation misuse can lead to unintended real-money trades.