๐Ÿ›ก๏ธ SafeAgentSkills

Claw Permission Firewall

ยท v1.0.0

High Risk

Runtime least-privilege firewall for agent skill actions (HTTP/files/exec) with redaction, risk scoring, and audit logs.

H:4 D:4 A:2 C:1

โš ๏ธ Hazard Flags

FS_READ_WORKSPACE FS_READ_USER FS_DELETE NET_EGRESS_ANY CREDS_ENV CREDS_FILES PI_WEB

๐Ÿ“‹ 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

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.

Security bypass pattern detected in: README.md critical

Mitigation: This skill attempts to disable security features. Do not use.

SSH key access patterns in: SKILL.md high

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

Cloud credential access patterns in: SKILL.md high

Mitigation: Verify legitimate need for cloud credential access.

Unauthorized tool use: INSTRUCTED_BINARY_INSTALL, MCP_SYS_FILE_DESTRUCTION critical

Mitigation: Avoid instructing agents to install arbitrary binaries; bundle dependencies or use sandboxed environments

Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION low

Mitigation: Provide clear, detailed description of skill functionality

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:claw-permission-firewall:1.0.0",
    "ssds_version": "0.2.0",
    "scanner_version": "0.4.0+fe6fd9123d50",
    "created_at": "2026-03-05T11:53:11.050Z",
    "created_by": {
      "agent": "safeagentskills-cli/generate-ssds"
    },
    "language": "en",
    "notes": "Auto-generated SSDS. Manual review recommended."
  },
  "skill": {
    "name": "Claw Permission Firewall",
    "version": "1.0.0",
    "format": "agent_skill",
    "description": "Runtime least-privilege firewall for agent skill actions (HTTP/files/exec) with redaction, risk scoring, and audit logs.",
    "publisher": "unknown",
    "source": {
      "channel": "local"
    },
    "artifact": {
      "sha256": "e90044a28003f73913bced1b6b7ff50f12dd7c5972f8f3a2314c1949237023f6",
      "hash_method": "files_sorted"
    }
  },
  "capabilities": {
    "execution": {
      "can_exec_shell": false,
      "can_exec_code": false,
      "privilege_level": "user",
      "can_install_deps": true,
      "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": true
    },
    "network": {
      "egress": "any",
      "ingress": false
    },
    "credentials": {
      "reads_env_vars": true,
      "reads_credential_files": true,
      "reads_browser_data": false,
      "reads_keychain": false
    },
    "services": [
      {
        "service": "code_hosting",
        "operations": [
          "read",
          "write"
        ]
      }
    ],
    "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"
    ],
    "content_types": [
      "general"
    ]
  },
  "hazards": {
    "hdac": {
      "H": 4,
      "D": 4,
      "A": 2,
      "C": 1
    },
    "flags": [
      "FS_READ_WORKSPACE",
      "FS_READ_USER",
      "FS_DELETE",
      "NET_EGRESS_ANY",
      "CREDS_ENV",
      "CREDS_FILES",
      "PI_WEB"
    ],
    "custom_flags": [
      {
        "code": "PIPE_TO_SHELL",
        "name": "Pipe to Shell",
        "description": "Downloads and executes remote code (curl|bash pattern) in: SKILL.md"
      },
      {
        "code": "SECURITY_BYPASS",
        "name": "Security Bypass",
        "description": "Attempts to disable security features in: README.md"
      },
      {
        "code": "CRED_SSH",
        "name": "SSH Key Access",
        "description": "Accesses SSH keys in: SKILL.md"
      },
      {
        "code": "CRED_CLOUD",
        "name": "Cloud Credential Access",
        "description": "Accesses cloud credentials (AWS/GCP/Azure) in: SKILL.md"
      },
      {
        "code": "FILE_DELETE",
        "name": "File Deletion",
        "description": "Can delete files in: SKILL.md"
      },
      {
        "code": "TOOL_ABUSE",
        "name": "Unauthorized Tool Use",
        "description": "INSTRUCTED_BINARY_INSTALL, MCP_SYS_FILE_DESTRUCTION: Instructs agent to install external binary or package"
      },
      {
        "code": "SOCIAL_ENGINEERING",
        "name": "Social Engineering Risk",
        "description": "SOCIAL_ENG_VAGUE_DESCRIPTION: Skill description is too vague or missing"
      }
    ],
    "confidence": {
      "level": "medium",
      "basis": [
        "static_analysis"
      ],
      "notes": "Detected 7 security patterns (3 vendored rule hits). Review recommended."
    },
    "rationale": {
      "H": "H4: Critical: Privilege escalation or malware detected",
      "D": "D4: Critical: Credential theft or data exfiltration",
      "A": "A2: Service integrations detected",
      "C": "C1: General content"
    }
  },
  "containment": {
    "level": "maximum",
    "required": [],
    "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": "Security bypass pattern detected in: README.md",
        "severity": "critical",
        "mitigation": "This skill attempts to disable security features. Do not use."
      },
      {
        "risk": "SSH key access patterns in: SKILL.md",
        "severity": "high",
        "mitigation": "Verify legitimate need for SSH access. Consider sandboxing."
      },
      {
        "risk": "Cloud credential access patterns in: SKILL.md",
        "severity": "high",
        "mitigation": "Verify legitimate need for cloud credential access."
      },
      {
        "risk": "Unauthorized tool use: INSTRUCTED_BINARY_INSTALL, MCP_SYS_FILE_DESTRUCTION",
        "severity": "critical",
        "mitigation": "Avoid instructing agents to install arbitrary binaries; bundle dependencies or use sandboxed environments"
      },
      {
        "risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
        "severity": "low",
        "mitigation": "Provide clear, detailed description of skill functionality"
      }
    ],
    "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": "package.json",
      "file_path": "package.json"
    },
    {
      "evidence_id": "EV:file-2",
      "type": "file_excerpt",
      "title": "README.md",
      "file_path": "README.md"
    },
    {
      "evidence_id": "EV:file-3",
      "type": "file_excerpt",
      "title": "SKILL.md",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:file-4",
      "type": "file_excerpt",
      "title": "src/audit.ts",
      "file_path": "src/audit.ts"
    },
    {
      "evidence_id": "EV:file-5",
      "type": "file_excerpt",
      "title": "src/evaluate.ts",
      "file_path": "src/evaluate.ts"
    },
    {
      "evidence_id": "EV:file-6",
      "type": "file_excerpt",
      "title": "src/index.ts",
      "file_path": "src/index.ts"
    },
    {
      "evidence_id": "EV:file-7",
      "type": "file_excerpt",
      "title": "src/match.ts",
      "file_path": "src/match.ts"
    },
    {
      "evidence_id": "EV:file-8",
      "type": "file_excerpt",
      "title": "src/normalize.ts",
      "file_path": "src/normalize.ts"
    },
    {
      "evidence_id": "EV:file-9",
      "type": "file_excerpt",
      "title": "src/policy.ts",
      "file_path": "src/policy.ts"
    },
    {
      "evidence_id": "EV:file-10",
      "type": "file_excerpt",
      "title": "src/redact.ts",
      "file_path": "src/redact.ts"
    },
    {
      "evidence_id": "EV:cisco-1",
      "type": "file_excerpt",
      "title": "INSTRUCTED_BINARY_INSTALL [HIGH] SKILL.md:19: - Unsafe execution patterns (`rm -rf`, `curl | sh`, etc.)",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-2",
      "type": "file_excerpt",
      "title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:2: ",
      "file_path": "SKILL.md"
    },
    {
      "evidence_id": "EV:cisco-3",
      "type": "file_excerpt",
      "title": "MCP_SYS_FILE_DESTRUCTION [CRITICAL] SKILL.md:19: - Unsafe execution patterns (`rm -rf`, `curl | sh`, etc.)",
      "file_path": "SKILL.md"
    }
  ]
}