ghost-scan-code
Ghost Security - SAST code scanner. Finds security vulnerabilities in source code by planning and executing targeted scans for issues like SQL injection, XSS, BOLA, BFLA, SSRF, and other OWASP categories. Supports applications (backend, frontend, mobile) and libraries (prototype pollution, unsafe deserialization, ReDoS, path traversal, zip slip). Use when the user asks for a code security audit, SAST scan, vulnerability scan of source code, or wants to find security flaws in a codebase or librar
Security Assessment
About ghost-scan-code
ghost-scan-code is a static application security testing (SAST) skill designed to identify security vulnerabilities in source code repositories. It helps developers and security teams audit applications and libraries by planning and executing targeted scans against common vulnerability categories such as SQL injection, cross-site scripting (XSS), broken object level authorization (BOLA), broken function level authorization (BFLA), server-side request forgery (SSRF), unsafe deserialization, prototype pollution, path traversal, ReDoS, and zip slip issues. The skill supports multiple project types including backend, frontend, mobile applications, and reusable libraries, making it suitable for broad code security assessments across modern software stacks.
The skill includes a structured workflow that prepares repository-specific scan directories, loads scan criteria mappings, generates project scan plans, and nominates candidate files for analysis. It supports configurable scan depth modes including quick, balanced, and full scans, allowing users to trade off between speed and coverage. The workflow also incorporates resumable execution behavior for long-running scans and validates generated planning artifacts before continuing. By leveraging scripts, criteria definitions, and loop-based execution, the skill organizes vulnerability scanning tasks into repeatable and auditable stages.
This skill is intended for developers, application security engineers, DevSecOps teams, and auditors who need to perform source code security reviews or vulnerability discovery in repositories. It is useful during secure development reviews, pre-release security validation, CI/CD security workflows, dependency and library audits, and exploratory vulnerability assessments of unfamiliar codebases. Users can also customize scan behavior through arguments that focus on specific vectors, candidate files, or project areas.
FAQ
What types of vulnerabilities can this skill detect?
The skill is designed to scan for common OWASP-related issues including SQL injection, XSS, SSRF, BOLA, BFLA, unsafe deserialization, prototype pollution, path traversal, ReDoS, and zip slip vulnerabilities.
What scan depth options are supported?
The skill supports quick, balanced, and full scan depths. Quick is the default mode, while full scans provide broader coverage but may require significantly more tokens and execution time.
Does this skill support different project types?
Yes. The skill supports backend, frontend, mobile applications, and libraries. It uses project-specific scan criteria mappings to determine relevant vulnerability vectors.
What happens if a scan command times out?
The workflow is designed to re-run timed out commands because the loop script resumes from the previous state. If the same error occurs three consecutive times, the workflow stops and reports the failure.
Are there any repository requirements before scanning?
Yes. The workflow expects repository context information in the cache directory. If the repository metadata file is missing, the repo-context skill must be run before continuing.
All Files
12 filesInstall ghost-scan-code
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
ghostsecurity/skills