← 返回
未分类 中文

Skill Security Auditor Jack

Audit third-party or custom skills for permission risk, unsafe commands, and integration safety. Use before: installing a new skill, enabling external script...
审计第三方或自定义技能的权限风险、不安全命令和集成安全性;在安装新技能或启用外部脚本前使用。
sunbinnju-star
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 385
下载
💾 1
安装
1
版本
#latest

概述

Skill Security Auditor

Audit skills for supply-chain, privilege, and automation risk before adoption.

Input

Required:

  • skill_manifest — the skill's SKILL.md or metadata
  • source_location — where the skill comes from (clawhub, git, local, unknown)
  • required_permissions — what permissions the skill requests
  • shell_commands — any shell/CLI commands referenced by the skill
  • env_usage — environment variables the skill reads or writes
  • install_steps — how the skill is installed / what it runs on install

Output Schema

risk_level: "low" | "medium" | "high" | "critical"

suspicious_actions: {
  action: string
  location: string
  severity: "warning" | "critical"
  description: string
  recommendation: string
}[]

over_privileged_points: {
  permission: string
  why_needed: string | null
  why_excessive: string
  recommendation: string
}[]

install_recommendation: "approve" | "approve_with_sandbox" | "reject" | "manual_review"

sandbox_recommendation: {
  recommended: boolean
  isolation_level: "none" | "process" | "network" | "full"
  reasons: string[]
} | null

audit_summary: string    # one paragraph honest summary

Risk Levels

LevelCriteria
-----------------
lowMinimal permissions, no shell, no env secrets, known source
mediumSome filesystem access or env usage, known source
highShell commands, broad permissions, or unknown source
criticalOpaque install scripts, secret access, eval/exec patterns

Suspicious Actions to Flag

  • eval, exec, Function() — code execution
  • curl / wget with pipe to shell — remote code download
  • chmod +x / sudo — privilege escalation
  • Reading ~/.ssh, /etc/passwd, environment secrets
  • Network calls to unknown hosts
  • Base64-encoded or obfuscated commands
  • Install scripts that fetch from unknown URLs

Over-Privileged Points to Flag

  • Filesystem access beyond the skill's stated scope
  • Broad read permissions on entire directories
  • write access to system paths
  • Environment variables containing tokens/keys
  • Network access not strictly needed for stated function

Source Trust Levels

SourceTrust
---------------
ClawHub verifiedmedium (review anyway)
Known git repomedium
Local skillhigh
Unknown URLlow
Copy-pasted codevery low

Rules

  1. Never default-approve high-privilege skills. Burden of proof is on the skill, not the auditor.
  2. Flag remote install scripts and opaque shell chains. If you can't see what runs, flag it.
  3. Flag access to secrets, env vars, filesystem, or network where not strictly needed.
  4. Recommend isolation for untrusted skills. Better safe than sorry.

Failure Handling

If source trust cannot be established:

  • Default to risk_level = "high" minimum
  • Recommend reject or manual_review
  • Do not fabricate a clean audit
  • Explicitly state what could not be verified

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 10:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Daily Loop Runner

sunbinnju-star
为单个活跃项目执行一次受控的每日项目循环。适用于:定时每日运行、计划器触发的项目步骤、项目恢复等。
★ 0 📥 365

Paper Ingest Normalizer

sunbinnju-star
将论文、PDF、URL和文献笔记规范化为结构化研究记录,以便项目记忆和检索。使用时机:(1) 新论文、PDF、DOI 或...
★ 0 📥 383

Watchdog Heartbeat

sunbinnju-star
监控服务健康、心跳新鲜度、工作流卡死情况,并触发恢复或降级模式。适用于高频调度、系统启动后等场景。
★ 0 📥 364