代码安全扫描

代码安全扫描 is a skill for Claude Code, Codex from cdavid817/vanehub-ai. It costs 26 tokens per session (122 once invoked), scanned A, original, Apache-2.0.

A code-security review helper that checks source code for common risks, including leaked secrets, command injection, and unsafe file operations. Command injection is when untrusted input causes a system to run unintended commands.

In plain words
What is it for?
Use it to inspect input validation, shell and file operations, secret handling, dependencies, authorization-sensitive code, and possible data leaks.
Why use it?
Security problems often hide at the points where code accepts input, runs commands, handles files, uses dependencies, or checks permissions. It helps review those trust boundaries systematically.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/cdavid817/vanehub-ai/code-security-scan
Any agent
npx skills add cdavid817/vanehub-ai --skill code-security-scan
Clone the repo
git clone --depth 1 https://github.com/cdavid817/vanehub-ai

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 代码安全扫描

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdavid817/vanehub-ai/code-security-scan.svg)](https://agentmods.dev/skills/cdavid817/vanehub-ai/code-security-scan)
Your own site
<a href="https://agentmods.dev/skills/cdavid817/vanehub-ai/code-security-scan"><img src="https://agentmods.dev/badge/skills/cdavid817/vanehub-ai/code-security-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 122 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00026 $0.00122
Opus 5 $0.00013 $0.00061
Sonnet 5 $0.00005 $0.00024
Haiku 4.5 $0.00003 $0.00012

Measured 4d ago against content hash 62b6c5a63799, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

代码安全扫描 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 4d ago.

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.

src-tauri/resources/skills/system/v1/code-security-scan/SKILL.md · 20 lines

What it actually says

代码安全扫描

Use this skill to review code for security risks. Check trust boundaries, shell/file operations, secrets handling, dependency usage, input validation, and authorization-sensitive paths.

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. 4d ago First seen · 20 lines · 26 tokens per session scan A 62b6c5a63799

Subscribe to this mod's changes

代码安全扫描 is a skill published in the GitHub repository cdavid817/vanehub-ai (87 stars, last pushed 4d ago), licensed Apache-2.0. It adds 26 tokens to every session and 122 once invoked, about $0.0001 per session on Opus 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-30.

Related

Other skills, from other repositories

install-iterm-agent-fork

Install and set up pirate/iterm-agent-fork locally for iTerm2 agent-session forking. Use when a user asks to install, configure, repair, update, or verify the iTerm Agent Fork repo, AutoLaunch script, iTerm Python API launch, Cmd+Shift+F/Cmd+Shift+G key bindings, or optional casr cross-agent handoff support.

pirate/iterm-agent-fork · 85 tokens

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

model-update

新增或更新 CCX 项目中的模型注册技能。适用于 Claude 与非 Claude 模型,覆盖能力表、路由白名单、基准映射、代码生成与验证。.

BenedictKing/ccx · 43 tokens

git-ai-search

Search and restore AI conversation context from git history.

git-ai-project/git-ai · 13 tokens