Back to skill

Security audit

WorkspaceEasyPack

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because it found a confirmed risk involving unsafe output-path handling, and some code analysis was incomplete.

Treat this as a review-level warning, not a claim that the author acted maliciously. Before installing, consider whether you need this skill and whether you can use it in a controlled workspace you own; the scan leaves some analysis incomplete and reports a confirmed risk when writing to shared or actively changing directories.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (19)

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python scripts/workspace_easy_pack.py export --input ./my-workspace --output ./workspace-easy-pack.zip --source-platform "unknown" --source-agent "unknown"

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python scripts/workspace_easy_pack.py inspect --package ./workspace-easy-pack.zip --report ./inspection.md

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python scripts/workspace_easy_pack.py restore --package ./workspace-easy-pack.zip --target ./restored-workspace --target-platform "generic" --target-agent "new-

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python scripts/workspace_easy_pack.py verify --package ./workspace-easy-pack.zip --report ./verification.json

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
python scripts/workspace_easy_pack.py verify --package ./workspace-easy-pack.zip --restored ./restored-workspace --report ./verification.md

Incomplete referenced artifact analysis

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- CLI: [scripts/workspace_easy_pack.py](scripts/workspace_easy_pack.py) — implements `export`, `inspect`, `restore`, and `verify`; invoke with the command argum

MCP Config Access

High
Category
Agent Snooping
Confidence
90% confidence
Finding

Skill accesses MCP server configuration files (mcp.json). MCP configs contain server URLs, authentication tokens, and tool definitions — reading them allows the skill to discover and potentially abuse other tool integrations.

Content

Scanner excerpt · scripts/test_workspace_easy_pack.py (reported line 51)May include surrounding context.

python
"skills/demo/SKILL.md": "---\nname: demo\ndescription: Synthetic fixture\n---\n\n# Demo\n",
            "skills/demo/scripts/never_execute.py": f"from pathlib import Path\nPath({str(self.temp / 'IMPORTED_SCRIPT_EXECUTED')!r}).write_text('bad')\n",
            "tools/requirements.txt": "requests==2.32.3\n",
            "tools/mcp.json": '{"command":"example-server","env":{"API_KEY":"${API_KEY}"}}\n',
            "tools/.env.example": "API_KEY=${API_KEY}\nPASSWORD=\n",
            "platform/chatgpt/settings.json": '{"model":"synthetic","platform_only":true}\n',
            "misc/README.txt": "Unclassified but valuable original material.\n",

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · scripts/test_workspace_easy_pack.py (reported line 62)May include surrounding context.

python
path = self.fixture / relative
            path.parent.mkdir(parents=True, exist_ok=True)
            path.write_text(content, encoding="utf-8")
        secret = self.fixture / "private" / "secrets.env"
        secret.parent.mkdir(parents=True, exist_ok=True)
        secret.write_text(f"API_KEY={self.secret_value}\n", encoding="utf-8")
        private_key = self.fixture / "private" / "id_rsa.pem"

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 · scripts/workspace_easy_pack.py (reported line 46)May include surrounding context.

python
}
TEXT_SUFFIXES = {
    ".md", ".txt", ".json", ".jsonl", ".yaml", ".yml", ".toml",
    ".csv", ".xml", ".html", ".py", ".js", ".ts", ".sh", ".env",
}
PRIVATE_KEY_SUFFIXES = {".pem", ".key", ".p12", ".pfx", ".jks", ".keystore"}
SENSITIVE_FILENAMES = {

Credential Access

High
Category
Privilege Escalation
Confidence
80% confidence
Finding

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

Content

Scanner excerpt · scripts/workspace_easy_pack.py (reported line 50)May include surrounding context.

python
}
PRIVATE_KEY_SUFFIXES = {".pem", ".key", ".p12", ".pfx", ".jks", ".keystore"}
SENSITIVE_FILENAMES = {
    ".netrc", ".pgpass", "id_rsa", "id_dsa", "id_ecdsa", "id_ed25519",
    "credentials.json", "secrets.json", "secrets.yaml", "secrets.yml",
}
SECRET_KEYS = (

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · scripts/workspace_easy_pack.py (reported line 51)May include surrounding context.

python
PRIVATE_KEY_SUFFIXES = {".pem", ".key", ".p12", ".pfx", ".jks", ".keystore"}
SENSITIVE_FILENAMES = {
    ".netrc", ".pgpass", "id_rsa", "id_dsa", "id_ecdsa", "id_ed25519",
    "credentials.json", "secrets.json", "secrets.yaml", "secrets.yml",
}
SECRET_KEYS = (
    r"api[_-]?key|access[_-]?token|auth[_-]?token|refresh[_-]?token|"

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · scripts/workspace_easy_pack.py (reported line 51)May include surrounding context.

python
PRIVATE_KEY_SUFFIXES = {".pem", ".key", ".p12", ".pfx", ".jks", ".keystore"}
SENSITIVE_FILENAMES = {
    ".netrc", ".pgpass", "id_rsa", "id_dsa", "id_ecdsa", "id_ed25519",
    "credentials.json", "secrets.json", "secrets.yaml", "secrets.yml",
}
SECRET_KEYS = (
    r"api[_-]?key|access[_-]?token|auth[_-]?token|refresh[_-]?token|"

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · scripts/workspace_easy_pack.py (reported line 51)May include surrounding context.

python
PRIVATE_KEY_SUFFIXES = {".pem", ".key", ".p12", ".pfx", ".jks", ".keystore"}
SENSITIVE_FILENAMES = {
    ".netrc", ".pgpass", "id_rsa", "id_dsa", "id_ecdsa", "id_ed25519",
    "credentials.json", "secrets.json", "secrets.yaml", "secrets.yml",
}
SECRET_KEYS = (
    r"api[_-]?key|access[_-]?token|auth[_-]?token|refresh[_-]?token|"

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · scripts/workspace_easy_pack.py (reported line 51)May include surrounding context.

python
PRIVATE_KEY_SUFFIXES = {".pem", ".key", ".p12", ".pfx", ".jks", ".keystore"}
SENSITIVE_FILENAMES = {
    ".netrc", ".pgpass", "id_rsa", "id_dsa", "id_ecdsa", "id_ed25519",
    "credentials.json", "secrets.json", "secrets.yaml", "secrets.yml",
}
SECRET_KEYS = (
    r"api[_-]?key|access[_-]?token|auth[_-]?token|refresh[_-]?token|"

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: 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.

Unsafe Defaults

Medium
Category
Tool Misuse
Confidence
91% confidence
Finding

The warning itself is defensive, but the surrounding source explicitly documents a check-then-write race in output-path handling. A local attacker able to replace a writable path component between validation and use could redirect backup or report writes outside the authorized destination, potentially disclosing workspace data or damaging files within the process's privileges; using a private directory reduces this exposure but does not fix the underlying race.

Content

Scanner excerpt · references/KNOWN_LIMITATIONS.md (reported line 14)May include surrounding context.

md
- Write `--output`, `--target`, `--restored` and `--report` into a directory you
  control.
- Avoid shared, world-writable or actively rewritten directories.
- Restore builds a staging directory and renames it at the end, which narrows
  this window but does not remove it.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · scripts/test_workspace_easy_pack.py (reported line 48)May include surrounding context.

python
"projects/demo/PROGRESS.md": "# Progress\n\nPrototype complete.\n",
            "projects/demo/DECISIONS.md": "# Decisions\n\nUse open file formats.\n",
            "workflows/research/WORKFLOW.md": "# Workflow\n\nCollect, compare, cite.\n",
            "skills/demo/SKILL.md": "---\nname: demo\ndescription: Synthetic fixture\n---\n\n# Demo\n",
            "skills/demo/scripts/never_execute.py": f"from pathlib import Path\nPath({str(self.temp / 'IMPORTED_SCRIPT_EXECUTED')!r}).write_text('bad')\n",
            "tools/requirements.txt": "requests==2.32.3\n",
            "tools/mcp.json": '{"command":"example-server","env":{"API_KEY":"${API_KEY}"}}\n',

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/test_workspace_easy_pack.py (reported line 70)May include surrounding context.

python
(self.fixture / "misc" / "data.bin").write_bytes(b"\x00\x01\x02\xff")

    def run_cli(self, *args, expected=0, cwd=None):
        completed = subprocess.run(
            [sys.executable, str(CLI), *args], text=True, capture_output=True, check=False, cwd=cwd,
        )
        self.assertEqual(completed.returncode, expected, f"stdout={completed.stdout}\nstderr={completed.stderr}")

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 · assets/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.