commit-security-scan
/commit-security-scan
Skanuje zmiany w kodzie pod kątem podatności bezpieczeństwa przed scaleniem.
- Autor
- codexstar69 ↗
- Repozytorium
- bug-hunter ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 17.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 17.08.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Skanuje zmiany w kodzie pod kątem podatności bezpieczeństwa przed scaleniem.
Oryginalny opis (EN)
Scan code changes for security vulnerabilities using Bug Hunter-native artifacts and STRIDE context. Use whenever the user asks for PR security review, commit-diff scanning, staged-change security checks, branch-comparison security review, or pre-merge security analysis of changed code.
Jak działa
- Purpose
- Inputs
- Workflow
- Output
- Notes
Podgląd SKILL.md
---
name: commit-security-scan
description: Scan code changes for security vulnerabilities using Bug Hunter-native artifacts and STRIDE context. Use whenever the user asks for PR security review, commit-diff scanning, staged-change security checks, branch-comparison security review, or pre-merge security analysis of changed code.
---
# Commit Security Scan
This is a bundled local Bug Hunter companion skill. It is portable and self-contained: use `.bug-hunter/*` artifacts, never `.factory/*` paths.
## Purpose
Review *changed code* for security issues only. This skill is optimized for:
- PR review
- staged diff review
- branch diff review
- commit / commit-range security scanning
## Inputs
Resolve the scan scope from the user request:
- PR review → use `scripts/pr-scope.cjs`
- staged review → use `git diff --cached --name-only`
- branch diff → use `git diff --name-only <base>...<head>`
- commit range → use `git diff --name-only <base>..<head>`
## Workflow
1. Ensure threat-model context exists.
- Preferred artifacts:
- `.bug-hunter/threat-model.md`
- `.bug-hunter/security-config.json`
- If missing, run the bundled `threat-model-generation` skill first.
2. Resolve the changed-file scope.
3. Read the full contents of the changed source files, not just the patch.
4. Focus on STRIDE-oriented issues in changed code:
- Spoofing: auth/session/token mistakes
- Tampering: SQLi, XSS, path traversal, command injection, mass assignment
- Repudiation: security-sensitive actions with no auditability
- Information Disclosure: IDOR, secret exposure, verbose errors
- DoS: unbounded input, missing limits, expensive regex/queries
- Elevation of Privilege: missing authorization, role bypass, privilege escalation
5. Reuse Bug Hunter-native security conventions:
- findings should be compatible with `.bug-hunter/hunter-findings.json`
- use STRIDE + CWE labels
- include confidence scores
6. If the user wants only a focused security diff review, stop after the findings report.
If the user wants deeper validation, hand off to the bundled `vulnerability-validation` skill.
## Output
Preferred outputs:
- `.bug-hunter/hunter-findings.json` when integrating with the main Bug Hunter pipeline
- `.bug-hunter/report.md` as a rendered companion if needed
## Notes
- This skill is intentionally diff-scoped; it does not replace full-repository audits.
- Use it as the lightweight security fast-path before invoking the broader `security-review` flow.
Wersje
W bazie nie ma innych skilli o nazwie commit-security-scan.
Migawka bazy z 13.11.2026 · wersja paczki 160196b6db90 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100pr-quality-security
Skanuje lokalny diff pod kątem podatności, wycieków sekretów i wzorców z OWASP Top 10 przed scaleniem. - 100security-scan
Uruchamia szybki przegląd bezpieczeństwa zmian w kodzie: skan podatności, sekretów i zależności przed zatwierdzeniem. - 100flux-security-scan
Analizuje zmiany w kodzie pod kątem podatności, korzystając z rozumowania LLM i wzorców modeli zagrożeń, przy przeglądach PR, kontrolach przed commitem i porównaniach gałęzi. - 85pre-commit-scan
Skanuje całe repozytorium przed commitem pod kątem bezpieczeństwa i blokuje commit tylko przy krytycznych problemach w zmianach. - 90security-review
Prowadzi skoncentrowany przegląd bezpieczeństwa metodą STRIDE na podstawie artefaktów repozytorium, łącząc zależności CVE i kontekst modelu zagrożeń. - 100repo-security-scan
Skanuje repozytorium pod kątem wrażliwych informacji i podatności bezpieczeństwa, w tym audyt bezpieczeństwa i przeszukanie historii pod kątem sekretów.