搜索

PythonReactSEOPDF
OpenClaw

Clawskillshield

ClawSkillShield 🛡️

abyousef7390 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install abyousef739/clawskillshield

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

ClawSkillShield 🛡️

Local-first security scanner for OpenClaw/ClawHub skills.

What It Does

  • Static analysis for security risks and malware patterns
  • Detects:
    • Hardcoded secrets (API keys, credentials, private keys)
    • Risky imports (os, subprocess, socket, ctypes)
    • Dangerous calls (eval(), exec(), open())
    • Obfuscation (base64 blobs, suspicious encoding)
    • Hardcoded IPs
  • Risk scoring (0–10) + detailed threat reports
  • Quarantine high-risk skills automatically

Dual-Use Design

  • CLI for humans: Quick safety checks before installing skills
  • Agent API: Importable functions for autonomous agents/Moltbots to proactively scan and quarantine risky skills (essential post-ClawHavoc)

Quick Start

CLI (Humans)
pip install -e .
clawskillshield scan-local /path/to/skill
clawskillshield quarantine /path/to/skill
Python API (Agents)
from clawskillshield import scan_local, quarantine

threats = scan_local("/path/to/skill")
if risk_score < 4:  # HIGH RISK
    quarantine("/path/to/skill")

Zero Dependencies

Pure Python. No network calls. Runs entirely locally.

Why This Matters

ClawHavoc demonstrated how easily malicious skills can slip into the ecosystem. ClawSkillShield provides a trusted, open-source defense layer—audit the code, run offline, stay safe.


GitHub: https://github.com/AbYousef739/clawskillshield
License: MIT
Author: Ab Yousef
Contact: contact@clawskillshield.com

来源信息

Source
github
Repository
openclaw/skills
Path
skills/abyousef739/clawskillshield
Version
—
Commit
61d02c0eebd3b3a227cdb639c93c251a320e0d06
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

ClawSkillShield v0.1.1

Local-first security scanner for OpenClaw/ClawHub skills built for BOTH humans AND autonomous agents/Moltbots.

Post-ClawHavoc essential: Static analysis to catch malware/risks before install.

What It Detects

  • Hardcoded secrets AWS keys, API credentials, private keys
  • Dangerous calls eval(), exec(), open(), high-risk functions
  • Risky imports os, subprocess, socket, ctypes
  • Obfuscation Large base64 blobs, suspicious encoding
  • Hardcoded IPs Potential exfiltration vectors
  • Zero dependencies Pure Python, safe for agent/human use

Why dual-use? Humans get simple CLI safety checks; autonomous agents/Moltbots get importable functions for proactive self-defense.

Installation

pip install -e .

Quick Start (CLI)

# Scan a folder/skill
clawskillshield scan-local /path/to/skill

# Quarantine high-risk code
clawskillshield quarantine /path/to/skill

Examples

Safe Scan (Low Risk)

Scanning a legitimate skill with normal file I/O:

$ clawskillshield scan-local .

============================================================
ClawSkillShield Report: .
============================================================

 MODERATE RISK - Review
Risk Score: 5.5/10.0

------------------------------------------------------------
Threats Found:
------------------------------------------------------------

 [WARNING] Risky import: os
  File: .\clawskillshield\analyzer.py
   Line: 4
   Direct OS access

 [WARNING] Dangerous call: open()
  File: .\clawskillshield\analyzer.py
   Line: 19
   Arbitrary execution or sensitive access

 [WARNING] Risky import: os
  File: .\clawskillshield\skill.py
   Line: 4
   Direct OS access

============================================================
High-Risk Detection

Scanning code with malware patterns:

$ clawskillshield scan-local ../test-risky

========================================================...

来源内容

SKILL.md
# ClawSkillShield 🛡️

**Local-first security scanner for OpenClaw/ClawHub skills.**

## What It Does

- **Static analysis** for security risks and malware patterns
- **Detects**:
  - Hardcoded secrets (API keys, credentials, private keys)
  - Risky imports (`os`, `subprocess`, `socket`, `ctypes`)
  - Dangerous calls (`eval()`, `exec()`, `open()`)
  - Obfuscation (base64 blobs, suspicious encoding)
  - Hardcoded IPs
- **Risk scoring** (0–10) + detailed threat reports
- **Quarantine** high-risk skills automatically

## Dual-Use Design

- **CLI for humans**: Quick safety checks before installing skills
- **Agent API**: Importable functions for autonomous agents/Moltbots to proactively scan and quarantine risky skills (essential post-ClawHavoc)

## Quick Start

### CLI (Humans)
```bash
pip install -e .
clawskillshield scan-local /path/to/skill
clawskillshield quarantine /path/to/skill
```

### Python API (Agents)
```python
from clawskillshield import scan_local, quarantine

threats = scan_local("/path/to/skill")
if risk_score < 4:  # HIGH RISK
    quarantine("/path/to/skill")
```

## Zero Dependencies
Pure Python. No network calls. Runs entirely locally.

## Why This Matters
ClawHavoc demonstrated how easily malicious skills can slip into the ecosystem. ClawSkillShield provides a trusted, open-source defense layer—audit the code, run offline, stay safe.

---

**GitHub**: https://github.com/AbYousef739/clawskillshield  
**License**: MIT  
**Author**: Ab Yousef  
**Contact**: contact@clawskillshield.com
README
# ClawSkillShield  v0.1.1

**Local-first security scanner for OpenClaw/ClawHub skills  built for BOTH humans AND autonomous agents/Moltbots.**

Post-ClawHavoc essential: Static analysis to catch malware/risks before install.

## What It Detects

-  **Hardcoded secrets**  AWS keys, API credentials, private keys
-  **Dangerous calls**  `eval()`, `exec()`, `open()`, high-risk functions
-  **Risky imports**  `os`, `subprocess`, `socket`, `ctypes`
-  **Obfuscation**  Large base64 blobs, suspicious encoding
-  **Hardcoded IPs**  Potential exfiltration vectors
-  **Zero dependencies**  Pure Python, safe for agent/human use

**Why dual-use?** Humans get simple CLI safety checks; autonomous agents/Moltbots get importable functions for proactive self-defense.

## Installation

```bash
pip install -e .
```

## Quick Start (CLI)

```bash
# Scan a folder/skill
clawskillshield scan-local /path/to/skill

# Quarantine high-risk code
clawskillshield quarantine /path/to/skill
```

## Examples

###  Safe Scan (Low Risk)
Scanning a legitimate skill with normal file I/O:

```bash
$ clawskillshield scan-local .

============================================================
ClawSkillShield Report: .
============================================================

 MODERATE RISK - Review
Risk Score: 5.5/10.0

------------------------------------------------------------
Threats Found:
------------------------------------------------------------

 [WARNING] Risky import: os
  File: .\clawskillshield\analyzer.py
   Line: 4
   Direct OS access

 [WARNING] Dangerous call: open()
  File: .\clawskillshield\analyzer.py
   Line: 19
   Arbitrary execution or sensitive access

 [WARNING] Risky import: os
  File: .\clawskillshield\skill.py
   Line: 4
   Direct OS access

============================================================
```

###  High-Risk Detection
Scanning code with malware patterns:

```bash
$ clawskillshield scan-local ../test-risky

========================================================...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.