skill-security-check

skill-security-check is a skill for Claude Code, Codex from renky1025/agent-skills. It costs 208 tokens per session (2,125 once invoked), scanned A, original, MIT.

A security checker for reviewing skills before they are installed. It scans code in languages such as JavaScript, Python, Rust, Java, Go, and others for risky behavior.

In plain words
What is it for?
It helps assess third-party or community skills, including skills from GitHub, npm, PyPI, or Crates.io, using an included command-line scan and security report.
Why use it?
It helps identify possible data leaks, credential access, unsafe file access, code execution, privilege increases, and other installation risks before the skill runs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps assess third-party or community skills, including skills from GitHub, npm, PyPI, or Crates.io, using an included command-line scan and security report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/renky1025/agent-skills/skill-security-check
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add renky1025/agent-skills --skill skill-security-check
Clone the repo
git clone --depth 1 https://github.com/renky1025/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-security-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/renky1025/agent-skills/skill-security-check/github.svg)](https://agentmods.dev/skills/renky1025/agent-skills/skill-security-check)
Your own site
<a href="https://agentmods.dev/skills/renky1025/agent-skills/skill-security-check"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/skill-security-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-security-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/renky1025/agent-skills/skill-security-check"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/skill-security-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 208 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,125 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 115
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Privilege Escalation · line 115
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00208 $0.02125
Opus 5.5 $0.00083 $0.00850
Sonnet 5.5 $0.00042 $0.00425
Haiku 4.5 $0.00021 $0.00213

Measured 1mo ago against content hash ea2810b6cfeb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-security-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 9 executable files (jest.config.js, scripts/security-check.js, scripts/security-check.test.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill-security-check/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill 安装前安全检查 (Multi-Language)

Purpose

在安装一个 skill 之前,把它当作不可信代码做只读静态审查,产出一份带风险等级、最终评级和 置信度的 Markdown 报告,并给出「可以安装 / 需用户确认 / 不建议安装」的明确建议。它回答的是 "这个 skill 会不会外泄数据、越权、驻留或混淆代码",不是"这个 skill 好不好用"。

支持语言: JavaScript/TypeScript, Python, Rust, Java, Go, C/C++, Ruby, PHP, Shell, PowerShell, Perl

When to Use

  • 安装来自 GitHub、npm、PyPI、Crates.io 或其他源的第三方 skill。
  • 安装社区贡献的 skill。
  • 更新已安装的 skill 到新版本。
  • 用户对某个 skill 的安全性有疑问,或要求"检查一下这个 skill"。
  • 触发词:安全检查、安全审查、安装前检查、skill 安全、security check、security audit、 is this skill safe。

When NOT to Use

  • 代码质量 / 重构审查(不涉及不可信来源)-> 交给 claude-simplify 或 clean-code。
  • 自己正在编写、且完全可信的 skill -> 无需安装前审查;如需自查,只跑工具即可。
  • 运行时防护 / 入侵检测 / 沙箱 -> 本 skill 是安装前的一次性静态审查,不是运行时安全产品。
  • 非 skill 的普通依赖审计(如 npm audit 场景)-> 用对应生态的工具。
  • 要求执行或"试跑"目标代码来验证 -> 本 skill 只做只读静态分析,拒绝执行被检查代码。

Workflow

  1. 获取 skill 文件:本地路径直接读取;远程链接先下载到临时目录再扫描。
  2. 优先跑工具:node <skill>/scripts/security-check.js <skill-path>。工具对目标目录执行 11 项静态扫描并写出报告。
  3. 人工复核:按 references/checklist.md 逐项确认;工具覆盖不到或结果可疑时,用 references/grep-patterns.md 的 grep 定位具体代码位置。
  4. 判定等级:按 references/report-format.md 汇总为风险等级 / 最终评级 / 置信度。
  5. 给出建议:明确写「可以安装 / 请先看需要用户知晓的点 / 不建议安装」,并保存报告。

Decision Rules

  • 目标是本地目录 -> 直接扫描;是远程仓库/包 -> 先下载到临时目录,扫描下载结果。
  • 命中第 1 项数据外泄、第 6 项权限提升、或第 5 项恶意动态执行 -> 至少 HIGH 风险,除下方 Priority 的受控声明情形外不得降级。
  • 目标 skill 声明了 network_access: user-configured-origin -> 按「需要用户知晓并在人工 审查后放行」处理,不自动判 SAFE;仍须确认代码只使用用户配置的 base URL(见 references/checklist.md 第 1 项「网络能力声明」)。
  • 命中第 7 项持久化或第 11 项浏览器会话复用 -> 通常是「需要用户知晓的点」,不是漏洞,但必须 写进报告。
  • 命中第 9 项代码混淆 -> 置信度降为 LOW/MEDIUM,并在报告中标注需人工复核。
  • 某项无法判定 -> 记为「需要人工确认」,不得猜测结论。
  • 支持语言之外的代码 -> 明确说明未覆盖,不给出结论。
  • 报告落盘位置 -> 当前目录 security-report-<skill-name>.md。

Constraints

  • 只读分析,绝不执行被检查 skill 的任何代码,也不运行其安装脚本。
  • 静态分析不能替代完整安全审计;报告必须写明这一限制。
  • 「已声明能力」不是安全证明,只能把网络请求降级为「需要用户知晓」。
  • 不得对未覆盖的语言或高度混淆代码给出确定结论。
  • 报告中的 skill 名称、路径、代码位置必须来自实际扫描目标,不得编造。

Priority

  1. 硬阻断优先:数据外泄、权限提升、恶意动态执行 -> 不得因「已声明用途」降为 SAFE。
  2. 受控的已声明能力可降为「需要用户知晓」,但仅在确认代码不存在固定第三方上报端点、 隐蔽 telemetry 或跨主机重定向之后。
  3. 工具结果与人工判断冲突时,以人工复核为准,并把该项标为 MEDIUM + 需人工确认。

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -215 lines · +81 tokens per session ea2810b6cfeb
  2. 1mo ago First seen · 339 lines · 127 tokens per session scan A f0d2352cef19

Subscribe to this mod's changes

skill-security-check is a skill published in the GitHub repository renky1025/agent-skills (11 stars, last pushed 15d ago), licensed MIT. It adds 208 tokens to every session and 2,125 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

edgeone skill scanner

A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.

Tencent/AI-Infra-Guard · 148 tokens

babysit

Use when a user asks to babysit, monitor, keep checking, keep an eye on, or report when a pull request, CI run, ticket, deployment, or other changing target reaches an outcome.

kirodotdev/KiroCrew · 45 tokens

rubber-duck

Adversarial "rubber duck" review that turns explaining-out-loud into a hallucination check. The main session is the PRESENTER (it did the work — a design doc, investigation, or analysis — and holds the real reasoning) and reconstructs the topic to a LISTENER — a spawned subagent pinned to a DIFFERENT-vendor model that…

kirodotdev/KiroCrew · 161 tokens

project-wiki

A system for creating and maintaining a project wiki: a set of organized documents that explain a software project's plans, rules, references, and progress.

GeminiLight/MindOS · 63 tokens

mindos-zh

A local knowledge-base assistant for storing and finding decisions, meeting notes, procedures, troubleshooting lessons, and preferences across conversations and coding agents. It works only with the MindOS knowledge base.

GeminiLight/MindOS · 490 tokens

mindos

MindOS: local knowledge assistant & shared KB. Keeps decisions, notes, SOPs, debugging lessons, research findings, preferences across sessions/agents. Core: save notes, search KB, organize files, run workflows, review, append CSV, hand off context, distill lessons. NOT for app source or paths outside KB. Triggers…

GeminiLight/MindOS · 136 tokens