Back to skill

Security audit

docker-compose-yaml-all-in-current-directory

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because its bind mount rewrite guidance may leave existing data unmigrated, and the scan was partial.

Review the mount changes carefully before using the skill on an existing deployment. Check whether the current bind mount directories contain data, back it up, and confirm the new paths work before resuming services. The scan is incomplete because some local path references could not be resolved, so the findings do not establish that all referenced material was inspected.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

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

env:

text
./env/[<namespace>/]<name>.env

环境变量外置到 ./env/ 下的 .env 文件,compose 用 env_file 引用。例:./env/new-api.env、./env/common.env。

The bind-mount rewrite instructions omit a warning about migrating existing persistent data.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The skill requires rewriting persistent bind-mount sources without requiring migration or checking whether the original directories contain data. Applied to an existing deployment, this can make services start against empty directories, causing downtime, apparent data loss, or unintended initialization; it does not itself delete the original data. The risk is particularly relevant because converting existing Compose configurations is the skill's stated purpose.

Content

No source excerpt is available for this finding.