ghost-scan-code skill
scriptsUygulamalarda ve kütüphanelerde SQL injection, XSS ve BOLA gibi güvenlik açıklarını tespit etmek için SAST kod taraması gerçekleştirir.
- GitHub yıldızları
- 441
- Dosyalar
- 12
- Son commit
- 28 Eyl 2026
- Lisans
- apache-2.0
- İzin verilen araçlar
- 6
ghost-scan-code skill ne işe yarar?
ghost-scan-code bir agent skill'dir. Uygulamalarda ve kütüphanelerde SQL injection, XSS ve BOLA gibi güvenlik açıklarını tespit etmek için SAST kod taraması gerçekleştirir.
Özet, skill'in SKILL.md dosyasından oluşturuldu.
ghost-scan-code skilli hakkında
ghost-scan-code; backend, frontend, mobil uygulama veya kütüphane üzerinde çalışan geliştiricilerin kaynak kod üzerinde güvenlik denetimleri yapmasını sağlar. Bu SKILL, hedefli taramalar planlayıp yürüterek SQL injection, XSS, BOLA, BFLA ve SSRF gibi güvenlik açıklarını tespit eder. Bir kullanıcının güvenlik açıklarını bulmak için bir SAST taramasına veya kod tabanının güvenlik değerlendirmesine ihtiyaç duyduğu durumlar için tasarlanmıştır.
Bir agent; planlama, dosya aday gösterme ve analiz içeren çok adımlı bir süreci yönetmek için bu SKILL'i yükler. Proje türlerini belirli güvenlik açığı vektörleriyle eşleştirmek için loop.sh ve criteria/index.yaml gibi dahili scriptlere güvenir. Süreç, doğrulanmış veya reddedilmiş sorunlar olarak kategorize edilen ve özel bir dizinde saklanan düzenli bulgular üretir. Kullanıcılar; hızlı (quick), dengeli (balanced) veya tam (full) derinlik belirleyerek taramanın yoğunluğunu kontrol edebilirler, ancak tam taramalar yüksek token kullanımı nedeniyle açık onay gerektirir.
Bu araç, depoyu incelemek için Read, Write, Edit, Glob, Grep ve Bash dahil olmak üzere standart dosya sistemi ve shell yeteneklerini kullanır. Planları, adayları ve analizleri takip eden yapılandırılmış bir dizin sistemi aracılığıyla kendi durumunu yönetir.
Bir agent bununla neler yapabilir
- 1Tam bir güvenlik denetimi gerçekleştirinOWASP güvenlik açıklarını bulmak için bir depo üzerinde kapsamlı bir SAST taraması yapın.
- 2Kütüphaneleri belirli kusurlar için tarayınBir kütüphaneyi prototype pollution, unsafe deserialization veya ReDoS gibi sorunlara karşı kontrol edin.
Skill'in SKILL.md dosyasından yazılmıştır. Her kullanım durumu oradaki bir alıntı ile kontrol edilir.
ghost-scan-code skill nasıl kurulur
Her komut, skill klasörünü istemcinin skills dizinine kopyalar. Yüklemek için istemciyi yeniden başlatın veya yeni bir oturum başlatın.ghost-scan-code skill'ini Eklenti uygulamasına kur
/plugin marketplace add ghostsecurity/skills /plugin install ghost@ghost-security
ghost-scan-code skill'ini Claude Code uygulamasına kur
~/.claude/skills/ghost-scan-code/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/scan-code ~/.claude/skills/ghost-scan-codeghost-scan-code skill'ini Claude Code (project) uygulamasına kur
.claude/skills/ghost-scan-code/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/scan-code .claude/skills/ghost-scan-codeghost-scan-code skill'ini Codex uygulamasına kur
~/.agents/skills/ghost-scan-code/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/scan-code ~/.agents/skills/ghost-scan-codeghost-scan-code skill'ini Gemini CLI uygulamasına kur
~/.gemini/skills/ghost-scan-code/SKILL.md
$ npx degit ghostsecurity/skills/plugins/ghost/skills/scan-code ~/.gemini/skills/ghost-scan-codeghost-scan-code skill'ini Claude.ai uygulamasına kur
npx degit ghostsecurity/skills/plugins/ghost/skills/scan-code ghost-scan-code && zip -r ghost-scan-code.zip ghost-scan-code # claude.ai → Customize → Skills → + → Create skill → Upload a skill → ghost-scan-code.zip
Otomatik kontroller
Çalıştırıldı 15 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir skill için 80 puan, ciddi bulgu olmaması ve kontrol için yeterli veri gerekir. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirghostsecurity/skills/plugins/ghost/skills/scan-code is public and reachablegithub.com/ghostsecurity/skills/tree/HEAD/plugins/ghost/skil ↗Geçti
- Açık kaynak lisansı (OSI)apache-2.0spdx.org/licenses/apache-2.0.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit 2026-09-28github.com/ghostsecurity/skills/commits ↗Geçti
- Betiklerde indir-çalıştır veya kimlik bilgisi hırsızlığı yok1 script read; no download-and-run, remote eval, base64 execution or credential uploadGeçti
- SKILL.md içinde gizli talimat yokNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Geçti
- Önceden izin verilen araçlar sınırlıBash lets the agent run any shell command without askinggithub.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Bulgu
- SKILL.md, Agent Skills biçimine uyuyorname "ghost-scan-code" differs from the folder "scan-code"github.com/ghostsecurity/skills/blob/HEAD/plugins/ghost/skil ↗Bulgu
SKILL.md
GitHub'da görüntüleFind Issues
You find security issues in a repository. This skill plans which vulnerability vectors to scan, then executes those scans against each project.
Inputs
- depth:
quick(default),balanced, orfull— override via$ARGUMENTS
$ARGUMENTS
Note: Arguments passed can be used to customize the scan workflow if provided. For example, if the user specifies a specific set of vectors, count of vectors, specific candidate files, areas to focus on, count of candidate files, etc., ensure the relevant details are passed to the relevant steps in the skill.
Supporting files
- Loop script: scripts/loop.sh
- Scan criteria: criteria/index.yaml
Step 1: Setup
Compute the repo-specific output directory:
repo_name=$(basename "$(pwd)") && remote_url=$(git remote get-url origin 2>/dev/null || pwd) && short_hash=$(printf '%s' "$remote_url" | git hash-object --stdin | cut -c1-8) && repo_id="${repo_name}-${short_hash}" && short_sha=$(git rev-parse --short HEAD 2>/dev/null || date +%Y%m%d) && ghost_repo_dir="$HOME/.ghost/repos/${repo_id}" && scan_dir="${ghost_repo_dir}/scans/${short_sha}/code" && cache_dir="${ghost_repo_dir}/cache" && mkdir -p "$scan_dir" && echo "scan_dir=$scan_dir cache_dir=$cache_dir"
- Read
$cache_dir/repo.md— if missing, run the repo-context skill first and then continue. - Read criteria/index.yaml to get the valid agent→vector mappings per project type
- Set
depthtoquickif not provided - If
depthisfull, warn the user that a full scan uses significantly more tokens and ask them to confirm before proceeding. If they decline, fall back tobalanced.
Step 2: Plan Scans
If $scan_dir/plan.md already exists, skip to the next step.
Otherwise, run the planner using scripts/loop.sh:
bash <path-to-loop.sh> $scan_dir planner.md "- depth: <depth>
- arguments: <relevant argument overrides if any, otherwise omit>" 1 $cache_dir
Use a 10-minute timeout. If the command times out, re-run it — the script resumes from where it left off. If it fails 3 times consecutively with the same error, stop and report the failure.
Verify: $scan_dir/plan.md exists and contains at least one ## Project: section before proceeding.
Step 3: Nominate Files
If $scan_dir/nominations.md does not exist, generate it by reading $scan_dir/plan.md and for each project section (## Project: <base_path> (<type>)), parse the Recommended Scans table. For each row, extract the Agent and Vector columns. Write $scan_dir/nominations.md - one line per (project, agent, vector) combination. Skip projects with empty scan tables.
# Nominations
- [ ] <base_path> (<type>) | <agent> | <vector>
- [ ] <base_path> (<type>) | <agent> | <vector>
...
If $scan_dir/nominations.md already exists, change every top level task - [x] to - [ ]. Keep all indented lines/subtasks beneath each item unchanged.
Run nomination script
Using scripts/loop.sh:
bash <path-to-loop.sh> $scan_dir nominator.md "- depth: <depth>
- arguments: <relevant argument overrides if any, otherwise omit>" 5 $cache_dir
Use a 10-minute timeout. If the command times out, re-run it — the script resumes from where it left off. If it fails 3 times consecutively with the same error, stop and report the failure.
Verify: $scan_dir/nominations.md contains at least one - [x] line before proceeding.
Step 4: Analyze Nominated Files
Read $scan_dir/nominations.md. For each candidate file under a checked - [x] line, append to $scan_dir/analyses.md (skip candidates already listed in analyses.md).
- [ ] <base_path> (<type>) | <agent> | <vector> | <candidate_file>
Create the findings directory:
mkdir -p $scan_dir/findings
Run analysis script
Using scripts/loop.sh:
bash <path-to-loop.sh> $scan_dir analyzer.md "" 5 $cache_dir
Use a 10-minute timeout. If the command times out, re-run it — the script resumes from where it left off. If it fails 3 times consecutively with the same error, stop and report the failure.
Verify: $scan_dir/analyses.md contains at least one - [x] line before proceeding.
Step 5: Verify Findings
List all .md files in $scan_dir/findings/. If none exist, write a no-findings.md summary and stop.
Using scripts/loop.sh:
bash <path-to-loop.sh> $scan_dir verifier.md "" 5 $cache_dir
Use a 10-minute timeout. If the command times out, re-run it — the script resumes from where it left off. If it fails 3 times consecutively with the same error, stop and report the failure.
Completion
After all steps complete, report the scan results:
- List all finding files in
$scan_dir/findings/ - Count verified vs rejected findings
- Present a summary to the user
Bu becerideki dosyalar
12ghost-scan-code skill soruları
ghost-scan-code skill'ini Claude Code uygulamasına nasıl kurarım?
npx degit ghostsecurity/skills/plugins/ghost/skills/scan-code ~/.claude/skills/ghost-scan-code komutunu çalıştırın. Claude Code, skill'leri ~/.claude/skills (tüm projeler) veya .claude/skills (tek proje) konumundan yükler ve açıklaması görevle eşleştiğinde skill'i kullanır.
ghost-scan-code skill'ini hangi istemciler kullanabilir?
Agent Skills biçimini okuyan her istemci: Claude Code, Codex, Gemini CLI ve claude.ai (ZIP olarak yükleyin). Skill içindeki betikler yalnızca istemcinin kod çalıştırmaya izin verdiği yerlerde çalışır.
Bu araç ne tür güvenlik açıkları bulabilir?
Araç; SQL injection, XSS, BOLA, BFLA, SSRF, prototype pollution, unsafe deserialization, ReDoS, path traversal ve zip slip gibi sorunları tarar.
Tam tarama (full scan) seçersem ne olur?
Tam tarama önemli ölçüde daha fazla token kullanır, bu nedenle agent sizi uyaracak ve devam etmeden önce onayınızı isteyecektir.