openclaw-security-checker

openclaw-security-checker is a skill for Claude Code, Codex from jd-opensource/JoySafeter. It costs 39 tokens per session (2,213 once invoked), scanned A, original, Apache-2.0.

A security checker for OpenClaw installations, including their configuration, permissions, containers, network access, and logs.

In plain words
What is it for?
It is for reviewing an OpenClaw instance before and during use, checking security settings, file permissions, network rules, quarantine handling, and runtime integrity.
Why use it?
It helps identify exposed credentials, overly broad access, weak gateway settings, broken isolation, altered files, and suspicious activity.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit It is for reviewing an OpenClaw instance before and during use, checking…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jd-opensource/joysafeter/openclaw-security-checker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jd-opensource/JoySafeter --skill openclaw-security-checker
Clone the repo
git clone --depth 1 https://github.com/jd-opensource/JoySafeter

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for openclaw-security-checker

README.md
[![agentmods](https://agentmods.dev/badge/skills/jd-opensource/joysafeter/openclaw-security-checker.svg)](https://agentmods.dev/skills/jd-opensource/joysafeter/openclaw-security-checker)
Your own site
<a href="https://agentmods.dev/skills/jd-opensource/joysafeter/openclaw-security-checker"><img src="https://agentmods.dev/badge/skills/jd-opensource/joysafeter/openclaw-security-checker.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,213 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.02213
Opus 5 $0.00019 $0.01107
Sonnet 5 $0.00008 $0.00443
Haiku 4.5 $0.00004 $0.00221

Measured 7d ago against content hash c820db94455c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

openclaw-security-checker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/openclaw-security-checker/SKILL.md · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenClaw 安全检测器

基于《OpenClaw 极简安全实践指南》和《安全验证与攻防演练手册》的全面安全检测工具。对 OpenClaw 实例的配置、权限、隔离、网络、日志进行系统化审查,输出可量化的安全评分和修复建议。

Purpose

OpenClaw 实例运行在 Docker 容器中,每用户独占一个容器(JoySafeter 架构)。该技能负责对实例的安全面进行系统化检测,覆盖部署前配置审查、运行时权限验证、隔离区合规检查三个阶段。

Prerequisites

环境要求

  • OpenClaw 实例已部署并可访问(本地或容器内)
  • ~/.openclaw/ 目录有读取权限
  • openclaw.json 配置文件可读

目标实例信息

  • OpenClaw 版本号(openclaw --version
  • 部署模式:local / docker / kubernetes
  • Gateway 端口和绑定范围

Core Workflow

  1. 配置文件扫描: 解析 openclaw.json,检查 gateway 认证、绑定范围、工具权限、模型配置中的安全隐患。
  2. 凭证暴露检测: 扫描配置文件、环境变量、日志中是否存在明文 API Key、Token、密码。
  3. Gateway 安全审计: 验证 gateway 绑定地址、认证方式、CORS 白名单、trusted proxies 配置。
  4. 工具权限验证: 检查 tools.profile 设置,验证文件系统访问范围、命令执行权限、网络访问策略。
  5. 文件权限检查: 验证 ~/.openclaw/ 目录及关键文件的权限位,确保配置文件不可被其他用户读取。
  6. 隔离区合规检查: 扫描 _quarantine 目录,列出被隔离的技能及原因,验证隔离机制是否正常运作。
  7. 运行时完整性验证: 通过 SHA-256 哈希校验核心文件完整性,对比安装时的基线值。
  8. 日志审计分析: 检查最近操作日志中的可疑模式(大量失败请求、敏感操作、红线触发记录)。
  9. 网络策略检查: 验证出站网络请求白名单、DNS 解析范围、容器网络隔离状态。

检查项目详情

1. 配置安全检查

检查项 风险等级 检测规则 扣分
API Key 明文暴露 CRITICAL 正则匹配 sk-*, key-*, token: 等模式 -20
Gateway 绑定 0.0.0.0 HIGH 检查 gateway.bind 是否为 0.0.0.0lan -10
工具权限设为 full MEDIUM tools.profile === "full" -5
CORS 白名单过宽 MEDIUM allowedOrigins 包含 * -5
认证 Token 弱强度 HIGH Token 长度 < 32 或 entropy < 4.0 -10
禁用设备认证 HIGH dangerouslyDisableDeviceAuth: true -10
模型 context 过大 LOW contextWindow > 200000 -2
未配置 TLS MEDIUM Gateway 未启用 HTTPS -5
自动更新已禁用 LOW update.checkOnStart: false -3

2. 权限与隔离检查

检查项 风险等级 检测规则 扣分
配置文件权限过宽 HIGH openclaw.json 权限非 600/640 -10
工作区目录权限 MEDIUM /workspace/ 权限非 700/750 -5
以 root 运行 CRITICAL 当前进程 UID == 0 -20
文件系统未限制 HIGH tools.fs.workspaceOnly: false -10
隔离区异常 MEDIUM _quarantine 中存在未审查的技能 -5

3. 网络安全检查

检查项 风险等级 检测规则 扣分
trusted proxies 过宽 MEDIUM 包含 /8 大段网络 -5
出站无白名单 HIGH 未配置出站网络限制 -10
Gateway 暴露在公网 CRITICAL 端口可从容器外访问 -15

Read the full file on GitHub · 175 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 175 lines · 39 tokens per session scan A c820db94455c

Subscribe to this mod's changes

openclaw-security-checker is a skill published in the GitHub repository jd-opensource/JoySafeter (306 stars, last pushed 2d ago), licensed Apache-2.0. It adds 39 tokens to every session and 2,213 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skill-authoring

Author SKILL.md skills: frontmatter, validator limits, structure.

mateaix/mateclaw · 18 tokens

swarmclaw

AI agent runtime and multi-agent orchestration platform. Teaches agents how to use SwarmClaw's 6 primitive tools, persistent memory, dreaming, delegation, connectors, credentials, and the skill system. Use when an agent is running on SwarmClaw and needs to understand the platform's capabilities.

swarmclawai/swarmclaw · 67 tokens

xhs_note

A workflow for creating a Xiaohongshu post, a Chinese image-first social-media note, with short copy, hashtags, and at least three matching vertical images.

mateaix/mateclaw · 114 tokens

dingtalk_channel_connect

A browser-based setup guide for connecting a MateClaw assistant to DingTalk, a Chinese workplace messaging platform. It creates and configures a DingTalk application, then publishes the configuration.

mateaix/mateclaw · 38 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens