AgentSkillsCN

bootstrap-security

为新的OpenClaw实例进行一次性安全加固。安装ClawDex(恶意软件扫描器)和HiveFence(防止提示注入攻击的防御机制)。

SKILL.md
--- frontmatter
name: bootstrap-security
version: 1.0.0
description: One-shot security hardening for new OpenClaw instances. Installs ClawDex (malware scanner) and HiveFence (prompt injection defense).

Bootstrap Security 🛡️

This skill provides a single tool to harden a fresh OpenClaw installation by installing the standard security stack.

Tools

install_security_stack

Installs clawdex and hivefence from ClawHub.

Usage:

javascript
// Agent calls this to secure itself
install_security_stack()

Implementation: Runs the following commands:

  1. npx clawhub install clawdex (Malware scanning)
  2. npx clawhub install hivefence (Prompt injection defense)
  3. Verifies installation.

Manual Install

If you prefer to run it manually:

bash
npx clawhub install clawdex
npx clawhub install hivefence