← 返回
安全合规 中文

Security Sentinel

Scan the workspace for security vulnerabilities, exposed secrets, and misconfigurations.
在工作区中扫描安全漏洞、泄露的密钥和错误配置。
autogame-17
安全合规 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 1,007
下载
💾 21
安装
1
版本
#latest

概述

Security Sentinel

A unified security scanner for OpenClaw workspaces. Detects vulnerabilities in dependencies (npm audit), exposed secrets (regex patterns), and unsafe file permissions.

Usage

CLI

Run a full security scan:

node skills/security-sentinel/index.js

This will output a JSON report to stdout.

If risks are detected (high/critical vulnerabilities, secrets, or bad permissions), it exits with code 1.

Options

  • --skip-audit: Skip the npm audit step (faster)
  • --no-fail: Do not exit with code 1 even if risks are detected (useful for monitoring only)

Programmatic

const sentinel = require('./skills/security-sentinel');

const report = await sentinel.scan();

if (report.status === 'risk_detected') {
  console.error('Security issues found:', report);
}

Features

  1. Dependency Audit: Runs npm audit to check package.json dependencies for known CVEs.
  2. Secret Detection: Scans workspace files for patterns resembling API keys, passwords, and private keys.
  3. Permission Check: Verifies critical files (package.json, .env) are not world-writable.

Configuration

  • Ignored Paths: node_modules, .git, logs, temp, .openclaw/cache.
  • Secret Patterns: Generic API Key, Password, Private Key, Feishu App Secret.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-29 03:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,506
ai-intelligence

Evolver

autogame-17
AI智能体自我进化引擎。分析运行时历史识别改进点,应用协议约束进化。与EvoMap通信...
★ 91 📥 76,973
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,718