About security-scan
security-scan is a skill for scanning JavaScript/TypeScript, PHP, Python, Swift/iOS, Go, and Rust projects. It detects the language, runs matching OWASP-based checks, reports findings, and delegates proposed fixes to the sniper agent without applying them.
Key features
- 01Language detection from project markers
- 02OWASP-pattern vulnerability scanning
- 03Findings mapped to OWASP categories
- 04Structured scan reports
- 05Delegated fixes with file and line references
Use cases
- 01Scan a repository for common vulnerabilities
- 02Review GraphQL endpoints for security patterns
- 03Produce an OWASP-organized security report
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ fusengine/ agents --skill security-scanAfter installing, type/security-scanin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
references/graphql-security.mdowasp-top10.mdscan-patterns-extra.mdscan-patterns.mdreferences/templates/scan-report.mdDetails
From the project READMEPattern categories include XSS, SQL injection, command injection, unsafe code execution (eval/exec), SSRF, weak cryptography, hardcoded secrets, insecure deserialization, and path traversal/LFI/RFI, plus GraphQL-specific patterns (introspection, depth/complexity limiting, batching, authorization) when a GraphQL endpoint is present.
After scanning, it delegates fixes to the sniper agent with file:line, vulnerability, and fix — it does not apply fixes itself.
Security Scan Skill
Overview
Orchestrates the full security scanning workflow across all supported languages.
Supported Languages
| Language | Marker Files | Pattern Count |
|---|---|---|
| JavaScript/TypeScript | package.json | 25+ |
| PHP | composer.json | 20+ |
| Python | requirements.txt, pyproject.toml | 18+ |
| Swift/iOS | Package.swift, *.xcodeproj | 15+ |
| Go | go.mod | 12+ |
| Rust | Cargo.toml | 10+ |
Workflow
- Detect language from project markers
- Load patterns from
references/scan-patterns.md - Run
bun ${CLAUDE_PLUGIN_ROOT}/../node_modules/@fusengine/harness/dist/cli/bin.mjs scan <dir>for automated scanning (OWASP patterns ported into the harness) - Map findings to OWASP categories via
references/owasp-top10.md - Generate report using
references/templates/scan-report.md
Pattern Categories
- XSS (Cross-Site Scripting)
- SQL Injection
- Command Injection
- Code Execution (eval, exec)
- SSRF (Server-Side Request Forgery)
- Weak Cryptography
- Hardcoded Secrets
- Insecure Deserialization
- Path Traversal / LFI / RFI
Integration
After scanning, delegate fixes to sniper:
Agent(subagent_type="fuse-ai-pilot:sniper", prompt="Security fixes: [FILE:LINE] [VULN] [FIX]")
References
- OWASP Top 10 Mapping
- Scan Patterns by Language
- Report Template
- GraphQL Security Patterns — Load when the target exposes a GraphQL endpoint (introspection, depth/complexity limiting, batching, authorization checks).
- Scan Patterns - Python, Swift/iOS, Go, Rust — Load when scanning Python, Swift/iOS, Go, or Rust source code (patterns not covered in
scan-patterns.md).