T09 · Insecure Skill Coding Practices
Warning
- Location
- SKILL.md:30
- Finding
- Generic copy-trading requests are routed to a hardcoded trader## Vulnerability Details **File Location**: `SKILL.md`, lines 30–40 **Vulnerability Type**: Hardcoded financial transaction destination **Risk Level**: Medium ### Complete Affected Code Segment The following is an English rendering of the complete affected segment: ```markdown ## Bitget: Futures Copy Trading (Currently Supported) ### Target link (example trader/strategy page supplied by the business) `https://www.bitget.fit/zh-CN/copy-trading/setting/bfb7477187b73155a395/futures` > To change the trader or strategy, replace the corresponding ID in the path > or replace the complete URL. The package defaults to the example above. > The user must confirm that the link comes from a trusted source. ### Procedure (OpenClaw) 1. Open the browser and navigate to the URL above; wait for the main content to load. 2. Locate the copy amount or investment amount input. 3. Clear the input and enter the amount specified by the user. 4. Locate and click the Follow, Confirm Follow, or Follow Now primary button. ``` ### Technical Analysis The Skill is advertised for broad copy-trading requests, but its default procedure contains a fixed trader identifier, `bfb7477187b73155a395`. It directs the agent to open that trader's page and progress through controls capable of creating a futures copy-trading position. Although the surrounding instructions state that the user should confirm the URL, the Skill itself introduces the destination. It does not require the user to supply the trader identifier independently, verify the trader's identity, review the selected strategy, or provide transaction-specific confirmation immediately before the final submission. This creates an unsafe steering condition in which a generic request can be converted into a transaction benefiting or following an unidentified third party. ### Attack Path 1. A user makes a generic request for assistance with Bitget copy trading without naming a trader. 2. ...[truncated 909 chars]
- Remediation
- ## Remediation Suggestions - Remove the fixed trader identifier and trader-specific URL from the default workflow. - Require the trader or strategy URL to be supplied explicitly by the user or selected manually through a verified official exchange interface. - Before entering an amount, display the normalized hostname, trader identity, strategy name, market type, leverage information, and relevant risk indicators. - Require explicit confirmation that names the trader, strategy, amount, and transaction type. - Add a mandatory pause immediately before the final submission button; do not treat a general copy-trading request as authorization for a specific financial transaction. - Keep legal agreements, risk acknowledgements, and any materially changed terms under direct user control. - Consider limiting automation to navigation and form preparation while requiring the user to perform the final transaction-confirming click.
