Agent skill

SQL Security

by mizchi in mizchi/skills

SQL injection screening for host code (MoonBit / TS / Rust) plus secretlint setup notes.

No licenceAuto-check passedSecurity

Install SQL Security

skills CLI
$ npx skills add mizchi/skills --skill sql-security -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mizchi/skills sql-security --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mizchi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/sql-security .claude/skills/sql-security && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sql-security
GitHub stars
356
Token cost
~1.4k tokens
SKILL.md length
643 words
Files
3 (incl. scripts)
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

SQL injection screening for host code (MoonBit / TS / Rust) plus secretlint setup notes.

  • Works in 2 steps: SQL injection: a string template that… → Secrets in queries: a hardcoded token or…
  • Tasks that involve SQL
  • SKILL.md covers sql-injection-scan.mjs, Reading the findings, Opt-out marker and Companion: secretlint, plus 5 more sections
  • Runs JavaScript scripts from its folder; calls pnpm and node

What it does

SQL Security is an agent skill from mizchi/skills. SQL injection screening for host code (MoonBit / TS / Rust) plus secretlint setup notes. Flags single-line template-literal or string-concat SQL builders, regardless of value source — the scanner is line-based and does NOT trace data flow, so a clean scan is not proof of safety (multi-line template literals are missed) and every hit needs a manual review or an explicit // sql-security: ok opt-out.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `README.md`).

It sits in Security, covering SQL and Web application vulnerabilities. It works with SQL and Rust. The repository describes itself as: Agent skills by mizchi, distributed via APM.

When your agent uses it

  • Tasks that involve SQL
  • Tasks that involve Web application vulnerabilities

Example prompts

  • “/sql-security”

Requirements

  • Python 3
  • Node.js

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. SQL injection: a string template that interpolates a value into a SQL fragment instead of binding it through a placeholder.
  2. Secrets in queries: a hardcoded token or connection string that leaks into git history. Handled by secretlint, not this skill — see…

What it can do on your machine

Read from SKILL.md and the folder at commit 62f5808. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • pnpm
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

SQL Security loads about 1.4k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 643 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~104
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 643 words (~1,416 tokens).

“Use this when a project ships SQL through host code (MoonBit / TS / Rust / Go) and wants a cheap line of defence against the two recurring sources of SQL-domain incidents:”

— opening of SKILL.md by mizchi
name
sql-security
version
0.1.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in sql-security of mizchi/skills.

  • SKILL.md
  • README.md
  • scripts/sql-injection-scan.mjs

Open the folder on GitHubat commit 62f5808

Compare with similar skills

SQL Security next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

SQL Security compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
SQL Security this skillmizchi/skills356—~1.4kAutomated safety check: PassNone
Web Sqlis0ld13rr/pentestcode827—~710Automated safety check: PassMIT
Rust Reviewliuyanghejerry/Clausura204—~180Automated safety check: PassMIT
Php Thinkphp Audit0xShe/PHP-Code-Audit-Skill4021 repos~779Automated safety check: PassNone
Frappe Errors DatabaseImpertio-Studio/Frappe_Claude_Skill_Package187—~3.9kAutomated safety check: PassMIT
Sast Sqliutkusen/sast-skills1.3k—~6kAutomated safety check: PassMIT

Similar skills

  • Web Sqli

    s0ld13rr/pentestcode

    SQL injection detection→exploitation→proof for web apps and APIs.

    827 GitHub stars~710 tokensUpdated 6 days ago
    SecurityAuto-check passed
  • Rust Review

    liuyanghejerry/Clausura

    Rust 服务审查:panic、SQL 注入、密钥、错误吞没、遗留标记

    204 GitHub stars~180 tokensUpdated 9 days ago
    SecurityAuto-check passed
  • Php Thinkphp Audit

    0xShe/PHP-Code-Audit-Skill

    ThinkPHP 框架特效安全审计工具。针对 ThinkPHP 常见的鉴权/CSRF/模板转义/ORM 写入(Mass Assignment)/调试与配置暴露等机制进行白盒静态审计,并映射到通用漏洞类型体系(AUTH/CSRF/TPL/XSS/LOGIC/CFG/SESS/SQL 等)。

    402 GitHub starsUsed in 1 repo~779 tokens
    SecurityAuto-check passed
  • Frappe Errors Database

    Impertio-Studio/Frappe_Claude_Skill_Package

    A skill your agent uses when handling database errors in Frappe/ERPNext.

    187 GitHub stars~3.9k tokensUpdated 21 days ago
    SecurityAuto-check passed
  • Sast Sqli

    utkusen/sast-skills

    Detect SQL injection vulnerabilities in a codebase using a three-phase approach: recon (find unsafe SQL construction sites), batched verify (trace user input to those sites in parallel subagents, 3…

    1.3k GitHub stars~6k tokensUpdated 6 mo ago
    SecurityAuto-check passed
  • Detecting SQL Injection Patterns

    jeremylongshore/tons-of-skills-marketplace

    Scan a source tree for SQL-injection vulnerable patterns: string concatenation into queries, f-string interpolation in SQL, string-format substitution into raw queries, deprecated cursor methods…

    2.8k GitHub stars~1.5k tokensUpdated today
    SecurityAuto-check passed

More from mizchi/skills

All 69 skills in this repo
  • Publish Agent Skill

    mizchi/skills

    Package, publish, verify and update an agent skill through a Claude Code plugin marketplace, APM or the npx skills CLI.

    356 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • AI Index

    mizchi/skills

    Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.

    356 GitHub stars~3.6k tokensUpdated 6 days ago
    Auto-check passed
  • Cloudflare Deploy

    mizchi/skills

    Deploy applications and infrastructure to Cloudflare with the cf CLI and typed cloudflare.config.ts.

    356 GitHub stars~2.9k tokensUpdated 6 days ago
    Auto-check: notes
  • Review Image

    mizchi/skills

    Review screenshots or other images with OpenRouter vision models via bundled Deno scripts.

    356 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1.

    356 GitHub stars~995 tokensUpdated 6 days ago
    Auto-check passed
  • Apm Usage

    mizchi/skills

    Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow.

    356 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about SQL Security

What does SQL Security do?

SQL injection screening for host code (MoonBit / TS / Rust) plus secretlint setup notes. SQL Security is an agent skill from mizchi/skills. SQL injection screening for host code (MoonBit / TS / Rust) plus secretlint setup notes.

When should I use SQL Security?

SQL Security fits situations like: tasks that involve SQL; tasks that involve Web application vulnerabilities.

How do I install SQL Security in Claude Code?

Run `npx skills add mizchi/skills --skill sql-security -a claude-code`. Or copy the skill folder (sql-security in mizchi/skills) into .claude/skills/sql-security in your project. Claude Code loads it when a task matches its description.

How do I install SQL Security in Codex?

Run `npx skills add mizchi/skills --skill sql-security -a codex`. Or copy the skill folder (sql-security in mizchi/skills) into .agents/skills/sql-security in your project. Codex loads it when a task matches its description.

Can I use SQL Security in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mizchi/skills --skill sql-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sql-security, .gemini/skills/sql-security, .github/skills/sql-security and .opencode/skills/sql-security in your project.

What does SQL Security need to run?

Going by SKILL.md and its folder, SQL Security needs JavaScript for the scripts in its folder and the command-line tools its instructions call (pnpm and node). Our summary lists: Python 3; Node.js.

Does SQL Security access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is SQL Security safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does SQL Security use?

No licence was found for SQL Security or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does SQL Security use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to SQL Security?

Skills that share tags, products or a category with SQL Security: Web Sqli (s0ld13rr/pentestcode, 827 stars), Rust Review (liuyanghejerry/Clausura, 204 stars), Php Thinkphp Audit (0xShe/PHP-Code-Audit-Skill, 402 stars) and Frappe Errors Database (Impertio-Studio/Frappe_Claude_Skill_Package, 187 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains SQL Security?

mizchi (a GitHub user) maintains it in mizchi/skills, which has 356 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 2, 2026.

Source: mizchi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.