๐Ÿ›ก๏ธ SafeAgentSkills

OpenClaw Guardian

ยท v1.0.1

High Risk

>

H:4 D:4 A:3 C:1

โš ๏ธ Hazard Flags

EXEC CODE_EXEC PRIVILEGED PERSISTENCE FS_READ_WORKSPACE FS_READ_USER FS_WRITE_WORKSPACE FS_WRITE_USER FS_WRITE_SYSTEM FS_DELETE NET_EGRESS_ANY NET_INGRESS CREDS_ENV CREDS_FILES ACT_DELETE_EXTERNAL PI_WEB PI_DOCUMENTS

๐Ÿ“‹ Capabilities

Execution

  • โœ… Shell execution
  • โœ… Code execution
  • โŒ Install dependencies
  • โœ… Persistence
  • Privilege: admin

Filesystem

  • โœ… Read workspace
  • โœ… Write workspace
  • โœ… Read home
  • โœ… Write home
  • โŒ Read system
  • โœ… Delete

Network

  • Egress: any
  • โœ… Ingress

Credentials

  • โœ… Environment vars
  • โœ… Credential files
  • โŒ Browser data
  • โŒ Keychain

Actions

โŒ send messagesโŒ post publicโŒ purchaseโŒ transfer moneyโŒ deployโœ… delete external

๐Ÿ”’ Containment

Level: maximum

Required:
  • SANDBOX_CONTAINER: Code execution capability
Recommended:
  • LOG_ACTIONS: Audit trail for all actions

โšก Risks

Pipe-to-shell pattern detected (curl|bash) in: SKILL.md critical

Mitigation: Do not execute. Review source for malicious intent.

Base64 decode + execute pattern in: SKILL.md critical

Mitigation: Decode and review obfuscated content before use.

SSH key access patterns in: SKILL.md high

Mitigation: Verify legitimate need for SSH access. Consider sandboxing.

Prompt injection patterns detected in: scripts/llm-voter.ts high

Mitigation: Review SKILL.md for hidden instructions. Do not use with untrusted input.

Unauthorized tool use: INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_FILE_DESTRUCTION, TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_PERMISSION_MANIPULATION, INSTRUCTED_BINARY_INSTALL critical

Mitigation: Use pre-built packages or vendored dependencies instead of cloning repos

Command injection risk: COMMAND_INJECTION_EVAL, MCP_CMD_REVERSE_SHELL, MCP_CMD_NETWORK_TOOLS critical

Mitigation: Avoid eval(), exec(), and compile(). Use safer alternatives like ast.literal_eval()

Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION low

Mitigation: Provide clear, detailed description of skill functionality

Tool poisoning: hidden behaviors detected (MCP_TOOL_POISONING_DECEPTION) critical

Mitigation: Remove deceptive language. Tools must be transparent about their behavior.

Data exfiltration patterns: MCP_EXFIL_CONVERSATION high

Mitigation: Remove references to exfiltrating conversation data or monitoring input.

Want a deeper analysis?

This report was generated by static analysis. Get an LLM-powered deep review with behavioral reasoning and attack surface mapping.

๐Ÿง  Deep Analysis โ€” $5.00

๐Ÿšจ Incident Response

Kill switch: Stop the agent process

Containment: Review logs for unexpected actions

Recovery: Depends on skill capabilities

๐Ÿ“„ Raw SSDS JSON click to expand
{
  "meta": {
    "document_id": "ssds:auto:openclaw-guardian:1.0.1",
    "ssds_version": "0.2.0",
    "scanner_version": "0.4.0+fe6fd9123d50",
    "created_at": "2026-03-05T15:36:41.697Z",
    "created_by": {
      "agent": "safeagentskills-cli/generate-ssds"
    },
    "language": "en",
    "notes": "Auto-generated SSDS. Manual review recommended."
  },
  "skill": {
    "name": "OpenClaw Guardian",
    "version": "1.0.1",
    "format": "agent_skill",
    "description": ">",
    "publisher": "unknown",
    "source": {
      "channel": "local"
    },
    "artifact": {
      "sha256": "65a03f58dc0344ef38916659cfd9e75a9ae655c167f3efa4d932b7a010e1ab90",
      "hash_method": "files_sorted"
    }
  },
  "capabilities": {
    "execution": {
      "can_exec_shell": true,
      "can_exec_code": true,
      "privilege_level": "admin",
      "can_install_deps": false,
      "can_persist": true
    },
    "filesystem": {
      "reads_workspace": true,
      "reads_user_home": true,
      "reads_system": false,
      "writes_workspace": true,
      "writes_user_home": true,
      "writes_system": true,
      "can_delete": true
    },
    "network": {
      "egress": "any",
      "ingress": true
    },
    "credentials": {
      "reads_env_vars": true,
      "reads_credential_files": true,
      "reads_browser_data": false,
      "reads_keychain": false
    },
    "services": [],
    "actions": {
      "can_send_messages": false,
      "can_post_public": false,
      "can_purchase": false,
      "can_transfer_money": false,
      "can_deploy": false,
      "can_delete_external": true
    },
    "prompt_injection_surfaces": [
      "web",
      "documents"
    ],
    "content_types": [
      "general"
    ]
  },
  "hazards": {
    "hdac": {
      "H": 4,
      "D": 4,
      "A": 3,
      "C": 1
    },
    "flags": [
      "EXEC",
      "CODE_EXEC",
      "PRIVILEGED",
      "PERSISTENCE",
      "FS_READ_WORKSPACE",
      "FS_READ_USER",
      "FS_WRITE_WORKSPACE",
      "FS_WRITE_USER",
      "FS_WRITE_SYSTEM",
      "FS_DELETE",
      "NET_EGRESS_ANY",
      "NET_INGRESS",
      "CREDS_ENV",
      "CREDS_FILES",
      "ACT_DELETE_EXTERNAL",
      "PI_WEB",
      "PI_DOCUMENTS"
    ],
    "custom_flags": [
      {
        "code": "PIPE_TO_SHELL",
        "name": "Pipe to Shell",
        "description": "Downloads and executes remote code (curl|bash pattern) in: SKILL.md"
      },
      {
        "code": "BASE64_EXEC",
        "name": "Base64 Execute",
        "description": "Decodes and executes obfuscated code in: SKILL.md"
      },
      {
        "code": "CRED_SSH",
        "name": "SSH Key Access",
        "description": "Accesses SSH keys in: SKILL.md"
      },
      {
        "code": "PROMPT_INJECTION",
        "name": "Prompt Injection Risk",
        "description": "Contains prompt injection patterns in: scripts/llm-voter.ts"
      },
      {
        "code": "PERSISTENCE",
        "name": "Persistence Mechanism",
        "description": "Creates scheduled tasks or startup entries in: scripts/blacklist.ts"
      },
      {
        "code": "PRIVILEGE_ESCALATION",
        "name": "Privilege Escalation",
        "description": "Uses elevated privileges (sudo/root) in: references/README.md, scripts/blacklist.ts, scripts/llm-voter.ts, SKILL.md"
      },
      {
        "code": "FILE_DELETE",
        "name": "File Deletion",
        "description": "Can delete files in: references/README.md, scripts/blacklist.ts, scripts/llm-voter.ts, SKILL.md"
      },
      {
        "code": "NET_INGRESS",
        "name": "Network Server",
        "description": "Listens for incoming connections in: scripts/blacklist.ts"
      },
      {
        "code": "TOOL_ABUSE",
        "name": "Unauthorized Tool Use",
        "description": "INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_FILE_DESTRUCTION, TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_PERMISSION_MANIPULATION, INSTRUCTED_BINARY_INSTALL: Instructs agent to clone and potentially build from source"
      },
      {
        "code": "SOCIAL_ENGINEERING",
        "name": "Social Engineering Risk",
        "description": "SOCIAL_ENG_VAGUE_DESCRIPTION: Skill description is too vague or missing"
      },
      {
        "code": "COMMAND_INJECTION",
        "name": "Command Injection Risk",
        "description": "COMMAND_INJECTION_EVAL, MCP_CMD_REVERSE_SHELL, MCP_CMD_NETWORK_TOOLS: Dangerous code execution functions that can execute arbitrary code"
      },
      {
        "code": "TOOL_POISONING",
        "name": "Tool Poisoning",
        "description": "Hidden secondary behavior detected: MCP_TOOL_POISONING_DECEPTION"
      },
      {
        "code": "DATA_EXFILTRATION",
        "name": "Data Exfiltration Risk",
        "description": "MCP_EXFIL_CONVERSATION: Conversation, clipboard, or keystroke exfiltration patterns"
      }
    ],
    "confidence": {
      "level": "medium",
      "basis": [
        "static_analysis"
      ],
      "notes": "Detected 13 security patterns (17 vendored rule hits). Review recommended."
    },
    "rationale": {
      "H": "H4: Critical: Privilege escalation or malware detected",
      "D": "D4: Critical: Credential theft or data exfiltration",
      "A": "A3: External actions (deploy/message/post)",
      "C": "C1: General content"
    }
  },
  "containment": {
    "level": "maximum",
    "required": [
      {
        "control": "SANDBOX_CONTAINER",
        "reason": "Code execution capability"
      }
    ],
    "recommended": [
      {
        "control": "LOG_ACTIONS",
        "reason": "Audit trail for all actions"
      }
    ],
    "uncontained_risk": "Risk level depends on manual review of actual capabilities."
  },
  "risks": {
    "risks": [
      {
        "risk": "Pipe-to-shell pattern detected (curl|bash) in: SKILL.md",
        "severity": "critical",
        "mitigation": "Do not execute. Review source for malicious intent."
      },
      {
        "risk": "Base64 decode + execute pattern in: SKILL.md",
        "severity": "critical",
        "mitigation": "Decode and review obfuscated content before use."
      },
      {
        "risk": "SSH key access patterns in: SKILL.md",
        "severity": "high",
        "mitigation": "Verify legitimate need for SSH access. Consider sandboxing."
      },
      {
        "risk": "Prompt injection patterns detected in: scripts/llm-voter.ts",
        "severity": "high",
        "mitigation": "Review SKILL.md for hidden instructions. Do not use with untrusted input."
      },
      {
        "risk": "Unauthorized tool use: INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_FILE_DESTRUCTION, TOOL_ABUSE_SYSTEM_MODIFICATION, MCP_SYS_PERMISSION_MANIPULATION, INSTRUCTED_BINARY_INSTALL",
        "severity": "critical",
        "mitigation": "Use pre-built packages or vendored dependencies instead of cloning repos"
      },
      {
        "risk": "Command injection risk: COMMAND_INJECTION_EVAL, MCP_CMD_REVERSE_SHELL, MCP_CMD_NETWORK_TOOLS",
        "severity": "critical",
        "mitigation": "Avoid eval(), exec(), and compile(). Use safer alternatives like ast.literal_eval()"
      },
      {
        "risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
        "severity": "low",
        "mitigation": "Provide clear, detailed description of skill functionality"
      },
      {
        "risk": "Tool poisoning: hidden behaviors detected (MCP_TOOL_POISONING_DECEPTION)",
        "severity": "critical",
        "mitigation": "Remove deceptive language. Tools must be transparent about their behavior."
      },
      {
        "risk": "Data exfiltration patterns: MCP_EXFIL_CONVERSATION",
        "severity": "high",
        "mitigation": "Remove references to exfiltrating conversation data or monitoring input."
      }
    ],
    "limitations": [
      "Static analysis only - runtime behavior not verified"
    ]
  },
  "incident_response": {
    "kill_switch": [
      "Stop the agent process"
    ],
    "containment": [
      "Review logs for unexpected actions"
    ],
    "recovery": [
      "Depends on skill capabilities"
    ]
  },
  "evidence": [
    {
      "evidence_id": "EV:file-1",
      "type": "file_excerpt",
      "title": "references/README.md",
      "file_path": "references/README.md"
    },
    {
      "evidence_id": "EV:file-2",
      "type": "file_excerpt",
      "title": "scripts/audit-log.ts",
      "file_path": "scripts/audit-log.ts"
    },
    {
      "evidence_id": "EV:file-3",
      "type": "file_excerpt",
      "title": "scripts/blacklist.ts",
      "file_path": "scripts/blacklist.ts"
    },
    {
      "evidence_id": "EV:file-4",
      "type": "file_excerpt",
      "title": "scripts/index.ts",
      "file_path": "scripts/index.ts"
    },
    {
      "evidence_id": "EV:file-5",
      "type": "file_excerpt",
      "title": "scripts/llm-voter.ts",
      "file_path": "scripts/llm-voter.ts"
    },
    {
      "evidence_id": "EV:file-6",
      "type": "file_excerpt",
      "title": "scripts/package.json",
      "file_path": "scripts/package.json"
    },
    {
      "evidence_id": "EV:file-7",
      "type": "file_excerpt",
      "title": "SKILL.md",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:file-8",
      "type": "file_excerpt",
      "title": "_meta.json",
      "file_path": "_meta.json"
    },
    {
      "evidence_id": "EV:cisco-1",
      "type": "file_excerpt",
      "title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] references/README.md:70: git clone https://github.com/fatcatMaoFei/openclaw-guardian.git",
      "file_path": "references/README.md"
    },
    {
      "evidence_id": "EV:cisco-2",
      "type": "file_excerpt",
      "title": "MCP_TOOL_POISONING_DECEPTION [CRITICAL] references/README.md:252: Guardian registers a `before_tool_call` plugin hook. This hook fires **after** t",
      "file_path": "references/README.md"
    },
    {
      "evidence_id": "EV:cisco-3",
      "type": "file_excerpt",
      "title": "MCP_EXFIL_CONVERSATION [HIGH] references/README.md:45: | Light | 31-70 | 1 (comprehensive) | ~1-2s | Writing config files, sending mess",
      "file_path": "references/README.md"
    },
    {
      "evidence_id": "EV:cisco-4",
      "type": "file_excerpt",
      "title": "MCP_SYS_FILE_DESTRUCTION [CRITICAL] references/README.md:18: AI Agent wants to run a tool (e.g., exec \"rm -rf /tmp/data\")",
      "file_path": "references/README.md"
    },
    {
      "evidence_id": "EV:cisco-5",
      "type": "file_excerpt",
      "title": "COMMAND_INJECTION_EVAL [CRITICAL] scripts/blacklist.ts:104: // Python: __import__('os').system() / exec()/eval() with dangerous ops",
      "file_path": "scripts/blacklist.ts"
    },
    {
      "evidence_id": "EV:cisco-6",
      "type": "file_excerpt",
      "title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] scripts/blacklist.ts:203: { pattern: /chmod\\s+[47]77\\b/, reason: \"world-writable permission (chmod 777)\" }",
      "file_path": "scripts/blacklist.ts"
    },
    {
      "evidence_id": "EV:cisco-7",
      "type": "file_excerpt",
      "title": "MCP_CMD_REVERSE_SHELL [CRITICAL] scripts/blacklist.ts:144: reason: \"netcat reverse shell (nc -e)\",",
      "file_path": "scripts/blacklist.ts"
    },
    {
      "evidence_id": "EV:cisco-8",
      "type": "file_excerpt",
      "title": "MCP_CMD_NETWORK_TOOLS [HIGH] scripts/blacklist.ts:144: reason: \"netcat reverse shell (nc -e)\",",
      "file_path": "scripts/blacklist.ts"
    },
    {
      "evidence_id": "EV:cisco-9",
      "type": "file_excerpt",
      "title": "MCP_SYS_FILE_DESTRUCTION [CRITICAL] scripts/blacklist.ts:29: reason: \"rm -rf on root-level system path\",",
      "file_path": "scripts/blacklist.ts"
    },
    {
      "evidence_id": "EV:cisco-10",
      "type": "file_excerpt",
      "title": "MCP_SYS_PERMISSION_MANIPULATION [CRITICAL] scripts/blacklist.ts:203: { pattern: /chmod\\s+[47]77\\b/, reason: \"world-writable permission (chmod 777)\" }",
      "file_path": "scripts/blacklist.ts"
    }
  ]
}