{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claw-permission-firewall",
    "name": "Claw Permission Firewall",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/bharathjanumpally/claw-permission-firewall",
    "canonicalUrl": "https://clawhub.ai/bharathjanumpally/claw-permission-firewall",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/claw-permission-firewall",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claw-permission-firewall",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "policy.yaml",
      "CHANGELOG.md",
      "README.md",
      "package.json",
      "SKILL.md",
      "tsconfig.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/claw-permission-firewall"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/claw-permission-firewall",
    "agentPageUrl": "https://openagent3.xyz/skills/claw-permission-firewall/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claw-permission-firewall/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claw-permission-firewall/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Claw Permission Firewall",
        "body": "Runtime least-privilege firewall for agent/skill actions. It evaluates a requested action and returns one of:\n\nALLOW (safe to execute)\nDENY (blocked by policy)\nNEED_CONFIRMATION (risky; require explicit confirmation)\n\nIt also returns a sanitizedAction with secrets redacted, plus a structured audit record.\n\nThis is not a gateway hardening tool. It complements gateway security scanners by enforcing per-action policy at runtime."
      },
      {
        "title": "What it protects against",
        "body": "Exfiltration to unknown domains\nPrompt-injection “send secrets” attempts (secret detection + redaction)\nReading sensitive local files (~/.ssh, ~/.aws, .env, etc.)\nUnsafe execution patterns (rm -rf, curl | sh, etc.)"
      },
      {
        "title": "Inputs",
        "body": "Provide an action object to evaluate:\n\n{\n  \"traceId\": \"optional-uuid\",\n  \"caller\": { \"skillName\": \"SomeSkill\", \"skillVersion\": \"1.2.0\" },\n  \"action\": {\n    \"type\": \"http_request | file_read | file_write | exec\",\n    \"method\": \"GET|POST|PUT|DELETE\",\n    \"url\": \"https://api.github.com/...\",\n    \"headers\": { \"authorization\": \"Bearer ...\" },\n    \"body\": \"...\",\n    \"path\": \"./reports/out.json\",\n    \"command\": \"rm -rf /\"\n  },\n  \"context\": {\n    \"workspaceRoot\": \"/workspace\",\n    \"mode\": \"strict | balanced | permissive\",\n    \"confirmed\": false\n  }\n}"
      },
      {
        "title": "Outputs",
        "body": "{\n  \"decision\": \"ALLOW | DENY | NEED_CONFIRMATION\",\n  \"riskScore\": 0.42,\n  \"reasons\": [{\"ruleId\":\"...\",\"message\":\"...\"}],\n  \"sanitizedAction\": { \"...\": \"...\" },\n  \"confirmation\": { \"required\": true, \"prompt\": \"...\" },\n  \"audit\": { \"traceId\":\"...\", \"policyVersion\":\"...\", \"actionFingerprint\":\"...\" }\n}"
      },
      {
        "title": "Default policy behavior (v1)",
        "body": "Exec disabled by default\nHTTP requires TLS\nDenylist blocks common exfil hosts (pastebins, raw script hosts)\nFile access is jailed to workspaceRoot\nAlways redacts Authorization, Cookie, X-API-Key, and common token patterns"
      },
      {
        "title": "Recommended usage pattern",
        "body": "Your skill creates an action object.\nCall this skill to evaluate it.\nIf ALLOW → execute sanitizedAction.\nIf NEED_CONFIRMATION → ask user and re-run with context.confirmed=true.\nIf DENY → stop and show the reasons."
      },
      {
        "title": "Files",
        "body": "policy.yaml contains the policy (edit for your environment)."
      }
    ],
    "body": "Claw Permission Firewall\n\nRuntime least-privilege firewall for agent/skill actions. It evaluates a requested action and returns one of:\n\nALLOW (safe to execute)\nDENY (blocked by policy)\nNEED_CONFIRMATION (risky; require explicit confirmation)\n\nIt also returns a sanitizedAction with secrets redacted, plus a structured audit record.\n\nThis is not a gateway hardening tool. It complements gateway security scanners by enforcing per-action policy at runtime.\n\nWhat it protects against\nExfiltration to unknown domains\nPrompt-injection “send secrets” attempts (secret detection + redaction)\nReading sensitive local files (~/.ssh, ~/.aws, .env, etc.)\nUnsafe execution patterns (rm -rf, curl | sh, etc.)\nInputs\n\nProvide an action object to evaluate:\n\n{\n  \"traceId\": \"optional-uuid\",\n  \"caller\": { \"skillName\": \"SomeSkill\", \"skillVersion\": \"1.2.0\" },\n  \"action\": {\n    \"type\": \"http_request | file_read | file_write | exec\",\n    \"method\": \"GET|POST|PUT|DELETE\",\n    \"url\": \"https://api.github.com/...\",\n    \"headers\": { \"authorization\": \"Bearer ...\" },\n    \"body\": \"...\",\n    \"path\": \"./reports/out.json\",\n    \"command\": \"rm -rf /\"\n  },\n  \"context\": {\n    \"workspaceRoot\": \"/workspace\",\n    \"mode\": \"strict | balanced | permissive\",\n    \"confirmed\": false\n  }\n}\n\nOutputs\n{\n  \"decision\": \"ALLOW | DENY | NEED_CONFIRMATION\",\n  \"riskScore\": 0.42,\n  \"reasons\": [{\"ruleId\":\"...\",\"message\":\"...\"}],\n  \"sanitizedAction\": { \"...\": \"...\" },\n  \"confirmation\": { \"required\": true, \"prompt\": \"...\" },\n  \"audit\": { \"traceId\":\"...\", \"policyVersion\":\"...\", \"actionFingerprint\":\"...\" }\n}\n\nDefault policy behavior (v1)\nExec disabled by default\nHTTP requires TLS\nDenylist blocks common exfil hosts (pastebins, raw script hosts)\nFile access is jailed to workspaceRoot\nAlways redacts Authorization, Cookie, X-API-Key, and common token patterns\nRecommended usage pattern\nYour skill creates an action object.\nCall this skill to evaluate it.\nIf ALLOW → execute sanitizedAction.\nIf NEED_CONFIRMATION → ask user and re-run with context.confirmed=true.\nIf DENY → stop and show the reasons.\nFiles\npolicy.yaml contains the policy (edit for your environment)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/bharathjanumpally/claw-permission-firewall",
    "publisherUrl": "https://clawhub.ai/bharathjanumpally/claw-permission-firewall",
    "owner": "bharathjanumpally",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/claw-permission-firewall",
    "downloadUrl": "https://openagent3.xyz/downloads/claw-permission-firewall",
    "agentUrl": "https://openagent3.xyz/skills/claw-permission-firewall/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claw-permission-firewall/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claw-permission-firewall/agent.md"
  }
}