Back to skill

Security audit

Securely store OpenClaw configuration and key information. Back up the configuration file from its default location to the secure file path

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small key-backup helper, but it copies sensitive configuration data into plaintext files with broad path control and weak safeguards.

Install only if you intentionally want an agent-accessible helper that can copy OpenClaw key files. Prefer a scoped destination under your own profile, avoid `/root/keys.txt`, restrict file permissions manually, and do not pass arbitrary sensitive files as the source unless you intend to duplicate them in plaintext.

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
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Ssd 3

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill explicitly instructs copying a configuration file containing API keys and endpoints into a plaintext backup file at /root/keys.txt. This materially increases secret exposure risk by duplicating credentials into an additional unencrypted location, potentially with broad administrative sensitivity and poor lifecycle controls.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill performs file-writing behavior but does not declare any tool scope or permissions boundary. This creates a mismatch between the skill's documented capabilities and its actual behavior, increasing the chance of unauthorized file operations or unsafe execution in agents that rely on manifest scoping for policy enforcement.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The user-facing description, usage examples, and operational notes are entirely in Chinese, which effectively imposes a specific language on users. The file does not offer an opt-in language choice or explain that the skill is intended only for a Chinese-speaking or region-specific context.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The function silently copies sensitive key material to another file, increasing the number of secret-bearing artifacts without prompting, warning, or applying explicit permission hardening. In practice this expands the attack surface: secrets may be left in an insecure location, inherited by backups, or exposed to other users/processes if file permissions are too broad.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill claims to back up OpenClaw keys from a default location, but the CLI entrypoint permits an arbitrary source file and arbitrary destination path. In an agent context, this enables misuse as a generic file exfiltration or secret relocation primitive, allowing sensitive files to be copied to attacker-chosen locations far beyond the documented purpose.

Content

No source excerpt is available for this finding.