Skip to content
Back to skills

Crabukit

FSecurity

Security scanner for OpenClaw skills with Clawdex integration. Analyzes SKILL.md and scripts for dangerous permissions, hardcoded secrets, shell injection vulnerabilities, and malicious code patterns. Automatically uses Clawdex database if installed for known-malicious skill detection. Use when (1) installing a skill from an untrusted source, (2) developing a skill before publishing, (3) auditing installed skills, or (4) running CI/CD security checks.

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
securityrustgoshellbashnodegitapidatabaseci/cdsecurity

Works with

  • api

Security analysis

F31/100
  • criticalPipes output to a shell interpreter
  • highPerforms destructive filesystem operations
  • criticalDownloads and executes remote scripts โ€” classic supply chain attack
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill crabukit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Crabukit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Crabukit
[![Security: F โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-crabukit/badge)](https://www.skillsdirectory.com/skills/modbender-crabukit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: crabukit
description: Security scanner for OpenClaw skills with Clawdex integration. Analyzes SKILL.md and scripts for dangerous permissions, hardcoded secrets, shell injection vulnerabilities, and malicious code patterns. Automatically uses Clawdex database if installed for known-malicious skill detection. Use when (1) installing a skill from an untrusted source, (2) developing a skill before publishing, (3) auditing installed skills, or (4) running CI/CD security checks.
metadata:
  clawdbot:
    emoji: "๐Ÿ”’"
    category: "security"
    files:
      - "pyproject.toml"
      - "crabukit/**/*.py"
      - "scripts/**/*"
      - "tests/**/*"
      - "README.md"
      - "LICENSE"
      - "CHANGELOG.md"
    install:
      - id: pip
        kind: pip
        package: .
        bins: [crabukit]
        label: Install crabukit from source
---

# ๐Ÿ”’ Crabukit

Security scanner for OpenClaw skills. Prevents installation of malicious or vulnerable skills by static analysis. **Integrates with Clawdex** for comprehensive protection.

## Quick Start

```bash
# Safely install a skill (scans before installing)
crabukit install youtube-summarize

# Scan a local skill before installing
crabukit scan ./suspicious-skill/

# Scan an installed skill
crabukit scan /opt/homebrew/lib/node_modules/clawdbot/skills/unknown-skill

# CI mode - fail on high severity or above
crabukit scan ./my-skill --fail-on=high

# List all detection rules
crabukit list-rules
```

## ๐Ÿ”Œ Clawdex Integration

Crabukit **automatically integrates with Clawdex** if installed:

```bash
# Install Clawdex for database-based protection
clawdhub install clawdex

# Now crabukit will:
# 1. Check Clawdex database (known 824+ malicious skills)
# 2. Run behavior analysis (zero-day detection)
# โ†’ Defense in depth!
```

**Layered Protection:**
- **Clawdex**: Database of known-bad skills (fast lookup)
- **Crabukit**: Behavior analysis for zero-days (static analysis)

## What It Detects

| Category | Issues |
|----------|--------|
| **External DB** | Known malicious skills (via Clawdex) |
| **Secrets** | Hardcoded API keys, private keys, passwords |
| **Code Injection** | `eval()`, `exec()`, `subprocess(shell=True)` |
| **Shell Risks** | `curl \| bash`, `rm -rf`, unquoted variables |
| **Permissions** | Dangerous tool requests without safety guidance |
| **Metadata** | Suspicious patterns in SKILL.md descriptions |

## Risk Scoring

Crabukit assigns a score (0-100) based on findings:

| Score | Level | Action |
|-------|-------|--------|
| 0 | Clean | Safe to install |
| 1-9 | Low | Minor issues |
| 10-24 | Medium | Review findings |
| 25-49 | High | Careful review required |
| 50+ | Critical | Do not install |

## Exit Codes

- `0` - Scan completed, no findings at or above `--fail-on` threshold
- `1` - Findings at or above threshold detected

## CI/CD Integration

```yaml
# .github/workflows/security.yml
- name: Scan skill
  run: |
    pip install crabukit
    crabukit scan ./my-skill --fail-on=medium
```

## Installation

```bash
# Via ClawdHub (when published)
clawdhub install crabukit

# Or via pip
pip install crabukit

# Or from source
git clone https://github.com/tnbradley/crabukit.git
cd crabukit
pip install -e .
```

Files in this skill

  • .github/workflows/ci.yml2.1 KB
  • .github/workflows/release.yml748 B
  • CHANGELOG.md2.9 KB
  • CONTRIBUTING.md3.3 KB
  • README.md6.5 KB
  • RESEARCH_SUMMARY.md6.1 KB
  • SECURITY.md4.2 KB
  • SKILL.md3.3 KB
  • crabukit/__init__.py81 B
  • crabukit/analyzers/__init__.py43 B
  • crabukit/analyzers/bash_static.py20.6 KB
  • crabukit/analyzers/permissions.py14.7 KB
  • crabukit/analyzers/python_ast.py16.9 KB
  • crabukit/cli.py7.5 KB
  • crabukit/external_scanners.py5.5 KB
  • crabukit/formatters/__init__.py26 B
  • crabukit/formatters/cli_table.py7 KB
  • crabukit/parsers/__init__.py32 B
  • crabukit/parsers/scripts.py2.9 KB
  • crabukit/parsers/skill_md.py12.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading commentsโ€ฆ