Skip to content
Back to skills

Baseline Kit

ASecurity

OpenClaw 安全配置基线生成器和审计工具。生成开发/团队/企业/隔离环境的安全配置模板,并审计现有配置的安全问题(网络暴露、认证限流、技能来源限制、审计日志、备份策略、密钥卫生)。

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
securitybashnode

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill baseline-kit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Baseline Kit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Baseline Kit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-baseline-kit/badge)](https://www.skillsdirectory.com/skills/modbender-baseline-kit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: baseline-kit
description: OpenClaw 安全配置基线生成器和审计工具。生成开发/团队/企业/隔离环境的安全配置模板,并审计现有配置的安全问题(网络暴露、认证限流、技能来源限制、审计日志、备份策略、密钥卫生)。
metadata: {"openclaw":{"emoji":"🧱"}}
---

# Baseline Kit

OpenClaw 安全配置基线生成器和审计工具。

## 功能

- **generate**: 按场景生成安全配置模板
- **audit**: 审计现有配置的安全合规性

## 配置场景

| 场景 | 特点 |
|------|------|
| development | 宽松限流(20次/分钟),7天日志保留 |
| team | 中等限流(10次/分钟),30天日志保留 |
| enterprise | 严格限流(5次/5分钟),90天日志,含灾备 |
| airgapped | 仅本地回环,本地镜像源,180天日志 |

## 用法

### 生成安全配置

```bash
# 生成企业级配置
node bin/baseline-kit.js generate --profile enterprise --out ./openclaw.secure.json

# 生成开发环境配置
node bin/baseline-kit.js generate --profile development --out ./openclaw.dev.json
```

### 审计当前配置

```bash
# 表格输出
node bin/baseline-kit.js audit --config ~/.openclaw/openclaw.json --format table

# JSON 输出
node bin/baseline-kit.js audit --config ./openclaw.secure.json --format json
```

## 审计检查项

- `NET_EXPOSURE`: gateway.bind 是否仅限本地回环
- `AUTH_RATE_LIMIT`: 认证限流是否配置完整
- `SOURCE_RESTRICTION`: 技能来源限制是否过宽
- `AUDIT_LOGGING`: 审计日志是否启用
- `BACKUP_HINT`: 备份是否配置
- `SECRET_HYGIENE`: 配置中是否存在明文密钥

## 合规标签

每个发现项都标注了相关合规框架:SOC2、ISO27001、NIST CSF

Files in this skill

  • SKILL.md1.7 KB
  • bin/baseline-kit.js146 B
  • fixtures/insecure-openclaw.json199 B
  • fixtures/secure-openclaw.json391 B
  • package.json806 B
  • src/index.js10.2 KB
  • test.js1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.