跳到正文
TakoAPI
返回技能列表

moltbot-security

由 nextfrontierbuilds 提供

Moltbook
2.3k下载量由 clawskills.sh 提供
3星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Security hardening guide for AI agents.

描述

该技能的功能

A configuration and hardening guide for OpenClaw and Moltbot AI agent gateways. Addresses publicly exposed gateways, which can leak API keys, conversation histories, and shell access to any internet scanner. Based on research that found 1,673+ exposed instances on Shodan.

It consolidates the most exploited gateway misconfigurations into a single audit command and config template, replacing ad-hoc research when deploying AI agents on cloud servers.

何时使用

  • Locking down an OpenClaw gateway before exposing it beyond localhost
  • Auditing an existing Moltbot setup for common misconfigurations
  • Setting up Tailscale to access your AI agent remotely without opening a public port
  • Hardening a cloud server running OpenClaw with UFW firewall rules
  • Preventing prompt injection attacks that exfiltrate private conversation histories

示例工作流

输入

User asks: audit my OpenClaw gateway and fix any security issues

智能体
  1. 1

    Runs openclaw security audit --deep to detect binding, auth, and permission issues

  2. 2

    Identifies gateway bound to all interfaces instead of loopback

  3. 3

    Applies openclaw security audit --deep --fix to correct file permissions and binding

  4. 4

    Generates a secure token with openssl rand -hex 32 and writes it to the config

  5. 5

    Verifies the updated config matches the secure defaults template

输出

Gateway rebound to loopback, auth token set, file permissions corrected to 600/700, mDNS broadcasting disabled

前置要求

  • Tailscale account (only required if using remote access via Tailscale)

安装

clawhub install nextfrontierbuilds/moltbot-security

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接