搜索

PythonReactSEOPDF
OpenClaw

skills-firewall

Security firewall for skills that automatically blocks and filters malicious or potentially harmful skills. Use when: (1) Scanning skills for security threats. (2) Checking if a skill is safe to use. (3) Filtering multiple skills based on security rules. (4) Generating security reports for skills. (5) Managing allowed/blocked skill lists. (6) Reviewing skills before installation or execution.

huzibbs0 来源安装数☆ 0 仓库 Stars

安装与使用

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

SkillHub CLI

skillhub install huzibbs/skills-firewall

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

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

查看来源 ↗使用指南

技能说明

Skills Firewall

A security firewall that automatically blocks and filters malicious or potentially harmful skills by analyzing code patterns, detecting security threats, and enforcing security policies.

Quick Start

Scan a Single Skill
python scripts/scan_skill.py /path/to/skill
Check Firewall Decision
python scripts/firewall_check.py /path/to/skill
Generate Security Report
python scripts/generate_report.py /path/to/skills --format text

Core Workflows

1. Security Scanning

Scan skills for potential security threats:

# Scan single skill
python scripts/scan_skill.py ./my-skill

# Scan all skills in directory
python scripts/scan_skill.py ./skills

# JSON output for automation
python scripts/scan_skill.py ./my-skill --json

Threat Levels:

  • SAFE - No security concerns
  • LOW - Minor concerns, generally safe
  • MEDIUM - Moderate concerns, review recommended
  • HIGH - Significant risks, blocking recommended
  • CRITICAL - Severe threats, must block
2. Firewall Filtering

Check and filter skills based on security rules:

# Check single skill
python scripts/firewall_check.py ./my-skill

# Filter all skills
python scripts/firewall_check.py ./skills

# Add to allowed list
python scripts/firewall_check.py ./my-skill --allow

# Add to blocked list
python scripts/firewall_check.py ./my-skill --block

Actions:

  • allow - Skill passes firewall
  • warn - Skill has warnings but allowed
  • block - Skill is blocked
  • quarantine - Skill isolated for review
3. Security Reports

Generate comprehensive security reports:

# Text report
python scripts/generate_report.py ./skills

# JSON report
python scripts/generate_report.py ./skills --format json

# HTML report
python scripts/generate_report.py ./skills --format html --output report.html

Detection Categories

The firewall detects threats in these categories:

| Category | Examples | Severity | |-------...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/huzibbs/skills-firewall
Version
—
Commit
6e25952d0944ca53fecf5522d9509d347a4698c9
分类来源
rules
状态
active
可见性
public

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

来源内容

SKILL.md
# Skills Firewall

A security firewall that automatically blocks and filters malicious or potentially harmful skills by analyzing code patterns, detecting security threats, and enforcing security policies.

## Quick Start

### Scan a Single Skill

```bash
python scripts/scan_skill.py /path/to/skill
```

### Check Firewall Decision

```bash
python scripts/firewall_check.py /path/to/skill
```

### Generate Security Report

```bash
python scripts/generate_report.py /path/to/skills --format text
```

## Core Workflows

### 1. Security Scanning

Scan skills for potential security threats:

```bash
# Scan single skill
python scripts/scan_skill.py ./my-skill

# Scan all skills in directory
python scripts/scan_skill.py ./skills

# JSON output for automation
python scripts/scan_skill.py ./my-skill --json
```

**Threat Levels:**
- `SAFE` - No security concerns
- `LOW` - Minor concerns, generally safe
- `MEDIUM` - Moderate concerns, review recommended
- `HIGH` - Significant risks, blocking recommended
- `CRITICAL` - Severe threats, must block

### 2. Firewall Filtering

Check and filter skills based on security rules:

```bash
# Check single skill
python scripts/firewall_check.py ./my-skill

# Filter all skills
python scripts/firewall_check.py ./skills

# Add to allowed list
python scripts/firewall_check.py ./my-skill --allow

# Add to blocked list
python scripts/firewall_check.py ./my-skill --block
```

**Actions:**
- `allow` - Skill passes firewall
- `warn` - Skill has warnings but allowed
- `block` - Skill is blocked
- `quarantine` - Skill isolated for review

### 3. Security Reports

Generate comprehensive security reports:

```bash
# Text report
python scripts/generate_report.py ./skills

# JSON report
python scripts/generate_report.py ./skills --format json

# HTML report
python scripts/generate_report.py ./skills --format html --output report.html
```

## Detection Categories

The firewall detects threats in these categories:

| Category | Examples | Severity |
|-------...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.