本文へスキップ
Skillpedia
セキュリティ48k · #5380

openclaw-security-hardening

できること

このスキルは、OpenClawがインストールされている環境のセキュリティを強化するためのものです。サーバーに基本的なセキュリティ設定を適用し、アクセスを管理し、パスワードや秘密鍵を管理し、不正アクセスを防ぐようネットワークを構成します。

使う場面

  • ✓OpenClawを初めてインストールするとき。
  • ✓他の人がアクセスできるようにOpenClawを設定するとき。
  • ✓既存のOpenClaw環境のセキュリティを見直すとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/openclaw-security-hardening/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/openclaw-security-hardening/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“チームに公開する前に、OpenClawのセキュリティを強化するにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

OpenClawが動作するサーバーとネットワークに、一連のセキュリティルールを適用することで機能します。これには、システムを最新の状態に保つこと、誰がどのようにアクセスできるかを制限すること、機密情報を保護することが含まれます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

When to Use

  • Provisioning, hardening, or operating the infrastructure described in this skill within an authorized environment.

OpenClaw Security Hardening

Use this skill to reduce exposure in self-hosted OpenClaw deployments before opening access to teammates or external networks.

Build a Threat Model First

Map the highest-risk assets and paths:

  • Admin/API endpoints for OpenClaw
  • Provider API keys and model credentials
  • Prompt/response logs containing sensitive business data
  • Host-level access (SSH, local admin accounts, remote desktop)

Prioritize controls that reduce credential theft, remote code execution blast radius, and data exfiltration.

Apply Baseline Host Hardening

  1. Keep OS and package dependencies patched on a regular cadence.
  2. Run OpenClaw as a dedicated non-admin user account.
  3. Enable full-disk encryption and secure boot features where available.
  4. Remove unnecessary services and block inbound ports by default.
  5. Lock down remote admin (key-only SSH, no password login, limited source CIDRs).

Example Linux baseline checks:

id openclaw
sudo ss -tulpn
sudo ufw status verbose
sudo systemctl --failed

Harden Application Runtime

  • Bind OpenClaw to localhost or private VLAN by default.
  • Place a reverse proxy in front of OpenClaw for TLS, auth, and rate limits.
  • Enforce authentication on every non-health endpoint.
  • Disable debug/dev modes in persistent environments.
  • Restrict outbound egress to only required providers (LLM API, telemetry sink, package mirror).

Example reverse proxy controls to enforce:

  • TLS 1.2+ only
  • strict transport security header
  • request body size limits
  • request timeout and upstream timeout guardrails
  • per-IP and per-token rate limiting

Protect Secrets and Tokens

  • Store secrets in a vault or platform secret manager, not committed .env files.
  • Rotate provider and admin tokens on a fixed interval and after any incident.
  • Scope tokens minimally (least privilege, per-service keys).
  • Scan repos and deployment artifacts for leaked credentials before release.

Rotation checklist:

  1. Generate replacement key.
  2. Update runtime secret store.
  3. Restart or reload OpenClaw.
  4. Validate request success with new key.
  5. Revoke old key.

Segment Network Access

Use layered access patterns:

  • Tier 1 (private): OpenClaw service port reachable only from app/proxy subnet.
  • Tier 2 (operator): Admin plane reachable only from VPN/Tailscale/WireGuard.
  • Tier 3 (public): Expose only hardened reverse proxy with strict ACLs.

Do not publish raw OpenClaw service ports directly to the internet.

Add Detection and Recovery Paths

  • Centralize auth, error, and audit logs.
  • Alert on brute-force attempts, token failures, and unusual outbound traffic.
  • Capture immutable backup snapshots of configs and prompt data retention settings.
  • Test rollback and restore procedures every release cycle.

Minimum operational runbook:

  • service restart path
  • key revocation path
  • incident isolation path (network block + token disable)
  • known-good rollback version

Validation Checklist

  • All sensitive endpoints require auth and are unreachable without VPN or gateway policy.
  • Secrets are absent from repo history and plaintext shared directories.
  • Host firewall default deny is active for inbound traffic.
  • TLS termination and rate limits are active at ingress.
  • Rollback drill can restore service within target RTO.

Related Skills

  • openclaw-local-mac-mini (openclaw-local-mac-mini) - Local OpenClaw hosting setup
  • multi-tenant-llm-hosting (multi-tenant-llm-hosting) - Multi-tenant AI isolation patterns
  • zero-trust (zero-trust) - Private access and identity-aware network controls

When to Use

  • You are provisioning, configuring, or troubleshooting the infrastructure component covered by this skill (servers, storage, databases, networking, cloud, local AI).

Limitations

  • Infrastructure commands can disrupt services: confirm target host/scope and have backups/snapshots before mutating state.
  • Docs-only import: upstream scripts and templates not bundled.
よくある質問

「基本的なホストの制御」とは何ですか?

OpenClawがインストールされているコンピューターにおける、基本的なセキュリティ設定のことです。オペレーティングシステムを最新に保つことや、OpenClawを限られた権限で実行することなどが含まれます。

「ネットワークのセグメント化」とはどういう意味ですか?

ネットワークを階層に分けて構成し、本当に必要な人だけがOpenClawにアクセスできるようにすることです。権限のない人が侵入しにくくなります。

パスワードや鍵はどのように守られますか?

このスキルでは、パスワードや秘密鍵をプログラムのコードから離れた安全な場所に保管する方法や、盗まれないように定期的に変更する方法を説明します。

詳細

作者による元の説明

Harden OpenClaw self-hosted environments with baseline host controls, auth tightening, secret handling, network segmentation, and safe update/rollback workflows.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5380
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル