Skip to content
Security
Command

/security-scan

Run a comprehensive security audit on an indexed repository

BOOST
From plugin
narsil-mcp
1855 skills3 agents5 commands
Install
> /plugin marketplace add postrv/narsil-mcp
> /plugin install narsil@narsil-mcp

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/security-scan

Context preview

What this command does when you run it.

Run a comprehensive security audit on an indexed repository

Command definition

security-scan.md
description: Run a comprehensive security audit on an indexed repository

Security Scan

Run a comprehensive security audit on the repository specified by the user. If no repository is specified, first use `list_repos` to show available repositories and ask which one to scan.

Workflow

Execute the following steps:

1. **Get security overview**: Use `get_security_summary` to get an overview of the security posture

2. **Scan for vulnerabilities**: Use `scan_security` with `severity_threshold="medium"` to find medium and above findings

3. **Check OWASP Top 10**: Use `check_owasp_top10` to check for web application vulnerabilities

4. **Check dependencies**: Use `check_dependencies` to find known CVEs in dependencies

5. **Check licenses**: Use `check_licenses` to identify license compliance issues

6. **Summarize findings**: Present a summary organized by:

  • Critical/High severity findings (immediate attention needed)
  • Medium severity findings (should address soon)
  • Dependency vulnerabilities with available fixes
  • License issues

7. **For each critical finding**: Use `explain_vulnerability` to provide context and `suggest_fix` to show remediation

Arguments

If $ARGUMENTS is provided, use it as the repository name. Otherwise, list available repositories first.

Repository to scan: $ARGUMENTS

Ships withnarsil-mcp

The blazing-fast, privacy-first MCP server for deep code intelligence A Rust-powered MCP (Model Context Protocol) server providing AI assistants with deep code understanding through 90 specialized tools.

Get the whole plugin

Other commands on narsil-mcp.