← 返回 Skills 市场
maverick-software

OpenClaw VPS Server Hardening

作者 maverick-software · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
383
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-vps-hardening
功能描述
Harden a Hostinger VPS running OpenClaw agents against unauthorized access, brute force, and exposure. Use when securing a publicly-deployed OpenClaw instanc...
安全使用建议
This skill appears to be what it says: a system hardening workflow plus a script that should be run as root on the target VPS. Before installing/running: 1) Test in a snapshot or staging VM first (hardening changes, especially SSH port and firewall rules, can lock you out). 2) Always run the script with --dry-run first and verify Cloudflare Tunnel is active; the script itself warns and asks for confirmation if cloudflared is not running. 3) Manually verify SSH key presence and test SSH on the new port from a new terminal before closing the old session. 4) Review the script for small implementation issues (Fail2Ban config uses a literal ${SSH_PORT} which may not expand; backup/revert of sshd_config depends on date-based file names and can be brittle) and adjust if necessary. 5) Confirm OpenClaw's actual config directory and service name on your system (defaults point to /root/.openclaw and systemd unit openclaw) and pass --openclaw-dir / --openclaw-user if different. 6) Review Cloudflare Access/service-token guidance and ensure you rotate/revoke any service tokens and secure the Cloudflare account with MFA. If you are not comfortable with root-level changes, have an experienced sysadmin review and run these steps.
功能分析
Type: OpenClaw Skill Name: openclaw-vps-hardening Version: 1.0.0 The skill bundle's stated purpose is benign, focusing on VPS security hardening. However, the `scripts/harden.sh` file contains a critical shell injection vulnerability. The `run()` helper function uses `eval "$@"`, which allows arbitrary command execution if an attacker can control the script's arguments (e.g., `--ssh-port` or `--openclaw-dir`). While there is no evidence of intentional malicious behavior, this vulnerability poses a significant remote code execution risk.
能力评估
Purpose & Capability
Name/description match the included artifacts: the SKILL.md documents a Cloudflare-based hardening workflow and the repository contains a harden.sh script that implements UFW, SSH, Fail2Ban, OpenClaw binding, unattended upgrades, and file-permission changes. All requested actions are consistent with server hardening.
Instruction Scope
Instructions are focused on hardening and explicitly warn about lockout risk and the need to verify Cloudflare Tunnel before closing ports. The script runs as root and modifies system services and config files (expected). Minor issues: some configuration templates (Fail2Ban heredoc) include an unexpanded ${SSH_PORT} token (so the generated jail file may not contain the numeric port), and the sshd_config backup/revert logic uses the same date expression which can make automated revert brittle. These are operational bugs rather than evidence of malicious behavior, but they increase lockout risk if not tested.
Install Mechanism
No install spec; this is instruction-only with an included script. The script uses apt-get to install packages (ufw, fail2ban, unattended-upgrades) which is appropriate for the stated task. There are no downloads from untrusted URLs or archive extraction steps.
Credentials
The skill declares no environment variables or credentials. The SKILL.md and script do reference local files (OpenClaw config, cloudflared credentials) which is appropriate for a hardening tool. No external secrets or unrelated service credentials are requested.
Persistence & Privilege
always is false and the skill does not request persistent platform-level privileges or modify other skills' configurations. It makes system-level changes on the host when run as root (normal for a hardening script).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-vps-hardening
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-vps-hardening 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — 7-layer Cloudflare-based hardening strategy for OpenClaw VPS deployments. Includes automated harden.sh script, Cloudflare Access setup guide with phone app service tokens, and full threat model.
元数据
Slug openclaw-vps-hardening
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenClaw VPS Server Hardening 是什么?

Harden a Hostinger VPS running OpenClaw agents against unauthorized access, brute force, and exposure. Use when securing a publicly-deployed OpenClaw instanc... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 383 次。

如何安装 OpenClaw VPS Server Hardening?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-vps-hardening」即可一键安装,无需额外配置。

OpenClaw VPS Server Hardening 是免费的吗?

是的,OpenClaw VPS Server Hardening 完全免费(开源免费),可自由下载、安装和使用。

OpenClaw VPS Server Hardening 支持哪些平台?

OpenClaw VPS Server Hardening 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 OpenClaw VPS Server Hardening?

由 maverick-software(@maverick-software)开发并维护,当前版本 v1.0.0。

💬 留言讨论