Back to skill

Security audit

openclaw-cheatsheet

Security checks for vulnerabilities and agentic risk

Overview

This is mostly a CLI reference, but it includes unrelated copy-paste commands that can change external accounts or run unreviewed local code.

Review this skill before installing or using it as an agent reference. Treat its examples as documentation, not safe defaults: replace the hardcoded calendar account, confirm all targets and vault paths, avoid destructive commands without backups, and do not run the Discussion Runner live command unless you have independently verified that local script and its permissions.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
README.md:20
Finding

Hardcoded Personal Calendar Account in a State-Changing Command

Content
View full analysis
Remediation
View remediation
`. 4. Add an explicit warning that the command creates a real calendar event. 5. Recommend a preview or dry-run mode when supported. 6. Require the user to verify the target account, event content, start time, and end time before execution. ]]>

T09 · Insecure Skill Coding Practices

Warning
Location
references/openclaw-cheatsheet.md:150
Finding

Execution of an Unbundled and Unverified External Local Script

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Rogue AgentSelf-Modification, Session Persistence
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The package description claims the file is a reference for OpenClaw CLI commands, but the document contains an unrelated external calendar command, creating a trust-boundary violation between declared scope and actual content. Because this is a reference skill meant to be consulted for command usage, users may reasonably assume every included example is safe and relevant, increasing the chance of accidental execution of non-OpenClaw actions.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill is presented as an OpenClaw CLI cheatsheet, but it includes a copy-pasteable command for a different tool (gog) that performs a real external action. In an agent skill context, unrelated operational commands can mislead users or downstream agents into executing the wrong tool, causing unintended side effects such as creating calendar events or exposing account-specific data.

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 · references/openclaw-cheatsheet.md (reported line 33)May include surrounding context.

md
openclaw message send --channel discord --target <channel_id> --message "내용"

# 스레드 생성
openclaw message thread create --channel discord --target <channel_id> \
  --thread-name "스레드명" --message "첫 메시지" --json

# 스레드 답장

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The cheatsheet includes destructive commands such as config unset and agents delete without any warning, confirmation guidance, backup advice, or safer alternatives. In an agent skill intended for operational use, this can lead users or downstream agents to perform irreversible configuration loss or agent deletion from terse copy-paste examples.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The manifest says this skill is a quick reference for OpenClaw CLI commands, sub-commands, and flags. However, the document also provides operational guidance for obsidian-cli, environment variables, and a standalone Node-based discussion runner, which expands the skill from OpenClaw CLI reference into unrelated tooling and runtime workflow documentation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The Obsidian examples include overwrite and delete operations without warning about data loss or the need to verify vault and path targets. In a quick-reference document, such terse examples increase the chance of accidental destructive actions, especially when used by automation or copied without careful review.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The stated purpose promises a comprehensive reference for every OpenClaw CLI command, sub-command, and flag. The file contains examples for some command groups, but not exhaustive command/flag coverage, and even uses daemon where the manifest describes gateway, creating a mismatch between claimed completeness and actual content.

Content

No source excerpt is available for this finding.