T09 · Insecure Skill Coding Practices
- Location
SKILL.md:31- Finding
Authenticated Karakeep API Traffic Uses Plaintext HTTP
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 31–35
Vulnerability Type: Cleartext transmission of authenticated API traffic
Risk Level: MediumVulnerable Code
markdown Defaults: - Karakeep base URL: `http://192.168.0.64:3000` - Secret token file: `/root/.openclaw/secrets/karakeep-openclaw-api-token` - List: `OpenClaw Notes` - Default tags: `openclaw`, `kevin`Technical Analysis
The documented Karakeep endpoint uses unencrypted HTTP while the helper authenticates using a secret API token. Without TLS, HTTP requests and responses lack transport confidentiality and server authentication. A party capable of observing or modifying traffic between the Agent host and
192.168.0.64:3000may intercept note contents and authentication material or tamper with requests and responses.The token itself is not hardcoded in the project and is stored in a separate secret file, which is a positive control. However, secure storage at rest does not protect the token while it is transmitted over plaintext HTTP.
Attack Path
- The Agent invokes
/root/.openclaw/workspace/bin/karakeep-noteas instructed by the Skill. - The helper connects to
http://192.168.0.64:3000and submits an authenticated note-creation request. - An attacker with visibility or control over the local network path captures or alters the plaintext HTTP exchange.
- If the API token is transmitted in the request, the attacker extracts and reuses it.
- The attacker exercises the token's documented bookmark, list, and tag read-write permissions against Karakeep.
Impact Assessment
A successful attacker may read or modify resources available to the
openclaw-notestoken, including bookmarks, lists, and tags. Submitted note content may be disclosed or modified in transit. The impact is limited by the token's Karakeep scope, but the documented scope includes read-write access. Network-path access is required for ex ...[truncated 11 chars]- The Agent invokes
- Remediation
View remediation
Remediation Suggestions
- Serve Karakeep over HTTPS and replace the plaintext URL with an
https://endpoint. - Require normal certificate and hostname validation; do not disable TLS verification.
- If Karakeep cannot provide TLS directly, place it behind a properly configured TLS reverse proxy.
- Restrict network access to the Karakeep service through firewall rules or a trusted private overlay network.
- Reduce the API token to the minimum permissions necessary, preferably create-only access if supported.
- Rotate the existing token after encrypted transport is deployed because prior plaintext use may have exposed it.
- Preserve the existing secret-file protection and verify that the file remains owned by the intended account with mode
0600. - Ensure the helper never logs authentication headers, tokens, or sensitive note bodies.
- Serve Karakeep over HTTPS and replace the plaintext URL with an
