微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

OpenClaw Security Suite

OpenClaw Security Suite · v0.2.3
安全 unknown 级 作者 xunxingyuan 公开目录收录
988 下载 0 安装 4k 收藏 1 浏览

简介

OpenClaw Security Suite

原始描述

Comprehensive security suite for OpenClaw skills. Includes static scanning (AST + keywords) and AI-powered semantic behavior review to detect malicious code.

通过你的 Agent 添加

安装目录:openclaw-security-suite/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/openclaw-security-suite/
Codex CLI~/.codex/skills/openclaw-security-suite/
DeepSeek Harness~/.agents/skills/openclaw-security-suite/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: openclaw-security-suite description: Comprehensive security suite for OpenClaw skills. Includes static scanning (AST + keywords) and AI-powered semantic behavior review to detect malicious code. version: 0.2.3 tags:

  • security
  • scanner
  • code-review
  • static-analysis
  • ai-review requirements: binaries:
    • node environment: [] input_schema: type: object properties: action: type: string enum: ["scan", "review"] description: Action to perform. "scan" for static analysis, "review" for AI semantic review. path: type: string description: Absolute path to the skill directory (for scan) or file (for review) required:
    • action
    • path

OpenClaw Security Suite

A comprehensive security protection layer for OpenClaw extensions, providing both static analysis and AI-assisted behavioral review.

Features

This suite bundles two core security capabilities:

1. Static Security Scan (action: "scan")

Analyzes a full skill directory for deterministic threats:

  • Blocked Imports: e.g., child_process, cluster
  • Dangerous Functions: e.g., exec(), spawn()
  • Known Bad Keywords: e.g., eval(, __proto__, rm -rf
  • Sensitive File Access: e.g., /etc/passwd, /.env
  • Suspicious Regex Patterns: e.g., curl ... | bash

2. AI Code Review (action: "review")

Uses the active LLM context (ctx.llm) to semantically analyze a specific file for hidden threats:

  • Data exfiltration
  • Credential leaks
  • Obfuscated shell execution
  • System modification

Usage

You must specify an action and a path.

Example 1: Static Scan

{
  "action": "scan",
  "path": "/path/to/skill/directory"
}

Example 2: AI Review

{
  "action": "review",
  "path": "/path/to/skill/index.ts"
}

Output

Scan Output:

{
  "safe": false,
  "results": [
    {
      "file": "index.ts",
      "issues": [{ "type": "blocked_module", "module": "child_process" }]
    }
  ]
}

Review Output:

{
  "risk_level": "high",
  "reason": "Code reads AWS credentials from environment and posts them to an external IP."
}

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill