Back to skill

Security audit

Workspace Files

Security checks for vulnerabilities and agentic risk

Overview

This skill is a small, disclosed workspace file helper that can read, list, search, and write files only inside a fixed OpenClaw workspace sandbox.

Install this only if you want an agent to manage text files in the OpenClaw workspace. Review commands before use when writing files, because the helper can create directories and overwrite existing workspace files without an additional confirmation prompt.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`{baseDir}/scripts/workspace-files.sh search-files "SKILL.md"`

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
`{baseDir}/scripts/workspace-files.sh search-files "SKILL.md"`

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The write-file command creates parent directories and writes directly to the target path, potentially overwriting existing files. Although it prints a success message afterward, there is no prior confirmation, cautionary comment, or user-facing warning about this data-modifying action.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.