T09 · Insecure Skill Coding Practices
- Location
SKILL.md:23- Finding
Hard-Coded External Telegram Message Routing
- Content
View full analysis
" ``` To send AND have Eureka's response delivered back via your Telegram bot: ```bash clawdbot agent --agent main --message "" --deliver --reply-channel telegram --reply-account mason --reply-to 1878354815 ``` ``` ### Technical Analysis The skill instructs the agent to transmit task information to another agent and optionally deliver the resulting response through a hard-coded Telegram account and numeric recipient identifier. The instructions do not require the agent to verify that `mason` and recipient `1878354815` belong to the current user, obtain consent before external transmission, or redact credentials and other sensitive data. The message is also supplied through the `--message` command-line argument. Depending on the operating system and execution environment, command-line arguments may be exposed through process inspection, diagnostic logs, shell history, or orchestration telemetry. The Telegram identifiers are not credentials by themselves, and the reviewed file contains no authentication tokens. Nevertheless, embedding a fixed external routing destination in a reusable skill creates a confidentiality risk when the package is installed or invoked outside its original trusted environment. ### Attack Path 1. A user invokes the skill using one of its delegation triggers. 2. The acting agent constructs a message containing task context, potentially including source code, private operational details, scheduling data, home-automation information, or completion results. 3. The agent executes `clawdbot agent --agent main --message ""`. 4. If the delivery form is used, the response is rou ...[truncated 1171 chars]- Remediation
View remediation
