ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

yeeth-claw

Supply chain security hooks for Claude Code. Intercepts npm, pip, yarn, pnpm, and cargo install commands before execution and checks each package for supply chain risk signals: package age (new packages flagged/blocked), typosquat detection via Levenshtein distance against ~100 high-value targets per ecosystem, and install script presence. Optionally submits blocked packages to the Argus API for full static analysis.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bkojusner/yeeth-claw
Or

yeeth-claw

Claude Code hooks for supply chain security. Intercepts package installation commands and flags suspicious packages before Claude executes them.

Hooks

OpenClaw

PreToolUse hook that watches npm install, pip install, yarn add, pnpm add, and cargo add commands. For each package it checks:

  1. Package age — packages published < 30 days ago are flagged; < 7 days triggers a block
  2. Typosquat detection — Levenshtein distance against ~100 high-value targets per ecosystem (npm, PyPI, crates.io)
  3. Install scripts — postinstall hooks on flagged packages are noted as an additional risk signal

Risk tiers:

TierConditionExit code
WARNAge < 30d or typosquat score ≥ 0.651 (non-blocking)
BLOCKAge < 7d and typosquat hit, or score ≥ 0.852 (blocks install)
ARGUSAny BLOCK + Argus API configured2 + submits for full analysis

Installation

git clone https://github.com/yeeth-security/yeeth-claw.git
cd yeeth-claw/hooks/openclaw
bash install.sh

The install script copies the hook to ~/.claude/hooks/openclaw/ and merges the Claude Code settings if jq is available.

Restart Claude Code after installation for the hook to take effect.

Argus Integration

To enable full package analysis via the Argus API:

export OPENCLAW_ARGUS_URL=https://app.yeethsecurity.com
export OPENCLAW_ARGUS_KEY=<your-api-key>

When both are set, any BLOCK-tier package is submitted to Argus for full static analysis and the job URL is included in the block message.

Requirements

  • Python 3.8+
  • No third-party dependencies (stdlib only)

Claude Code settings snippet

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 ~/.claude/hooks/openclaw/hook.py"
          }
        ]
      }
    ]
  }
}

Metadata

Author@bkojusner
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bkojusner-yeeth-claw": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.