security-scan-report

security-scan-report is a command for Claude Code from vishnu2kmohan/mcp-server-langgraph. It costs 8 tokens per session (2,244 once invoked), scanned A, original, MIT.

A command that runs several code-security checks and combines their findings into a report. The checks include unsafe Python patterns, vulnerable dependencies, exposed secrets, and known software flaws.

In plain words
What is it for?
Use it before releasing or reviewing changes to find security issues in source code, dependencies, and configuration.
Why use it?
It saves you from running and reviewing each security scanner separately.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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 commands/vishnu2kmohan/mcp-server-langgraph/security-scan-report
Clone the repo
git clone --depth 1 https://github.com/vishnu2kmohan/mcp-server-langgraph

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-report

README.md
[![agentmods](https://agentmods.dev/badge/commands/vishnu2kmohan/mcp-server-langgraph/security-scan-report.svg)](https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/security-scan-report)
Your own site
<a href="https://agentmods.dev/commands/vishnu2kmohan/mcp-server-langgraph/security-scan-report"><img src="https://agentmods.dev/badge/commands/vishnu2kmohan/mcp-server-langgraph/security-scan-report.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,244 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.1 $0.00008 $0.02244
Opus 5 $0.00004 $0.01122
Sonnet 5 $0.00002 $0.00449
Haiku 4.5 $0.00001 $0.00224

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

Security

Grade A, and why

security-scan-report 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 5d 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/commands/security-scan-report.md · 426 lines

How it starts

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

Security Scan Report

Usage: /security-scan-report or /security-scan-report --detailed

Purpose: Run security scans and generate comprehensive security report


🔒 What This Command Does

Executes multiple security scanning tools and consolidates results:

  1. Bandit - Python security linter
  2. Safety - Dependency vulnerability checker (if configured)
  3. Secrets detection - Check for exposed credentials
  4. Dependency audit - Check for known CVEs

📊 Execution Steps

Step 1: Run Security Scans

Execute security scanning via Makefile:

# Run all security checks
make security-check

# Individual scans
bandit -r src/ -f json -o /tmp/bandit_report.json
bandit -r src/ -ll  # Low/Medium/High severity

# Check dependencies (if safety installed)
safety check --json || echo "Safety not configured"

# Check for secrets in code
git secrets --scan || echo "Git secrets not configured"

Step 2: Parse Results

Analyze findings from each scanner:

# Parse Bandit JSON output
if [ -f /tmp/bandit_report.json ]; then
    jq '.results[] | {severity, confidence, test_id, issue_text, filename, line_number}' \
       /tmp/bandit_report.json
fi

# Count by severity
CRITICAL=$(jq '[.results[] | select(.severity=="CRITICAL")] | length' /tmp/bandit_report.json)
HIGH=$(jq '[.results[] | select(.severity=="HIGH")] | length' /tmp/bandit_report.json)
MEDIUM=$(jq '[.results[] | select(.severity=="MEDIUM")] | length' /tmp/bandit_report.json)
LOW=$(jq '[.results[] | select(.severity=="LOW")] | length' /tmp/bandit_report.json)

Step 3: Categorize Issues

Group findings by category:

Code Security:

  • SQL injection risks
  • XSS vulnerabilities
  • Command injection
  • Path traversal
  • Insecure crypto

Dependency Security:

  • Known CVEs
  • Outdated packages
  • Vulnerable versions

Configuration Security:

  • Hardcoded secrets
  • Weak crypto algorithms
  • Insecure defaults

Step 4: Generate Report

Create comprehensive security report:

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

Subscribe to this mod's changes

security-scan-report is a command published in the GitHub repository vishnu2kmohan/mcp-server-langgraph (4 stars, last pushed 5d ago), licensed MIT. It adds 8 tokens to every session and 2,244 once invoked, about $0.0000 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.