微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

LYGO Skill Gate

LYGO Skill Gate · v1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
安全 unknown 级 作者 deepseekoracle 公开目录收录
102 下载 0 安装 438 收藏 2 浏览

简介

LYGO Skill Gate

原始描述

LYGO Skill Gate — local pre-install skill risk scanner for OpenClaw/ClawHub packages. Scan any skill folder before you install or trust it: subprocess/shell, network/HTTP, secrets in source, eval/exec, webhook/exfil hints, permission-claim mismatches. Use when auditing ClawHub skills, reviewing SKILL.md safety, safe install checks, malware triage, or SkillSpector-style local gates. Pure stdlib. No network, no subprocess, no auto-install. Install clawhub:@deepseekoracle/lygo-skill-gate.

通过你的 Agent 添加

安装目录:lygo-skill-gate/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/lygo-skill-gate/
Codex CLI~/.codex/skills/lygo-skill-gate/
DeepSeek Harness~/.agents/skills/lygo-skill-gate/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: lygo-skill-gate description: "LYGO Skill Gate — local pre-install skill risk scanner for OpenClaw/ClawHub packages. Scan any skill folder before you install or trust it: subprocess/shell, network/HTTP, secrets in source, eval/exec, webhook/exfil hints, permission-claim mismatches. Use when auditing ClawHub skills, reviewing SKILL.md safety, safe install checks, malware triage, or SkillSpector-style local gates. Pure stdlib. No network, no subprocess, no auto-install. Install clawhub:@deepseekoracle/lygo-skill-gate." version: 1.0.0 license: MIT-0 metadata: openclaw: emoji: "🛂" homepage: "https://github.com/DeepSeekOracle/lygo-protocol-stack/tree/main/docs/skills/lygo-skill-gate" requires: anyBins: [python, python3] lygo: true security: true audit: true clawhub_safe_install: true signature: "Delta9Phi963-SKILL-GATE-v1.0.0" publisher: deepseekoracle permissions: network: false shell: false subprocess: false filesystem: read: "skill directory path you pass to scan" write: "skill state/ only with --i-consent" publish: false auto_install: false

LYGO Skill Gate v1.0.0

Scan before you install.

After ClawHavoc-style incidents, every human and every agent needs a local gate that reads a skill package and scores risk — without calling home, without running the skill.

Signature: Delta9Phi963-SKILL-GATE-v1.0.0
ClawHub: @deepseekoracle/lygo-skill-gate


Problem this solves

Who Need
Humans “Is this ClawHub skill safe to install?”
Agents “Before I load a skill tree, does code match its no-network / no-subprocess claims?”
Operators Reproducible risk band + findings list for audit logs

Searches: skill security, audit skill, safe install, clawhub malware, skillspector local, scan SKILL.md.


Install

npx clawhub@latest install deepseekoracle/lygo-skill-gate

Commands

cd path/to/lygo-skill-gate
python scripts/self_check.py

# Scan a skill by path
python scripts/skill_gate.py scan "I:/E Drive/.grok/skills/lygo-context-guard"

# Or by slug (searches common skill roots)
python scripts/skill_gate.py scan lygo-ops-detector

# Self-demo (scan this package)
python scripts/skill_gate.py self-demo

# Write report under state/ (consent)
python scripts/skill_gate.py scan ./some-skill --write last_scan.json --i-consent
Exit Meaning
0 clear / low
5 elevated or claim mismatch
10 high / critical — do not install casually
2 bad path / not a skill

What it checks

  • subprocess / os.system / Popen / shell=True
  • HTTP clients, sockets, webhooks
  • eval / exec, pickle, unsafe yaml
  • Hardcoded key-like strings
  • Destructive deletes, git push / auto-publish hints
  • Claim mismatch: frontmatter says network: false but code uses urlopen

Does not: download skills, install skills, execute scanned code, or phone home.


Pair with

Skill Role
lygo-context-guard Token budget + secret redact for prompts
lygo-ops-detector Discourse signal heuristics
lygo-kickstart-wizard Onboarding map

License

MIT-0.
Δ9Φ963 — verify before trust · local gate · human remains the publisher.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill