security-scan

security-scan is a skill for Claude Code from viknesh20-20/claude-code-tool-kit. It costs 41 tokens per session (1,126 once invoked), scanned A, original, MIT.

A codebase security review that looks for vulnerabilities such as injection, authentication weaknesses, exposed secrets, and unsafe settings. It also checks environment files and whether ignore rules protect them.

In plain words
What is it for?
It is for scanning source files and configuration, reporting severity and locations, identifying the vulnerability type, and suggesting fixes with code.
Why use it?
It helps find security problems before code involving login, user input, or outside services is submitted for review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for scanning source files and configuration, reporting severity and locations, identifying the vulnerability type, and suggesting fixes with code.

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

Made for: Claude Code.

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/viknesh20-20/claude-code-tool-kit/security-scan/github.svg)](https://agentmods.dev/skills/viknesh20-20/claude-code-tool-kit/security-scan)
Your own site
<a href="https://agentmods.dev/skills/viknesh20-20/claude-code-tool-kit/security-scan"><img src="https://agentmods.dev/badge/skills/viknesh20-20/claude-code-tool-kit/security-scan/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 security-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/viknesh20-20/claude-code-tool-kit/security-scan"><img src="https://agentmods.dev/badge/skills/viknesh20-20/claude-code-tool-kit/security-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,126 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.00041 $0.01126
Opus 5.5 $0.00016 $0.00450
Sonnet 5.5 $0.00008 $0.00225
Haiku 4.5 $0.00004 $0.00113

Measured 1mo ago against content hash f3ee0b33ca3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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/skills/security-scan/SKILL.md · 103 lines

How it starts

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

Security Vulnerability Scan

Automated Secret Detection

!git grep -rn "api_key\|apikey\|api-key\|secret\|password\|passwd\|token\|bearer\|private_key\|access_key\|client_secret\|auth_token" --include="*.ts" --include="*.js" --include="*.py" --include="*.go" --include="*.rs" --include="*.java" --include="*.rb" --include="*.cs" --include="*.env*" --include="*.yml" --include="*.yaml" --include="*.json" --include="*.toml" --include="*.cfg" --include="*.ini" --include="*.conf" 2>/dev/null | grep -v node_modules | grep -v .git | grep -v vendor | grep -v "\.lock" | grep -v "test" | grep -vi "example\|placeholder\|your_\|TODO\|FIXME\|change_me" | head -30

Environment Files Check

!find . -name ".env*" -not -path "*/node_modules/*" -not -path "*/.git/*" 2>/dev/null !cat .gitignore 2>/dev/null | grep -i "env\|secret\|key\|credential" || echo "WARNING: .gitignore may not exclude secret files"


Vulnerability Checklist

Scan the codebase systematically for each vulnerability class. For every finding:

  • Severity: Critical / High / Medium / Low
  • File path and line number
  • Vulnerability type (CWE ID if known)
  • Description of the risk
  • Remediation steps with code

1. Injection Flaws

  • SQL Injection: String concatenation in queries instead of parameterized/prepared statements
  • NoSQL Injection: Unsanitized user input in MongoDB/DynamoDB queries
  • Command Injection: User input passed to exec, system, os.popen, subprocess without sanitization
  • LDAP Injection: Unsanitized input in LDAP queries
  • Path Traversal: User input in file paths without normalization (../../../etc/passwd)
  • Template Injection: User input rendered in templates without escaping (SSTI)

2. Cross-Site Scripting (XSS)

  • Unescaped user input rendered in HTML
  • dangerouslySetInnerHTML / v-html / |safe with user content
  • Reflected XSS via URL parameters
  • Stored XSS via database content rendered without sanitization
  • DOM-based XSS via document.write, innerHTML, eval

Read the full file on GitHub · 103 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 First seen · 103 lines · 41 tokens per session scan A f3ee0b33ca3f

Subscribe to this mod's changes

security-scan is a skill published in the GitHub repository viknesh20-20/claude-code-tool-kit (7 stars, last pushed 5mo ago), licensed MIT. It adds 41 tokens to every session and 1,126 once invoked, about $0.0002 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

paperclip

Use for Paperclip-managed tasks and heartbeats: reading task context, delivering task documents or files, updating completion or blockers, coordinating or delegating work, and following company governance. Includes control plane API operations for assignments, comments, approvals, and routines.

paperclipai/paperclip · 54 tokens

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.

paperclipai/paperclip · 30 tokens

cw-gates

Use before claiming any Codewhale change is done, green, or ready to land: the focused-to-broad verification ladder, the budget checks CI enforces, and the rules for what counts as a passing test.

Hmbown/Codewhale · 48 tokens

refocusing

Use when a long-running agent may have lost the product outcome, when context was compacted, when work has crossed a major boundary, or when a fresh path-based trace is needed before the next consequential action. Not for fresh-session orientation, waking an idle seat, or checkpoints.

mvschwarz/openrig · 59 tokens

oversight-team

Use when you are a seat on the oversight pod (a standing monitor-mode rig that keeps OTHER rigs healthy), configuring or running the drift detectors, or choosing whether to intervene vs escalate. Covers the pull-not-poll posture, the v0 detectors (premature-park, process-drift, off-task, token-burn), the intervention…

mvschwarz/openrig · 117 tokens

package-installer

Install third-party open-source projects (a GitHub URL or a local git directory the user provides) as external packages. The project is cloned verbatim into the per-user packages directory — never edit, normalize, or reorganize its files.

Orkas-AI/Orkas · 3 tokens