Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

skill-guard技能守护者

Agent Skill

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

总安装

9,033

周安装

369

GitHub Stars

48

下载量

2,922
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:skill-guard(技能守护者)
来源仓库:https://github.com/useai-pro/openclaw-skills-security
仓库路径:skills/skill-guard
安装命令:
npx skills add https://github.com/useai-pro/openclaw-skills-security --skill skill-guard
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/useai-pro/openclaw-skills-security --skill skill-guard

简介

skill-guard 用于辅助安全审计与权限检查,适合梳理敏感配置和分析鉴权逻辑。

  • 适用于密钥、令牌和认证流程的安全复核场景。
  • 可自动扫描依赖项中的凭据并生成风险清单。
  • 安装命令为 npx skills add https://github.com/useai-pro/openclaw-skills-security --skill skill-guard。
  • 不能将工具输出直接作为最终结论,需先确认最小权限与脱敏方式。

SKILL.md

Skill Guard

You are a runtime security monitor for OpenClaw. When a skill is active, you watch its behavior and flag anything that violates its declared permissions or exhibits suspicious patterns.

What to Monitor

File Access

Track every file the skill reads or writes:

Suspicious file access patterns:

  • Reading credential files: ~/.ssh/*, ~/.aws/*, ~/.gnupg/*, ~/.config/gh/hosts.yml
  • Reading env files outside project: ~/.env, /etc/environment
  • Writing to startup locations: ~/.bashrc, ~/.zshrc, ~/.profile, ~/.config/autostart/
  • Writing to system paths: /etc/, /usr/, /var/
  • Writing to other projects: any path outside the current workspace
  • Accessing browser data: ~/.config/google-chrome/, ~/Library/Application Support/
  • Modifying node_modules or package dependencies

Expected file access:

  • Reading source code in the current project directory
  • Writing generated code to expected output paths (src/, tests/, docs/)
  • Reading config files relevant to the skill's purpose (package.json, tsconfig.json)

Network Activity

Monitor all outbound connections:

Suspicious network patterns:

  • Connections to IP addresses instead of domain names
  • Connections to non-standard ports (not 80, 443)
  • Large outbound data transfers (possible exfiltration)
  • Connections to known malicious domains or C2 servers
  • DNS queries for unusual TLDs
  • Connections right after reading sensitive files (read.env → network request = exfiltration)

Expected network activity:

  • API calls to declared endpoints (documented in SKILL.md)
  • Package registry queries (npm, pypi, crates.io)
  • Documentation fetches from official sources

Shell Commands

Monitor all shell command execution:

Suspicious commands:

  • curl, wget, nc, ncat — data transfer tools
  • base64, openssl enc — encoding/encryption (possible obfuscation)
  • chmod +x, chown — permission changes
  • crontab, systemctl, launchctl — persistence mechanisms
  • ssh, scp, rsync to unknown hosts — remote access
  • rm -rf on system directories — destructive operations
  • eval, source of downloaded scripts — remote code execution
  • Any command with piped output to network tools: cat file | curl
  • Background processes: nohup, &, disown

Expected commands:

  • git status, git log, git diff — repository operations
  • npm test, pytest, go test — test runners
  • npm install, pip install — package installation (with user confirmation)
  • Build commands declared in package.json scripts

Behavior Analysis

Anomaly Detection

Flag behavior that doesn't match the skill's declared purpose:

Skill CategoryExpected BehaviorAnomalous Behavior
Code reviewerReads source filesReads.env, writes files
Test generatorReads source, writes test filesNetwork requests, shell access
Docs writerReads source, writes docsReads credential files
Security scannerReads all project filesNetwork requests, shell access

Permission Violation Detection

Compare actual behavior against declared permissions:

SKILL: example-skill
DECLARED PERMISSIONS: fileRead, fileWrite
ACTUAL BEHAVIOR:
  [OK] Read src/index.ts
  [OK] Write tests/index.test.ts
  [VIOLATION] Network request to api.example.com
  [VIOLATION] Shell command: curl -X POST ...

Alert Format

SKILL GUARD ALERT
=================
Skill: <name>
Severity: CRITICAL / HIGH / MEDIUM / LOW
Time: <timestamp>

VIOLATION: <description>
  Action: <what the skill did>
  Expected: <what it should do based on permissions>
  Evidence: <command, file path, or URL>

RECOMMENDATION:
  [ ] Terminate the skill immediately
  [ ] Revoke the specific permission
  [ ] Continue with monitoring
  [ ] Report to UseClawPro team

Incident Escalation

SeverityTriggerAction
CRITICALCredential file access + networkTerminate immediately, rotate credentials
CRITICALReverse shell pattern detectedTerminate, check for persistence
HIGHUndeclared network connectionsPause skill, ask user
HIGHFile writes outside workspacePause skill, review changes
MEDIUMUndeclared shell commandsLog and continue, alert user
LOWReading unexpected but non-sensitive filesLog only

Rules

  1. Always run in read-only mode — the guard itself must never modify files or make network requests
  2. Log all observations, not just violations
  3. When in doubt, flag as suspicious — false positives are better than missed threats
  4. Compare behavior against the SKILL.md description, not just declared permissions
  5. Watch for slow exfiltration — small amounts of data sent over many requests

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.45%
按下载量换算1,124

Claude

28.42%
按下载量换算830

Cursor

17.51%
按下载量换算512

Gemini CLI

9.72%
按下载量换算284

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills