搜索

PythonReactSEOPDF
OpenClaw

Heimdall

Heimdall Security Scanner for AI Agent Skills

henrino30 来源安装数☆ 0 仓库 Stars

安装与使用

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

SkillHub CLI

skillhub install henrino3/heimdall

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

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

查看来源 ↗使用指南

技能说明

Heimdall - Security Scanner for AI Agent Skills

Scan OpenClaw skills for malicious patterns before installation. Context-aware scanning with AI-powered narrative analysis.

When to Use

Use Heimdall when:

  • Installing a new skill from ClawHub or GitHub
  • Reviewing skills before adding to your workspace
  • Auditing existing installed skills
  • Someone shares a skill URL and you want to verify it's safe

Commands

Basic Scan
~/clawd/skills/heimdall/scripts/skill-scan.py /path/to/skill
AI-Powered Analysis (Recommended)
~/clawd/skills/heimdall/scripts/skill-scan.py --analyze /path/to/skill

Requires OPENROUTER_API_KEY env var or ~/clawd/secrets/openrouter.key

Scan from URL
# Clone to temp, scan, delete
git clone https://github.com/user/skill /tmp/test-skill
~/clawd/skills/heimdall/scripts/skill-scan.py --analyze /tmp/test-skill
rm -rf /tmp/test-skill
Scan All Installed Skills
for skill in ~/clawd/skills/*/; do
  echo "=== $skill ==="
  ~/clawd/skills/heimdall/scripts/skill-scan.py "$skill"
done

Options

Flag Description
--analyze AI-powered narrative analysis (uses Claude)
--strict Ignore context, flag everything
--json Output as JSON
-v, --verbose Show all findings
--show-suppressed Show context-suppressed findings

What It Detects (100+ patterns)

🚨 Critical
  • credential_access: .env files, API keys, tokens, private keys
  • network_exfil: webhook.site, ngrok, requestbin
  • shell_exec: subprocess, eval, exec, pipe to bash
  • remote_fetch: curl/wget skill.md from internet
  • heartbeat_injection: HEARTBEAT.md modifications
  • mcp_abuse: no_human_approval, auto_approve
  • unicode_injection: Hidden U+E0001-U+E007F characters
🔴 High
  • supply_chain: External git repos, npm/pip installs
  • telemetry: OpenTelemetry, Signoz, Uptrace
  • crypto_wallet: BTC/ETH addresses, seed phrases
  • *...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/henrino3/heimdall
Version
—
Commit
50a9461fcfde8a72360e629c3282ecc86c270549
分类来源
rules
状态
active
可见性
public

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

README

Heimdall 🛡️

The Watchman of Asgard - Security Scanner for AI Agent Skills

Heimdall scans OpenClaw/Clawdbot skills for malicious patterns before installation. Context-aware scanning reduces false positives by ~85%.

v4.0 Features (NEW)

AI-Powered Analysis 🤖
skill-scan --analyze /path/to/skill

Generates a narrative security report that explains:

  • WHY each finding is dangerous
  • Attack scenarios and impact
  • What you're agreeing to by installing
  • Actionable recommendations

Example output:

============================================================
🔍 HEIMDALL SECURITY ANALYSIS 
============================================================

📁 Skill: suspicious-skill
⚡ Verdict: 🚨 HIGH RISK - Requires Significant Trust

## Summary
This skill installs code from an external company that can 
self-modify and sends telemetry to third-party servers.

## Key Risks

### 1. Data Exfiltration
OpenTelemetry sends execution traces to Signoz/Uptrace. 
YOUR agent's behavior → THEIR servers. 🚨

### 2. Supply Chain Attack Surface
- Git clones from: external repos
- Frequency: Install + during "self-evolution" cycles

## What You're Agreeing To
1. Installing their code
2. Letting it modify itself
3. Sending telemetry to them
4. Trusting their GitHub repo won't go malicious

## Recommendation
🔴 Don't install on any machine with real data/keys.
✅ Safe only on: air-gapped VM, no secrets, no API keys
============================================================
v3.0 Pattern Detection
Category Source Detects
🌐 Remote Fetch Willison curl skill.md from internet
💓 Heartbeat Injection Willison HEARTBEAT.md modifications
🔧 MCP Tool Abuse PromptArmor no_human_approval, auto_approve
🏷️ Unicode Tags Willison Hidden U+E0001-U+E007F characters
⚡ Auto-Approve LLMSecurity always allow, curl | bash patterns
💰 Crypto Wallets opensourcemalware BTC/ETH address e...

来源内容

SKILL.md
# Heimdall - Security Scanner for AI Agent Skills

Scan OpenClaw skills for malicious patterns before installation. Context-aware scanning with AI-powered narrative analysis.

## When to Use

Use Heimdall when:
- Installing a new skill from ClawHub or GitHub
- Reviewing skills before adding to your workspace
- Auditing existing installed skills
- Someone shares a skill URL and you want to verify it's safe

## Commands

### Basic Scan
```bash
~/clawd/skills/heimdall/scripts/skill-scan.py /path/to/skill
```

### AI-Powered Analysis (Recommended)
```bash
~/clawd/skills/heimdall/scripts/skill-scan.py --analyze /path/to/skill
```
Requires `OPENROUTER_API_KEY` env var or `~/clawd/secrets/openrouter.key`

### Scan from URL
```bash
# Clone to temp, scan, delete
git clone https://github.com/user/skill /tmp/test-skill
~/clawd/skills/heimdall/scripts/skill-scan.py --analyze /tmp/test-skill
rm -rf /tmp/test-skill
```

### Scan All Installed Skills
```bash
for skill in ~/clawd/skills/*/; do
  echo "=== $skill ==="
  ~/clawd/skills/heimdall/scripts/skill-scan.py "$skill"
done
```

## Options

| Flag | Description |
|------|-------------|
| `--analyze` | AI-powered narrative analysis (uses Claude) |
| `--strict` | Ignore context, flag everything |
| `--json` | Output as JSON |
| `-v, --verbose` | Show all findings |
| `--show-suppressed` | Show context-suppressed findings |

## What It Detects (100+ patterns)

### 🚨 Critical
- **credential_access**: .env files, API keys, tokens, private keys
- **network_exfil**: webhook.site, ngrok, requestbin
- **shell_exec**: subprocess, eval, exec, pipe to bash
- **remote_fetch**: curl/wget skill.md from internet
- **heartbeat_injection**: HEARTBEAT.md modifications
- **mcp_abuse**: no_human_approval, auto_approve
- **unicode_injection**: Hidden U+E0001-U+E007F characters

### 🔴 High
- **supply_chain**: External git repos, npm/pip installs
- **telemetry**: OpenTelemetry, Signoz, Uptrace
- **crypto_wallet**: BTC/ETH addresses, seed phrases
- *...
README
# Heimdall 🛡️

The Watchman of Asgard - Security Scanner for AI Agent Skills

Heimdall scans OpenClaw/Clawdbot skills for malicious patterns before installation. Context-aware scanning reduces false positives by ~85%.

## v4.0 Features (NEW)

### AI-Powered Analysis 🤖

```bash
skill-scan --analyze /path/to/skill
```

Generates a **narrative security report** that explains:
- WHY each finding is dangerous
- Attack scenarios and impact
- What you're agreeing to by installing
- Actionable recommendations

**Example output:**
```
============================================================
🔍 HEIMDALL SECURITY ANALYSIS 
============================================================

📁 Skill: suspicious-skill
⚡ Verdict: 🚨 HIGH RISK - Requires Significant Trust

## Summary
This skill installs code from an external company that can 
self-modify and sends telemetry to third-party servers.

## Key Risks

### 1. Data Exfiltration
OpenTelemetry sends execution traces to Signoz/Uptrace. 
YOUR agent's behavior → THEIR servers. 🚨

### 2. Supply Chain Attack Surface
- Git clones from: external repos
- Frequency: Install + during "self-evolution" cycles

## What You're Agreeing To
1. Installing their code
2. Letting it modify itself
3. Sending telemetry to them
4. Trusting their GitHub repo won't go malicious

## Recommendation
🔴 Don't install on any machine with real data/keys.
✅ Safe only on: air-gapped VM, no secrets, no API keys
============================================================
```

### v3.0 Pattern Detection

| Category | Source | Detects |
|----------|--------|---------|
| 🌐 Remote Fetch | Willison | curl skill.md from internet |
| 💓 Heartbeat Injection | Willison | HEARTBEAT.md modifications |
| 🔧 MCP Tool Abuse | PromptArmor | no_human_approval, auto_approve |
| 🏷️ Unicode Tags | Willison | Hidden U+E0001-U+E007F characters |
| ⚡ Auto-Approve | LLMSecurity | always allow, curl \| bash patterns |
| 💰 Crypto Wallets | opensourcemalware | BTC/ETH address e...

相关技能

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

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

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

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.