is-skill-safe

Reviews a single Skill by analyzing its SKILL.md file and any associated scripts, explains the Skill's function, identifies potential security risks, and determines whether it can be used safely.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "is-skill-safe" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-96be34064720e647ea7c6b8235713470d243dab46490cb06de7c1628c85f86c9. Verify the upstream source and version against https://skillhub.cn/skills/user_5d0002c3/is-skill-safe before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Reviews a single Skill by analyzing its SKILL.md file and any associated scripts, explains the Skill's function, identifies potential security risks, and determines whether it can be used safely.

0 Downloads

Introduction source: third_party · user_5d0002c3 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
The script outputs: The name and description parsed from the skill's YAML frontmatter. Any risky patterns found in `SKILL.md` (e.g., `rm -rf`, `sudo`, `eval`). Per-script findings with severity level (HIGH / MEDIUM / LOW) and line numbers. A summary of total findings and suppressed items.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: is-skill-safe
description: 审查某个 Skill,分析其 SKILL.md 文件和任何关联的脚本。解释它的作用,识别任何潜在的安全风险,并告诉我它是否可以安全使用。

Is Skill Safe

This skill audits other skills by analyzing the SKILL.md file and any associated scripts to explain the skill's purpose, identify potential security risks, and provide a safety assessment.

How to Use

Step 1: Run the Audit Script

Use the shell tool to run audit_skill.py against the target skill directory:

python <path_to_this_skill>/scripts/audit_skill.py <path_to_target_skill>

Step 2: Analyze the Output

The script outputs:

  • The name and description parsed from the skill's YAML frontmatter.
  • Any risky patterns found in SKILL.md (e.g., rm -rf, sudo, eval).
  • Per-script findings with severity level (HIGH / MEDIUM / LOW) and line numbers.
  • A summary of total findings and suppressed items.

Step 3: Provide a Summary

Synthesize the findings into a clear report covering:

  1. Explanation of Purpose — What does the skill do?
  2. Security Risks Identified — List findings and explain why they are risky in context.
  3. Safety Assessment — Is the skill safe to use? If risks exist, advise on mitigation.

Allowlist (False Positive Suppression)

Some flagged patterns may be intentional and safe in context. Three suppression mechanisms are available:

1. Inline suppression (per-line)

Add a comment at the end of any line in the target skill's scripts:

result = open("output.txt", "w")  # nosec
result = open("output.txt", "w")  # audit: ignore

2. .audit_ignore file (per-skill)

Place a .audit_ignore file in the target skill's root directory. Each non-empty, non-comment line is a regex pattern matched against finding descriptions. Matching findings are suppressed globally for that skill.

# .audit_ignore example
# Allow open() writes — skill only writes to its own output directory
open\(.*'w'

# Allow random module — used for non-security shuffle only
random\.\*

Then run the audit normally:

python <path_to_this_skill>/scripts/audit_skill.py <path_to_target_skill>

3. CLI --allow flag

Pass one or more --allow <pattern> arguments to suppress matching findings on the fly:

python <path_to_this_skill>/scripts/audit_skill.py <path_to_target_skill> \
  --allow "random\.\*" \
  --allow "open\("

Multiple --allow flags can be combined. Suppressed findings are counted and shown in the summary.


Important Considerations

  • Static Analysis Limitations: The script uses regex-based pattern matching. It may produce false positives (flagging safe code) or false negatives (missing obfuscated code).
  • Manual Review: Always supplement script findings with your own code review. If subprocess.run is flagged, check what command it runs. If a file write is flagged, check where and what it writes.
  • Context Matters: Operations like writing to a file or making an HTTP request can be perfectly normal. Evaluate risk in the context of the skill's stated purpose.
  • Allowlist Responsibility: Suppressing a finding does not make the code safe — it means you have reviewed and accepted the risk. Document your reasoning in .audit_ignore comments.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供 Skill 安全审计功能,对平台生态具有重要价值
  • 面向 Skill 开发者和使用者,受众明确
  • 功能实用,能识别常见安全风险模式
Trigger Precision88/100

Highlights

  • description 清晰完整,准确描述核心功能
  • 触发词覆盖合理,边界清晰
  • 用户能准确理解 Skill 的用途
Structure and Standards92/100

Areas to improve

  • 缺少显式 When to Use 章节 Reported severity: Minor

    文档使用 How to Use 而非标准 When to Use 章节

    Recommendation: 建议将 How to Use 改为 When to Use 以符合规范

Highlights

  • 文档结构清晰,步骤完整
  • 包含详细的使用示例和说明
  • frontmatter 完整规范
  • 提供了三种 suppression 机制的详细说明
Execution Reliability75/100

Areas to improve

  • 未说明脚本依赖和运行环境 Reported severity: Minor

    未提及 audit_skill.py 脚本的 Python 版本要求和依赖库

    Recommendation: 建议在文档中补充脚本的运行环境和依赖说明

Highlights

  • 明确指出了静态分析的局限性
  • 强调了人工审查的重要性
  • 提供了完善的误报 suppression 机制
  • 给出了重要的安全使用注意事项
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.