security-scan

security-scan is a command for Claude Code from armanzeroeight/fastagent-plugins. It costs 15 tokens per session (620 once invoked), scanned A, original, MIT.

A command that runs a broad security check across a codebase. It can scan code for vulnerabilities, search for hardcoded secrets, and audit project dependencies for known issues.

In plain words
What is it for?
Use it to scan JavaScript, Python, Go, or other projects for code risks, exposed credentials, and vulnerable packages, with options to limit the scan type or severity.
Why use it?
It brings several common security checks into one run and organizes findings by severity, making an initial review easier.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Good fit Use it to scan JavaScript, Python, Go, or other projects for code…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/armanzeroeight/fastagent-plugins/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.

Clone the repo
git clone --depth 1 https://github.com/armanzeroeight/fastagent-plugins

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/commands/armanzeroeight/fastagent-plugins/security-scan.svg)](https://agentmods.dev/commands/armanzeroeight/fastagent-plugins/security-scan)
Your own site
<a href="https://agentmods.dev/commands/armanzeroeight/fastagent-plugins/security-scan"><img src="https://agentmods.dev/badge/commands/armanzeroeight/fastagent-plugins/security-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 620 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.00015 $0.00620
Opus 5 $0.00008 $0.00310
Sonnet 5 $0.00003 $0.00124
Haiku 4.5 $0.00002 $0.00062

Measured 3d ago against content hash 6a3af32401e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

plugins/security-toolkit/commands/security-scan.md · 92 lines

How it starts

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

Security Scan

Context

  • Project type: !ls package.json 2>/dev/null && echo "node" || (ls requirements.txt pyproject.toml 2>/dev/null && echo "python" || (ls go.mod 2>/dev/null && echo "go" || echo "unknown"))
  • Git status: !git status --short 2>/dev/null | head -5

Your Task

Run a comprehensive security scan on the codebase and report findings organized by severity.

Arguments

  • $1: Scan type (optional)
    • code - Scan for code vulnerabilities only
    • secrets - Scan for hardcoded secrets only
    • deps - Audit dependencies only
    • all - Run all scans (default)
  • $2: Minimum severity to report (optional)
    • critical - Only critical issues
    • high - High and critical
    • medium - Medium and above
    • all - All severities (default)

Steps

  1. Detect project type from manifest files
  2. Based on scan type ($1 or "all"):
    • Code scan: Run appropriate static analysis (bandit for Python, eslint-security for JS)
    • Secrets scan: Run gitleaks or grep for common patterns
    • Dependency audit: Run npm audit, pip-audit, or govulncheck
  3. Collect and categorize findings by severity
  4. Filter by minimum severity ($2 or "all")
  5. Generate consolidated report

Output Format

# Security Scan Report

**Scanned:** [timestamp]
**Project:** [project name]
**Scan Types:** [code, secrets, deps]

## Summary

| Severity | Count |
|----------|-------|
| Critical | X     |
| High     | X     |
| Medium   | X     |
| Low      | X     |

## Critical Issues

[List critical findings with file, line, description, and fix]

## High Issues

[List high findings]

## Recommendations

1. [Priority action items]

Examples

Example 1: Full scan

/security-scan

Runs all security checks and reports all findings

Example 2: Secrets only

/security-scan secrets

Only scans for hardcoded secrets

Example 3: Critical issues only

/security-scan all critical

Runs all scans but only reports critical severity issues

Read the full file on GitHub · 92 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 · 92 lines · 15 tokens per session scan A 6a3af32401e2

Subscribe to this mod's changes

security-scan is a command published in the GitHub repository armanzeroeight/fastagent-plugins (29 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 620 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-09-03.