Back to skill

Security audit

Token Usage

Security checks for vulnerabilities and agentic risk

Overview

The skill is purpose-aligned, but it automatically records cross-agent usage history in persistent OpenClaw memory without a user opt-in.

Install only if you are comfortable with this skill reading token and cost metadata for every registered OpenClaw agent and keeping an append-only usage history in OpenClaw workspace memory. There is no evidence of network access, credential use, executable code, or destructive behavior, but the automatic history file may reveal operational patterns to later tools or users with workspace access.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Rogue AgentSelf-Modification, Session Persistence
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill is designed to append a structured history record containing cross-agent session usage data to a persistent workspace file on every run, even when the user did not request retention. This creates silent data accumulation and can expose operational metadata, model usage, spend patterns, and agent identifiers to later readers or other tools with workspace access.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill explicitly instructs the agent to always persist per-run summaries for all discovered agents with session data, regardless of whether the user asked for logging. Because the scan scope is all registered agents, this can aggregate and retain broader-than-expected metadata across multiple agents, increasing privacy and cross-tenant information exposure risks.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · SKILL.md (reported line 194)May include surrounding context.

md
Use `null` for any numeric field where all entries in the group had the field absent. Use `[]` for `flags` when no flags apply. Agents with no session data are omitted from the record entirely.

## Step 8: Optional log write

**Only if the user explicitly requests logging**, append a timestamped summary to:

Static analysis

No suspicious patterns detected.