{
  "schemaVersion": "1.0",
  "item": {
    "slug": "firm-security-audit",
    "name": "Firm Security Audit",
    "source": "tencent",
    "type": "skill",
    "category": "安全合规",
    "sourceUrl": "https://clawhub.ai/romainsantoli-web/firm-security-audit",
    "canonicalUrl": "https://clawhub.ai/romainsantoli-web/firm-security-audit",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/firm-security-audit",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=firm-security-audit",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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. 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. 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/firm-security-audit"
    },
    "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/firm-security-audit",
    "agentPageUrl": "https://openagent3.xyz/skills/firm-security-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/firm-security-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/firm-security-audit/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "firm-security-audit",
        "body": "⚠️ Contenu généré par IA — validation par un expert sécurité requise avant toute modification en production."
      },
      {
        "title": "Purpose",
        "body": "Ce skill est la porte de sécurité obligatoire avant tout déploiement ou exposition\nréseau d'un Gateway OpenClaw. Il comble directement les gaps critiques identifiés dans\nopenclaw/openclaw depuis l'extérieur du repo, sans modifier le code upstream.\n\nGaps couverts :\n\nGapSévéritéOutilC1 — SQL injection /api/metrics/databaseCRITICALopenclaw_security_scanC2 — sandbox.mode: off par défautCRITICALopenclaw_sandbox_auditC3 — Session secret régénéré au restartHIGHopenclaw_session_config_checkH8 — Absence de rate limiting sur WS GatewayHIGHopenclaw_rate_limit_checkM10 — Matrix E2EE status non documentéMEDIUMchecklist documentaire"
      },
      {
        "title": "Tools activés",
        "body": "openclaw_security_scan         — détection SQL injection (C1)\nopenclaw_sandbox_audit         — vérification sandbox config (C2)\nopenclaw_session_config_check  — contrôle session secret persistance (C3)\nopenclaw_rate_limit_check      — vérification rate limiter (H8)\nfirm_export_slack_digest       — notification équipe si CRITICAL trouvé"
      },
      {
        "title": "Séquence d'audit obligatoire",
        "body": "À exécuter avant chaque déploiement ou avant activation de Tailscale Funnel."
      },
      {
        "title": "Étape 1 — Sandbox audit (C2, priorité CRITIQUE)",
        "body": "{\n  \"tool\": \"openclaw_sandbox_audit\",\n  \"args\": {\n    \"config_path\": \"/path/to/.openclaw/config.yaml\"\n  }\n}\n\nAttendu : severity: OK avec sandbox_mode: non-main ou all\nSi CRITICAL : appliquer le fix_snippet fourni avant de continuer"
      },
      {
        "title": "Étape 2 — SQL injection scan (C1)",
        "body": "{\n  \"tool\": \"openclaw_security_scan\",\n  \"args\": {\n    \"target_path\": \"/path/to/openclaw/src/api\",\n    \"endpoint\": \"/api/metrics/database\",\n    \"scan_depth\": 4\n  }\n}\n\nAttendu : critical_count: 0, high_count: 0\nSi CRITICAL ou HIGH : appliquer remediation_by_severity avant déploiement"
      },
      {
        "title": "Étape 3 — Session secret check (C3)",
        "body": "{\n  \"tool\": \"openclaw_session_config_check\",\n  \"args\": {\n    \"compose_file_path\": \"/path/to/docker-compose.yml\",\n    \"env_file_path\": \"/path/to/.env\"\n  }\n}\n\nAttendu : session_secret_found: true\nSi HIGH : appliquer fix_docker ou fix_env fourni"
      },
      {
        "title": "Étape 4 — Rate limiting check (H8)",
        "body": "{\n  \"tool\": \"openclaw_rate_limit_check\",\n  \"args\": {\n    \"gateway_config_path\": \"/path/to/.openclaw/config.yaml\",\n    \"check_funnel\": true\n  }\n}\n\nAttendu : rate_limiter_detected: true OU funnel_active: false\nSi CRITICAL (funnel actif sans rate limiter) : appliquer fix_nginx ou fix_caddy immédiatement"
      },
      {
        "title": "Étape 5 — Alerte si CRITICAL (automatique)",
        "body": "Si un des audits retourne severity: CRITICAL, dispatcher automatiquement via :\n\n{\n  \"tool\": \"firm_export_slack_digest\",\n  \"args\": {\n    \"objective\": \"Security audit — CRITICAL finding\",\n    \"content\": \"<résultats de l'audit>\",\n    \"channel\": \"#security-alerts\"\n  }\n}"
      },
      {
        "title": "Checklist Matrix E2EE (M10)",
        "body": "Vérification documentaire manuelle (pas d'outil disponible — trop repo-spécifique) :\n\nLe CONTRIBUTING.md OpenClaw mentionne-t-il le statut E2EE Matrix ?\n Les utilisateurs Matrix privacy-sensitive sont-ils informés de l'absence d'E2EE ?\n Un ADR (firm_adr_generate) documente-t-il la décision E2EE Matrix ?"
      },
      {
        "title": "C2 — Sandbox fix (ajout dans config.yaml)",
        "body": "agents:\n  defaults:\n    sandbox:\n      mode: non-main   # ← activer isolation Docker pour sessions non-main\n  sessions:\n    main:\n      sandbox:\n        mode: off      # main conserve accès hôte (intentionnel)"
      },
      {
        "title": "C3 — Session secret (docker-compose.yml)",
        "body": "services:\n  openclaw:\n    environment:\n      SESSION_SECRET: \"${SESSION_SECRET:?SESSION_SECRET env var required}\"\n# Générer : openssl rand -base64 48 > /etc/openclaw/session.secret"
      },
      {
        "title": "H8 — Rate limiting Nginx",
        "body": "limit_req_zone $binary_remote_addr zone=openclaw:10m rate=30r/m;\nserver {\n    location /ws {\n        limit_req zone=openclaw burst=10 nodelay;\n        proxy_pass http://127.0.0.1:18789;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection \"upgrade\";\n    }\n}"
      },
      {
        "title": "Escalade",
        "body": "RésultatActionTout OKDéploiement autorisé — log de l'audit dans docs/security-audits/CRITICAL sandbox ou SQLBloquer le déploiement — fix obligatoire avant pushCRITICAL rate limit + funnelDésactiver Funnel et appliquer Nginx/Caddy immédiatementHIGH session secretAppliquer fix + redémarrer le container avec le secret persistant"
      },
      {
        "title": "Intégration CI/CD",
        "body": "Ajouter dans le workflow GitHub Actions :\n\n- name: Security audit (firm-security-audit)\n  run: |\n    # Depuis le CTO ou Engineering agent avant chaque deploy\n    openclaw skill run firm-security-audit \\\n      --config $OPENCLAW_CONFIG_PATH \\\n      --fail-on CRITICAL,HIGH\n\nOpenClaw gaps : C1 (#29951 SQL injection), C2 (sandbox off), C3 (#29955 session secret), H8 (no rate limit)"
      },
      {
        "title": "💎 Support",
        "body": "Si ce skill vous est utile, vous pouvez soutenir le développement :\n\nDogecoin : DQBggqFNWsRNTPb6kkiwppnMo1Hm8edfWq"
      }
    ],
    "body": "firm-security-audit\n\n⚠️ Contenu généré par IA — validation par un expert sécurité requise avant toute modification en production.\n\nPurpose\n\nCe skill est la porte de sécurité obligatoire avant tout déploiement ou exposition réseau d'un Gateway OpenClaw. Il comble directement les gaps critiques identifiés dans openclaw/openclaw depuis l'extérieur du repo, sans modifier le code upstream.\n\nGaps couverts :\n\nGap\tSévérité\tOutil\nC1 — SQL injection /api/metrics/database\tCRITICAL\topenclaw_security_scan\nC2 — sandbox.mode: off par défaut\tCRITICAL\topenclaw_sandbox_audit\nC3 — Session secret régénéré au restart\tHIGH\topenclaw_session_config_check\nH8 — Absence de rate limiting sur WS Gateway\tHIGH\topenclaw_rate_limit_check\nM10 — Matrix E2EE status non documenté\tMEDIUM\tchecklist documentaire\nTools activés\nopenclaw_security_scan         — détection SQL injection (C1)\nopenclaw_sandbox_audit         — vérification sandbox config (C2)\nopenclaw_session_config_check  — contrôle session secret persistance (C3)\nopenclaw_rate_limit_check      — vérification rate limiter (H8)\nfirm_export_slack_digest       — notification équipe si CRITICAL trouvé\n\nSéquence d'audit obligatoire\n\nÀ exécuter avant chaque déploiement ou avant activation de Tailscale Funnel.\n\nÉtape 1 — Sandbox audit (C2, priorité CRITIQUE)\n{\n  \"tool\": \"openclaw_sandbox_audit\",\n  \"args\": {\n    \"config_path\": \"/path/to/.openclaw/config.yaml\"\n  }\n}\n\n\nAttendu : severity: OK avec sandbox_mode: non-main ou all Si CRITICAL : appliquer le fix_snippet fourni avant de continuer\n\nÉtape 2 — SQL injection scan (C1)\n{\n  \"tool\": \"openclaw_security_scan\",\n  \"args\": {\n    \"target_path\": \"/path/to/openclaw/src/api\",\n    \"endpoint\": \"/api/metrics/database\",\n    \"scan_depth\": 4\n  }\n}\n\n\nAttendu : critical_count: 0, high_count: 0 Si CRITICAL ou HIGH : appliquer remediation_by_severity avant déploiement\n\nÉtape 3 — Session secret check (C3)\n{\n  \"tool\": \"openclaw_session_config_check\",\n  \"args\": {\n    \"compose_file_path\": \"/path/to/docker-compose.yml\",\n    \"env_file_path\": \"/path/to/.env\"\n  }\n}\n\n\nAttendu : session_secret_found: true Si HIGH : appliquer fix_docker ou fix_env fourni\n\nÉtape 4 — Rate limiting check (H8)\n{\n  \"tool\": \"openclaw_rate_limit_check\",\n  \"args\": {\n    \"gateway_config_path\": \"/path/to/.openclaw/config.yaml\",\n    \"check_funnel\": true\n  }\n}\n\n\nAttendu : rate_limiter_detected: true OU funnel_active: false Si CRITICAL (funnel actif sans rate limiter) : appliquer fix_nginx ou fix_caddy immédiatement\n\nÉtape 5 — Alerte si CRITICAL (automatique)\n\nSi un des audits retourne severity: CRITICAL, dispatcher automatiquement via :\n\n{\n  \"tool\": \"firm_export_slack_digest\",\n  \"args\": {\n    \"objective\": \"Security audit — CRITICAL finding\",\n    \"content\": \"<résultats de l'audit>\",\n    \"channel\": \"#security-alerts\"\n  }\n}\n\nChecklist Matrix E2EE (M10)\n\nVérification documentaire manuelle (pas d'outil disponible — trop repo-spécifique) :\n\n Le CONTRIBUTING.md OpenClaw mentionne-t-il le statut E2EE Matrix ?\n Les utilisateurs Matrix privacy-sensitive sont-ils informés de l'absence d'E2EE ?\n Un ADR (firm_adr_generate) documente-t-il la décision E2EE Matrix ?\nTemplates de remédiation rapide\nC2 — Sandbox fix (ajout dans config.yaml)\nagents:\n  defaults:\n    sandbox:\n      mode: non-main   # ← activer isolation Docker pour sessions non-main\n  sessions:\n    main:\n      sandbox:\n        mode: off      # main conserve accès hôte (intentionnel)\n\nC3 — Session secret (docker-compose.yml)\nservices:\n  openclaw:\n    environment:\n      SESSION_SECRET: \"${SESSION_SECRET:?SESSION_SECRET env var required}\"\n# Générer : openssl rand -base64 48 > /etc/openclaw/session.secret\n\nH8 — Rate limiting Nginx\nlimit_req_zone $binary_remote_addr zone=openclaw:10m rate=30r/m;\nserver {\n    location /ws {\n        limit_req zone=openclaw burst=10 nodelay;\n        proxy_pass http://127.0.0.1:18789;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection \"upgrade\";\n    }\n}\n\nEscalade\nRésultat\tAction\nTout OK\tDéploiement autorisé — log de l'audit dans docs/security-audits/\nCRITICAL sandbox ou SQL\tBloquer le déploiement — fix obligatoire avant push\nCRITICAL rate limit + funnel\tDésactiver Funnel et appliquer Nginx/Caddy immédiatement\nHIGH session secret\tAppliquer fix + redémarrer le container avec le secret persistant\nIntégration CI/CD\n\nAjouter dans le workflow GitHub Actions :\n\n- name: Security audit (firm-security-audit)\n  run: |\n    # Depuis le CTO ou Engineering agent avant chaque deploy\n    openclaw skill run firm-security-audit \\\n      --config $OPENCLAW_CONFIG_PATH \\\n      --fail-on CRITICAL,HIGH\n\n\nOpenClaw gaps : C1 (#29951 SQL injection), C2 (sandbox off), C3 (#29955 session secret), H8 (no rate limit)\n\n💎 Support\n\nSi ce skill vous est utile, vous pouvez soutenir le développement :\n\nDogecoin : DQBggqFNWsRNTPb6kkiwppnMo1Hm8edfWq"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/romainsantoli-web/firm-security-audit",
    "publisherUrl": "https://clawhub.ai/romainsantoli-web/firm-security-audit",
    "owner": "romainsantoli-web",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/firm-security-audit",
    "downloadUrl": "https://openagent3.xyz/downloads/firm-security-audit",
    "agentUrl": "https://openagent3.xyz/skills/firm-security-audit/agent",
    "manifestUrl": "https://openagent3.xyz/skills/firm-security-audit/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/firm-security-audit/agent.md"
  }
}