security-scan

security-scan is a skill for Claude Code from Wishmakingfairy/vibecheck. It costs 64 tokens per session (1,147 once invoked), scanned A, original, MIT.

A code-security checker that scans source files for common weaknesses, such as exposed keys, unsafe login handling, injection bugs, and insecure network settings. It produces a report grouped by severity and category.

In plain words
What is it for?
Use it to check a codebase before deployment or when reviewing security, with checks for JavaScript, Python, SQL, configuration files, and other common code formats.
Why use it?
It helps find security problems before they reach users or production, when they are usually easier to fix.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the vibecheck plugin — 4 skills, 1 agent, 1 hook shipped together

Good fit Use it to check a codebase before deployment or when reviewing security, with checks for JavaScript, Python, SQL, configuration files, and other common code formats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wishmakingfairy/vibecheck/security-scan
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 Wishmakingfairy/vibecheck --skill security-scan
Clone the repo
git clone --depth 1 https://github.com/Wishmakingfairy/vibecheck

Made for: Claude Code.

Or install vibecheck, the plugin that ships this one along with the rest of its 4 skills, 1 agent, 1 hook.

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 security-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/wishmakingfairy/vibecheck/security-scan.svg)](https://agentmods.dev/skills/wishmakingfairy/vibecheck/security-scan)
Your own site
<a href="https://agentmods.dev/skills/wishmakingfairy/vibecheck/security-scan"><img src="https://agentmods.dev/badge/skills/wishmakingfairy/vibecheck/security-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,147 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.
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.00064 $0.01147
Opus 5 $0.00032 $0.00574
Sonnet 5 $0.00013 $0.00229
Haiku 4.5 $0.00006 $0.00115

Measured 8d ago against content hash fc096188dfc5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-scan 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 8d 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.

skills/security-scan/SKILL.md · 104 lines

How it starts

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

vibecheck Security Scan

Run 156 automated security checks against the current codebase. Produces a categorized report with severity levels and fix suggestions.

How to Run

  1. Detect the project's tech stack from package.json, requirements.txt, or file extensions
  2. Glob for all source files: **/*.{js,jsx,ts,tsx,py,sql,json,yaml,yml,html,vue,svelte,go,rb,php,sh,tf}
  3. Read each file and apply the check patterns from the reference documents
  4. Produce a markdown report

Report Format

# vibecheck Security Report

## Summary
| Severity | Count |
|----------|-------|
| CRITICAL | X     |
| WARNING  | Y     |
| INFO     | Z     |

## Findings by Category

### Secrets & API Keys
- [SEC-001] CRITICAL: Hardcoded AWS key in src/config.ts:12
  Fix: Use environment variables...

### Authentication
...

Categories (15)

  1. Secrets & API Keys (22 checks) - Hardcoded credentials, API keys, private keys
  2. Authentication (20 checks) - JWT, session, OAuth, CSRF, rate limiting
  3. Database (20 checks) - SQL injection, Supabase RLS, mass assignment
  4. Network & CORS (11 checks) - CORS wildcard, SSRF, HTTPS, open redirects
  5. Injection (21 checks) - XSS, command injection, path traversal, deserialization
  6. Security Headers (11 checks) - CSP, HSTS, debug mode, stack traces
  7. Supply Chain (15 checks) - Typosquatting, unpinned deps, SRI
  8. Infrastructure (10 checks) - Docker, CI/CD, admin panels, source maps
  9. AI/LLM (16 checks) - API key exposure, prompt injection, system prompt leaks
  10. Cryptography (12 checks) - Weak hashing, insecure RNG, deprecated crypto
  11. Privacy (8 checks) - PII logging, data exposure, credit cards
  12. Business Logic (6 checks) - Race conditions, mass assignment, enumeration
  13. Logging (5 checks) - Secrets in logs, log injection
  14. File System (5 checks) - Path traversal, zip slip, permissions
  15. WebSocket (4 checks) - Auth, origin validation, message limits

Reference Files

Read the full file on GitHub · 104 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. 8d ago First seen · 104 lines · 64 tokens per session scan A fc096188dfc5

Subscribe to this mod's changes

security-scan is a skill published in the GitHub repository Wishmakingfairy/vibecheck (4 stars, last pushed 5mo ago), licensed MIT. It adds 64 tokens to every session and 1,147 once invoked, about $0.0003 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-31.