Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

skill-security-scanner-clean技能安全扫描仪清洁

Agent Skill

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

总安装

12,385

周安装

501

GitHub Stars

公开资料未说明

下载量

3,888
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install skill-security-scanner-clean

简介

OpenClaw 技能的安全扫描器,用于检测恶意后门与可疑代码模式。

  • 在安装、更新或审核技能时提供数据泄露与权限滥用防护。
  • 通过 clawhub 安装,使用 openclaw skills install skill-security-scanner-clean 命令。
  • 需确认权限范围和维护状态,避免触发联网或敏感文件操作。
  • 建议作为技能生态的安全基础设施长期启用。

SKILL.md

name
skill-security-scanner
description
Security scanner for OpenClaw skills. Use when installing, updating, or auditing skills to detect malicious backdoors, suspicious code patterns, data exfiltration risks, and security vulnerabilities. Automatically analyzes Python/JavaScript/Shell code for dangerous functions (eval, exec, system calls), network requests, file operations, environment variable access, obfuscation patterns, and known attack signatures. Provides security score and installation recommendations.

Skill Security Scanner

Protect your OpenClaw installation from malicious skills. This scanner performs static analysis on skill code to detect:

  • Code Execution Threats: eval, exec, os.system, subprocess calls
  • Data Exfiltration: Hidden network requests, suspicious URLs, IP connections
  • System Compromise: File deletion, permission changes, privilege escalation
  • Credential Theft: Environment variable access, secret harvesting
  • Cryptojacking: Mining malware, suspicious compute patterns
  • Obfuscation: Hidden code, base64 encoding, minification
  • Spyware: Keyloggers, screen capture, surveillance features

Quick Start

# Basic scan
python scripts/security_scanner.py /path/to/skill

# Strict mode (catches more suspicious patterns)
python scripts/security_scanner.py /path/to/skill --strict

# Save JSON report
python scripts/security_scanner.py /path/to/skill --format json -o report.json

# Generate markdown report
python scripts/security_scanner.py /path/to/skill --format markdown -o report.md

Understanding Results

Verdict Levels

VerdictEmojiMeaningAction
PASS🟢No critical issues foundSafe to install
REVIEW🟡Some concerns, review recommendedCheck findings before installing
WARNING🟠High-risk patterns detectedStrongly reconsider installation
REJECT🔴Critical threats identifiedDO NOT INSTALL

Security Score

  • 90-100: Excellent - minimal risk
  • 70-89: Good - minor issues
  • 50-69: Fair - requires review
  • 0-49: Poor - significant risks

Detection Rules

Critical (🔴)

RuleDescriptionExample
EXEC001Code execution functionseval(), exec(), compile()
SUSPICIOUS001Keylogger functionalitypynput, keyboard modules
SUSPICIOUS003Cryptocurrency miningmining, bitcoin, stratum+tcp

High (🟠)

RuleDescriptionExample
EXEC002System command executionos.system(), subprocess.call()
NET002Raw socket connectionssocket.connect()
ENV001Sensitive credential accessos.environ['PASSWORD']
OBF001Code obfuscationBase64, hex-encoded code
SUSPICIOUS002Screen capturepyautogui.screenshot()
NET004Short URL usagebit.ly, tinyurl links

Medium (🟡)

RuleDescriptionExample
NET001HTTP network requestsrequests.get(), fetch()
ENV002Environment enumerationos.environ.items()
FILE001File deletionos.remove(), shutil.rmtree()
DATA001Unsafe deserializationpickle.loads(), yaml.load()
NET003Hardcoded IP addressesDirect IP in URLs
OBF002Base64 encoded blocksLarge base64 strings

Low/Info (🔵/⚪)

RuleDescription
FILE002File write operations
CRYPTO001Cryptographic operations
DOC001Insufficient documentation
DOC002Missing security statements

Workflow

Before Installing a New Skill

  1. Download the skill to a temporary directory
  2. Run the security scanner
  3. Review the verdict:

- 🟢 PASS: Proceed with installation - 🟡 REVIEW: Examine findings, verify legitimate use - 🟠 WARNING: Only install from trusted sources - 🔴 REJECT: Do not install

  1. For 🟡/🟠 findings, manually review the flagged code
  2. Confirm the skill's behavior matches its documentation

Before Updating an Existing Skill

  1. Run scanner on the new version
  2. Compare results with previous version's scan
  3. Check for new critical/high findings
  4. Review any new network/file operations

Automated Integration

Add to your skill installation workflow:

import subprocess
import sys

def safe_install_skill(skill_path):
    # Run security scan
    result = subprocess.run(
        ['python', 'scripts/security_scanner.py', skill_path, '--format', 'json'],
        capture_output=True,
        text=True
    )
    
    import json
    report = json.loads(result.stdout)
    
    if report['summary']['verdict'] == 'REJECT':
        print("❌ Installation blocked: Critical security issues found")
        return False
    
    if report['summary']['verdict'] == 'WARNING':
        response = input("⚠️ High-risk patterns detected. Install anyway? (y/N): ")
        if response.lower() != 'y':
            return False
    
    # Proceed with installation
    return True

Handling False Positives

Some legitimate skills may trigger warnings:

  • Network requests: Skills that fetch data from APIs
  • File operations: Skills that modify documents
  • Encryption: Skills handling sensitive data

When you trust the source and understand the functionality, you can:

  1. Review the specific code flagged
  2. Verify it matches the documented purpose
  3. Manually approve if confident

Reporting Issues

If you find a skill with confirmed malicious intent:

  1. Do not install or run it
  2. Report to the skill repository/hosting platform
  3. Notify OpenClaw community channels
  4. Share scan report (without executing the skill)

Best Practices

  1. Only install skills from trusted sources
  2. Always scan before installing - even from trusted sources
  3. Review findings carefully - understand what the skill does
  4. Keep scanner updated - new detection rules added regularly
  5. Use strict mode for untrusted sources - catches more suspicious patterns
  6. Check skill updates - re-scan when updating existing skills

Exit Codes

The scanner returns specific exit codes:

CodeMeaning
0PASS or REVIEW - installation may proceed
1WARNING - high-risk patterns found
2REJECT - critical threats detected

Use in scripts:

python scripts/security_scanner.py ./skill || {
    echo "Security check failed"
    exit 1
}

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

75.91%
按下载量换算2,951

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills