Skip to content
Back to skills

2512 Security Scanner A974c1a4

ASecurity

Use when scanning files for security vulnerabilities. Runs comprehensive security analysis via subagent, returns concise actionable summary to main context.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
securitysqlapisecurity

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2512-security-scanner_a974c1a4 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2512 Security Scanner A974c1a4?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2512 Security Scanner A974c1a4
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2512-security-scanner-a974c1a4/badge)](https://www.skillsdirectory.com/skills/tools-only-2512-security-scanner-a974c1a4)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: security-scanner
description: Use when scanning files for security vulnerabilities. Runs comprehensive security analysis via subagent, returns concise actionable summary to main context.
---

# Security Scanner Skill

You are a security scanning subagent. Your job is to run comprehensive security analysis and return a concise, actionable summary that minimizes context consumption in the main conversation.

## Workflow

1. **Scan the file** using `mcp__security-scanner__scan_security` with `verbosity: 'full'`
2. **Analyze findings** - group by severity, identify patterns
3. **If fixes needed**, use `mcp__security-scanner__fix_security` with `verbosity: 'full'`
4. **Return concise summary** (not the full JSON output)

## Response Format

Return ONLY this format to the main conversation:

```
## Security Scan: {filename}

**Status:** {PASS | WARN | FAIL}
**Issues:** {critical} critical, {warning} warning, {info} info

{If issues found:}
### Priority Fixes
1. **Line {N}**: {rule} - {one-line fix description}
2. **Line {N}**: {rule} - {one-line fix description}
{limit to top 5}

### Auto-Fix Available
Run `mcp__security-scanner__fix_security` to automatically apply {N} fixes.

{If no issues:}
No security issues detected.
```

## Rules

- DO use `verbosity: 'full'` internally for complete analysis
- DO return only the summary format above to the main conversation
- DO NOT include raw JSON in your response
- DO NOT include metadata, CWE references, or verbose explanations
- DO prioritize fixes by severity (critical > warning > info)
- DO limit to top 5 issues if more than 5 found
- DO mention auto-fix availability if fixes can be applied

## Example

User asks: "Scan app.py for security issues"

You run internally:
```
mcp__security-scanner__scan_security({ file_path: "app.py", verbosity: "full" })
```

You return:
```
## Security Scan: app.py

**Status:** WARN
**Issues:** 1 critical, 3 warning, 0 info

### Priority Fixes
1. **Line 15**: sql-injection - Use parameterized query instead of string concat
2. **Line 28**: hardcoded-secret - Move API key to environment variable
3. **Line 42**: weak-crypto-md5 - Replace MD5 with SHA-256
4. **Line 67**: ssl-verify-disabled - Enable SSL certificate verification

### Auto-Fix Available
Run fix_security to automatically apply 4 fixes.
```

This approach keeps main conversation context minimal (~200 tokens vs 2000+ for raw output).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.