sec-check

sec-check is a skill for Claude Code, Codex from waynesutton/markdown-site. It costs 46 tokens per session (608 once invoked), scanned A, original, MIT.

A checklist for reviewing security in Convex backend code, authentication, public data queries, admin routes, webhooks, uploads, and AI-generated code.

In plain words
What is it for?
Use it to review auth logic, user-data access, public API responses, admin actions, forms, webhooks, uploads, and API-key flows.
Why use it?
It helps find unauthorized access, accidental exposure of personal data, unsafe public functions, and weak ownership checks before code is shipped.

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/waynesutton/markdown-site/sec-check
Any agent
npx skills add waynesutton/markdown-site --skill sec-check
Clone the repo
git clone --depth 1 https://github.com/waynesutton/markdown-site

Made for: Claude Code, Codex.

Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 608 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.00046 $0.00608
Opus 5 $0.00023 $0.00304
Sonnet 5 $0.00009 $0.00122
Haiku 4.5 $0.00005 $0.00061

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

Security

Grade A, and why

sec-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 3d 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.

.claude/sec-check/SKILL.md · 63 lines

How it starts

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

Security Review Skill

Use this skill when reviewing Convex functions, auth logic, public query shapes, admin routes, webhooks, uploads, or any AI generated code that touches user data.

When to use it

Reach for this skill when:

  • a mutation writes user or admin data
  • a public query returns package or user data
  • an internal function should be separated from a public wrapper
  • a form collects names, emails, or other contact info
  • a webhook, upload, or API key flow is added
  • AI generated code needs a security pass before shipping

Auth and ownership checks

  • Call ctx.auth.getUserIdentity() before authenticated writes.
  • Never trust client supplied user ids for ownership.
  • Prefer indexed ownership checks over fetch then compare patterns.
  • Use internalQuery, internalMutation, and internalAction for sensitive backend work.
  • Keep public wrappers thin. Do auth and access checks there, then call internal functions.
  • Return generic Not found style errors when you should not reveal existence.

Data exposure rules

  • Public queries should return public safe shapes only.
  • Strip PII like email, name, Discord handle, internal notes, AI review details, or admin metadata unless the caller is allowed to see them.
  • Add explicit return validators on public functions so the response shape stays tight.
  • Mutations should return minimal data, usually ids or null, not the submitted object.
  • Treat everything returned by a query as visible in browser DevTools and WebSocket traffic.

Sensitive integrations

  • Keep secrets in server side environment variables only.
  • Validate webhook signatures before processing.
  • Restrict CORS for sensitive endpoints.
  • Validate upload types and file sizes server side.
  • Do not send user PII into AI prompts when it is not required for the task.
  • Use simple actor labels like AI or System, not fake email addresses, for automated actions.

AI generated code checks

  • Watch for missing returns validators.
  • Watch for public query or mutation usage where internal* should be used.
  • Watch for ctx.db.get() plus client supplied ids in ownership checks.
  • Watch for full objects returned from public queries or mutations.
  • Watch for vague or over detailed error messages that leak internal state.

Read the full file on GitHub · 63 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. 3d ago First seen · 63 lines · 46 tokens per session scan A 7bf12260512f

Subscribe to this mod's changes

sec-check is a skill published in the GitHub repository waynesutton/markdown-site (631 stars, last pushed 3mo ago), licensed MIT. It adds 46 tokens to every session and 608 once invoked, about $0.0002 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

shieldcn-badges

Create polished shieldcn README badges, badge groups, charts, headers, sponsors grids, and full README hero sections. Use when a user wants shadcn/ui-styled badges, Shields.io replacement, npm/GitHub/CI/status badges, download charts, README header banners, contributor/sponsor images, or README Studio guidance.…

jal-co/shieldcn · 145 tokens

infisical-sync-skill

Expert knowledge for the Infisical Sync Hand — Infisical API reference, vault operations, error patterns, security guidance.

RightNow-AI/openfang · 31 tokens

soul-grader

Use when grading, reviewing, rewriting, or approving a Hermes Agent SOUL.md. Uses the SOUL.md field-guide research artifacts as the only normative source for what makes a good SOUL.md.

cobibean/soul-grader-skill · 45 tokens

anakinscraper

Scrape any website into clean markdown or structured JSON. Anti-detect browser, smart proxy rotation, AI-powered data extraction.

Anakin-Inc/anakin · 30 tokens

mb-ads

Create and review ads, and prepare provider-safe launch plans/checks. Flexible entry points: full pipeline (copy + images), copy only, images only, creative variations (hook library), video scripts, long-form video ads/VSL-style paid creative, video repurpose, compliance review, launch-plan, instrumentation, check, or…

noontide-co/mainbranch · 136 tokens

mb-setup

Bootstrap a new business folder with Main Branch structure, or migrate an existing single-offer folder to multi-offer. Use when: (1) New user needs Claude Code environment configured (2) User says "set up", "get started", "initialize", "bootstrap", "create my repo", "new business" (3) User is new to Main Branch and…

noontide-co/mainbranch · 142 tokens