T09 · Insecure Skill Coding Practices
- Location
SKILL.md:21- Finding
Unauthenticated Dashboard Server Exposed on All Network Interfaces
- Content
View full analysis
cd agent-anchor python3 -m http.server 3456 ``` ### Technical Analysis The documented command starts Python's built-in HTTP server without an explicit bind address. By default, `python3 -m http.server 3456` listens on all available network interfaces rather than only the loopback interface. The server also provides neither authentication nor transport encryption. It recursively serves files beneath the current `agent-anchor` directory and may expose directory listings. This is particularly relevant because the documentation states that the dashboard handles agent state, task information, contacts, activity history, and cron-job details. If those resources are stored beneath the served directory, any party capable of reaching TCP port 3456 may be able to retrieve them. The audited package contains only `SKILL.md`, so the presence and sensitivity of files in the unspecified external repository cannot be independently verified. The confirmed defect is therefore the unsafe server configuration in the installation instructions, while the exact exposed data depends on the contents of the repository fetched by the user. ### Attack Path 1. A user follows the documented installation procedure and clones the external dashboard repository. 2. The user runs `python3 -m http.server 3456` from the repository directory. 3. Python binds the server to all available network interfaces. 4. An attacker on the same network, or any network from which port 3456 is reachable, identifies the host and connects to `http://:3456/`. 5. The attacker browses directory listings or directly requests predictable files such as state and configuration files. 6. Any sensitive files stored beneath the served dir ...[truncated 755 chars]- Remediation
View remediation
