Back to skill

Security audit

WebDAV Cloud File Desk

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent, user-directed WebDAV file manager with documented deletion, version checks, and private local state.

Use credentials limited to the intended WebDAV collection and review exact deletion targets: version checks do not confirm intent or guarantee recovery. Protect the profile, credential environment variable and .mochilab state. Pin the installer version if reproducible installation matters.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The delete and mkdir actions expose remote modification capabilities not stated in the description. Deletion is particularly material because it removes remote resources rather than listing, comparing, transferring, or checking them. The ETag requirement provides conflict protection but does not make deletion a declared capability. The remaining visible behavior aligns with the stated purpose.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx clawhub'.

Medium
Category
MCP Rug Pull
Confidence
92% confidence
Finding

The installation command uses npx clawhub@latest, allowing a changing npm release to execute with the installing user's privileges rather than selecting a reviewed version. If the package or its publishing account is compromised, installation could expose workspace files and any accessible WebDAV credentials; however, this README provides no evidence of malicious intent or an actual compromise. The finding incorrectly describes the CLI as an MCP server, but the unpinned execution concern remains valid.

Content

No source excerpt is available for this finding.

MCP server referenced without pinned version: 'npx clawhub'.

Medium
Category
MCP Rug Pull
Confidence
96% confidence
Finding

The documented command uses npx clawhub@latest, which can download and execute a changing npm package version without review or integrity verification. A compromised or malicious future release could execute code with the installing user's permissions; the WebDAV workflow may make local files and configured credentials valuable targets, although this README does not establish their availability during installation. The finding incorrectly describes ClawHub as an MCP server, but its underlying unpinned-execution concern is valid.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

The skill implements remote deletion, which is not disclosed in its manifest description.

Medium
Category
Excessive Agency
Confidence
98% confidence
Finding

The manifest describes listing, comparison, transfers, version checks, and hashing, but the handler also exposes remote deletion. This undisclosed destructive capability could remove remote content using the configured profile's permissions; deletion is plausible in a file-management skill, but its omission prevents users from accurately understanding the skill's scope.

Content

No source excerpt is available for this finding.

Remote file deletion lacks a user warning or confirmation.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The delete handler sends a WebDAV DELETE request when an ETag is supplied, without a visible warning or explicit confirmation gate. If-Match protects against deleting a changed resource, not against unintended deletion, so an erroneous or manipulated agent request could remove remote content; an independently enforced upstream approval mechanism could mitigate this, but none is shown.

Content

No source excerpt is available for this finding.

The file-writing helper silently replaces existing destination files without documenting the overwrite behavior.

Medium
Category
Output Handling
Confidence
88% confidence
Finding

The atomic() helper writes data and uses os.replace(tmp, p), which replaces an existing destination and loses its previous contents. No confirmation, operation-specific log, docstring, or comment in the supplied file discloses this overwrite behavior.

Content

No source excerpt is available for this finding.

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

Scanner excerpt · LICENSE (reported line 7)May include surrounding context.

text
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.