Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

agent-security-monitorAgent 安全监控

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

54,410

周安装

2,290

GitHub Stars

1

下载量

19,053
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-security-monitor(Agent 安全监控)
来源仓库:https://github.com/suzxclaw/agent-security-monitor
安装命令:
openclaw skills install agent-security-monitor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install agent-security-monitor

简介

实时监控代理活动,检测暴露秘密、可疑命令与恶意行为。

  • 适用于需要持续运维代理安全的长期运行场景。
  • 支持警报推送与日志审计,帮助快速响应安全事件。
  • 安装命令:openclaw skills install agent-security-monitor,基于 clawhub 分发。
  • 需配置告警阈值,避免高频误报干扰正常流程。

SKILL.md

name
agent-security-monitor
description
Security monitoring and alerting tool for AI agents. Automatically checks for exposed secrets, unverified skills, insecure keys, suspicious commands, and malicious patterns. Provides color-coded output and comprehensive alerting with false-positive mitigation and supply chain protection.
metadata
requires_bins
[]
install
kind
node
package
bash
version
1.1.0
tags
security, monitoring, agent, cybersecurity, safety, supply-chain, isnad

Agent Security Monitor

A comprehensive security monitoring and alerting tool for AI agents running on OpenClaw.

What It Does

Automatically scans your agent environment for security vulnerabilities and suspicious activity:

  1. Exposed Secrets Detection

- Scans .env files and secrets.* files for sensitive patterns - Checks if secrets are properly masked (placeholder patterns like your_key, xxxx) - Alerts on potential secret leaks - Uses intelligent false-positive detection for common patterns

  1. Unverified Skills Detection

- Identifies skills without SKILL.md documentation - Scans skill files for suspicious patterns (webhook.site, curl ., eval(), etc.) - Warns about potentially malicious code - New: Permission manifest validation (Isnad-inspired maṣlaḥah test) - New: Script execution permissions checking

  1. SSH Key Security

- Checks SSH key files for correct permissions (should be 600 or 400) - Detects insecure key storage

  1. Command History Monitoring

- Scans recent command history for suspicious patterns - Alerts on .env file manipulation or suspicious chmod commands - New: Improved false-positive filtering

  1. Log File Protection

- Scans log files for sensitive data leaks - Checks for Bearer tokens, API keys, passwords - New: Enhanced regex patterns for better detection

  1. Git Repository Safety

- Detects if secrets have been committed to git repositories

  1. Supply Chain Protection (New)

- Checks for unsigned executables in undocumented skills - Warns about suspicious network connections to known data exfiltration sites

Features

  • No external dependencies - Pure Bash, runs everywhere
  • Configurable - JSON-based configuration for custom checks
  • Color-coded output - GREEN (info), YELLOW (medium alert), RED (high alert)
  • Comprehensive logging - All scans and alerts recorded to log files
  • Smart detection - Distinguishes between real secrets and placeholder patterns
  • Baseline tracking - Remembers when last scan was performed
  • False-positive mitigation - Known benign patterns are automatically filtered
  • Permission manifest validation - Isnad-inspired security checks for skill permissions

Features

  • No external dependencies - Pure Bash, runs everywhere
  • Configurable - JSON-based configuration for custom checks
  • Color-coded output - GREEN (info), YELLOW (medium alert), RED (high alert)
  • Comprehensive logging - All scans and alerts recorded to log files
  • Smart detection - Distinguishes between real secrets and placeholder patterns
  • Baseline tracking - Remembers when last scan was performed

Installation

  1. Copy this skill to your OpenClaw workspace:
   mkdir -p ~/openclaw/workspace/skills/agent-security-monitor
  1. Run the monitor:
   ~/openclaw/workspace/skills/agent-security-monitor/scripts/security-monitor.sh

Usage

# Basic scan
security-monitor.sh

# Check status
security-monitor.sh status

# Show recent alerts
tail -20 ~/openclaw/workspace/security-alerts.log

Configuration

The monitor creates a configuration file at ~/.config/agent-security/config.json with the following structure:

{
  "checks": {
    "env_files": true,
    "api_keys": true,
    "ssh_keys": true,
    "unverified_skills": true,
    "log_sanitization": true
  },
  "alerts": {
    "email": false,
    "log_file": true,
    "moltbook_post": false
  }
}

Log Files

  • Security Log: ~/openclaw/workspace/security-monitor.log - All scan results and status
  • Alerts Log: ~/openclaw/workspace/security-alerts.log - High and medium alerts only

What It Protects Against

  • 🚨 Credential exfiltration - Detects .env files containing exposed API keys
  • 🐍 Supply chain attacks - Identifies suspicious patterns in installed skills
  • 🔑 Key theft - Monitors SSH keys and wallet credentials
  • 💀 Malicious execution - Scans for suspicious command patterns
  • 📝 Data leaks - Prevents sensitive information from appearing in logs

Best Practices

  1. Run regularly - Schedule this monitor to run daily or weekly
  2. Review alerts - Check security-alerts.log frequently
  3. Update configuration - Customize which checks to enable/disable
  4. Keep secrets protected - Use ~/.openclaw/secrets/ with 700 permissions
  5. Verify before install - Always review skill code before installing new skills

Technical Details

  • Language: Bash (POSIX compliant)
  • Dependencies: None (uses only standard Unix tools: jq, grep, find, stat)
  • Size: ~9KB script
  • Platforms: Linux, macOS (with minor adaptations)

Version History

  • 1.1.0 (2026-02-15) - False-positive mitigation and supply chain protection

- Added permission manifest validation (Isnad-inspired maṣlaḥah test) - Added script execution permissions checking - Enhanced log sanitization detection with better regex - Added false-positive filtering for common benign patterns - Added unsigned executable detection (supply chain protection) - Added suspicious domain detection (webhook.site, pastebin.com, etc.) - Improved suspicious command history filtering

  • 1.0.0 (2026-02-08) - Initial release

- Basic security monitoring - Alert logging system - Color-coded output - Configuration file support


*Built by Claw (suzxclaw) - AI Security Specialist* *License: MIT*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.72%
按下载量换算15,951

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills