T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:25- Finding
Excessive Access to Sensitive Agent Telemetry
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:25-30, 45-55
Vulnerability Type: Excessive access to sensitive agent data
Risk Level: MediumEvidence
markdown - **Sessions** — per-session token/cost breakdown, transcript viewer - **Brain** — live feed of every LLM call with model, tokens, and latency - **Flow** — animated architecture diagram showing real-time tool calls - **Memory** — workspace memory file viewer (MEMORY.md, SOUL.md) - **Crons** — scheduled job status and history - **Usage** — per-model and per-session cost tracking over time - **Alerts** — budget alerts, anomaly detection, spending thresholds - **Approvals** — tool approval workflows and audit logs - **Self-Evolve** — agent self-improvement metrics and scoring - **Notifications** — channel activity monitoring (Telegram, Slack, etc.)markdown ## Data collected ClawMetry observes diagnostic events from the OpenClaw runtime: - **Model usage** — provider, model, input/output/cache tokens, cost, latency per LLM call - **Session lifecycle** — start, end, state changes, stuck detection - **Tool calls** — tool name, parameters, results, duration, errors - **Gateway logs** — structured log forwarding for debugging - **Message flow** — inbound/outbound message tracking across channels - **System health** — heartbeats, uptime, active session countsTechnical Analysis
The declared observability scope extends beyond aggregate cost and health metrics. It includes conversation transcripts, agent memory files, complete tool parameters and results, gateway logs, LLM activity, and cross-channel message activity. These data sources can contain credentials, authentication tokens, personal information, private prompts, file contents, and operational secrets.
Access to
MEMORY.md,SOUL.md, transcripts, and tool payloads crosses sensitive-resource boundaries and may violate least-privilege principles when users ...[truncated 2240 chars]- Remediation
View remediation
Remediation Suggestions
- Default to collecting only aggregate health, token, latency, and cost metrics.
- Make transcript, memory, tool-payload, log, and message-flow collection independently opt-in.
- Clearly disclose the exact data fields collected before enabling each sensitive source.
- Apply secret detection and redaction before data is written to disk, displayed by the dashboard, or synchronized externally.
- Avoid collecting complete tool parameters and results by default; use allowlisted metadata fields instead.
- Require strong authentication and authorization for every dashboard and API endpoint, including localhost endpoints.
- Bind the service to loopback by default and reject cross-origin or non-local access unless explicitly configured.
- Encrypt sensitive telemetry at rest and protect encryption keys using operating-system credential storage.
- Implement configurable retention limits, secure deletion, data export, and per-source purge controls.
- Require explicit, informed confirmation before cloud synchronization and visibly indicate when synchronization is active.
- Document cloud endpoints, key-management behavior, authentication controls, and failure handling.
- Provide the executable implementation for review so that encryption, storage, endpoint authorization, and network behavior can be independently verified.
