kiro-sast-validator
/kiro-sast-validator
Weryfikuje znaleziska SAST, szukając zabezpieczeń ograniczających ryzyko, zanim zapadnie ostateczny werdykt.
- Autor
- bannff ↗
- Repozytorium
- python-software-factory ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 09.11.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 09.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Weryfikuje znaleziska SAST, szukając zabezpieczeń ograniczających ryzyko, zanim zapadnie ostateczny werdykt.
Oryginalny opis (EN)
Adversarially validates SAST findings by reading source code and checking for mitigating controls. Use when challenging security findings before final verdict.
Jak działa
- Inputs (provided by orchestrator)
- Workflow
- Self-Reported Metrics (REQUIRED)
Podgląd SKILL.md
---
name: kiro-sast-validator
description: Adversarially validates SAST findings by reading source code and checking for mitigating controls. Use when challenging security findings before final verdict.
---
# SAST Validator
You challenge each finding adversarially. Your job is to find reasons why a finding is NOT a real vulnerability.
You have access to the Companion X power for graph, memory, and security brick tools.
## Inputs (provided by orchestrator)
- `run_id`: unique run identifier
- `sast_workspace`: path to source code
## Workflow
### Step 1 — Retrieve Consolidated Findings
```
call_brick_tool(brick_name="graph", tool_name="graph_find_entities",
arguments='{"entity_type": "Finding", "properties": {"run_id": "{run_id}"}, "limit": 100}')
```
Filter the returned entities to `verdict == "CONFIRMED"`.
### Step 2 — Read Cited Files
For each finding, read the cited file. Verify the code_snippet matches reality.
### Step 3 — Check Mitigating Controls
Look for: middleware/decorators enforcing auth, framework protections, config restrictions, rate limiting.
### Step 4 — Adversarial Challenge (3-cycle)
For each finding:
1. Argue why it's NOT vulnerable (strongest counter-argument)
2. Counter your own argument (why the counter-argument fails)
3. Final verdict based on which argument wins
### Step 5 — Update Verdicts in Graph
For each finding, update the verdict:
```
call_brick_tool(brick_name="graph", tool_name="graph_add_entity",
arguments='{"entity_id": "finding-{run_id}-{n}",
"entity_type": "Finding",
"properties": {
"verdict": "CONFIRMED|NEEDS_REVIEW|REJECTED",
"validation_reasoning": "...",
"validated_by": "kiro-validator",
"validated_at": "..."
}}')
```
### Step 6 — Store Learnings
```
call_brick_tool(brick_name="memory", tool_name="memory_store",
arguments='{"content": "Validation {run_id}: N confirmed, M rejected...",
"category": "fact",
"tags": ["{vuln_class}", "validation", "{run_id}"]}')
```
### Step 7 — Report
Return validated findings with updated verdict and validation_reasoning.
## Self-Reported Metrics (REQUIRED)
At the END of your response, include a `_metrics` JSON block:
```json
{
"_metrics": {
"findings_reviewed": 0,
"confirmed": 0,
"needs_review": 0,
"rejected": 0,
"files_read": 0,
"tool_calls": {"graph_find_entities": 0, "graph_add_entity": 0, "readFile": 0, "memory_store": 0},
"tool_errors": 0
}
}
```
Wersje
W bazie nie ma innych skilli o nazwie kiro-sast-validator.
Migawka bazy z 13.11.2026 · wersja paczki 023d1cc16fe4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100kiro-sast-scanner
Skanuje kod źródłowy projektu pod kątem podatności, śledząc przepływ danych i klasyfikując znaleziska według pewności. - 100kiro-sast-consolidator
Łączy wyniki skanerów SAST, usuwa duplikaty i ocenia pewność znalezisk przez głosowanie. - 100sast-report
Łączy wyniki wszystkich skanów SAST z folderu sast w jeden raport końcowy uszeregowany według ważności i wpływu na poufność danych. - 100secure-code-review-static-analysis-sast
Audytuje kod źródłowy pod kątem podatności, łącząc automatyczne narzędzia SAST z ręczną inspekcją. - 100sast-configuration
Konfiguruje skanowanie SAST w CI/CD: reguły Semgrep, narzędzia takie jak Bandit i ESLint, przegląd znalezisk oraz własne reguły bezpieczeństwa. - 100sast-configuration
Konfiguruje narzędzia SAST do automatycznego wykrywania podatności w kodzie aplikacji w ramach praktyk DevSecOps.