# Vuln Desk

**vuln-desk.infinity-sdg.com** — vulnerability management from scan to verified fix, with AI-suggested triage that an analyst signs off.

```
assets ← scans → findings (asset × CVE)
  open ─ AI suggests a severity + rationale
       → analyst triages: final severity, owner, due date (SLA)
  triaged → engineer marks fixed → retest passes → closed
                                 → retest fails  → reopened
  triaged → time-boxed waiver, approved by a different lead → accepted
            nightly: approved waivers past expiry lapse
  open / triaged → false positive (lead, with justification) → dismissed
```

## What it enforces

| Rule | Why |
|---|---|
| A finding closes only on a passing retest; retests run only on findings marked fixed | "Fixed" means proven fixed |
| A failed retest must say what is still vulnerable, and it reopens the finding | No silent regressions |
| Triage requires a final severity, an owner and a due date, and records who triaged | Every finding has an accountable owner and an SLA |
| An AI-suggested severity must include its rationale | The analyst can see why and overrule it |
| Accepting risk requires an approved, expiring waiver with compensating controls | Accepted risk is explicit and temporary |
| **Critical findings on internet-facing assets cannot be waived** | The things that get companies breached get fixed |
| Waivers only for triaged findings, and nobody approves their own | Separation of duties |
| False positives need a lead and a written justification | Dismissals are auditable |
| Assets with live findings can't be retired | Risk doesn't disappear with the inventory entry |

Every resource is audited. Findings and waivers keep a readable history with reasons.

## Resources, views, roles

- **Resources:**
  - Inventory and inputs: asset, advisory (CVE), scan
  - The finding itself
  - Finding records: retest, waiver
- **Views:**
  - `remediationQueue`, with a past-SLA flag
  - `untriaged`, showing the AI's suggestions
  - `aiTriageAgreement` (AI vs. analyst severity)
  - `activeWaivers`
- **Roles:**
  - `analyst`: scans, triage, retests
  - `engineer`: fixes, waiver requests
  - `lead`: waivers, false positives, retiring assets
  - `admin`

## Demo data

The demo inventory has 12 assets: an API gateway, payments images, firewall and VPN gateways, an HR portal, build runners, a legacy MFT server, a marketing site and others. It uses 10 real, well-known CVEs, including Log4Shell, MOVEit, Spring4Shell, PAN-OS GlobalProtect, FortiOS SSL VPN, Heartbleed, HTTP/2 Rapid Reset, regreSSHion and the curl SOCKS5 overflow.

There are 11 scans (one failed) and 38 findings:

- 14 closed on a passing retest, 2 of them after a failed retest reopened them
- 3 awaiting retest
- 8 triaged, 2 of them past their SLA
- 6 accepted under a waiver
- 1 reopened when its waiver lapsed
- 4 untriaged
- 3 false positives

The waivers include 2 that were rejected and 1 still pending. A clean staging Jenkins server has been retired.

The AI rates severity from CVSS alone. Analysts also weigh exposure, active exploitation and environment. Of 31 triaged findings, analysts raised the AI's severity on 6 (exploited and internet-facing) and lowered it on 5 (development hosts), so the agreement view has real data.

CVSS values are NVD v3 base scores, and `exploited` reflects CISA KEV listing as checked when the demo was built. In production, sync both from the NVD and KEV feeds. Asset names and teams are invented. To regenerate the data, run `python3 seeds/gen_seed.py`.

## Run it

```bash
scripts/kalos.sh validate    # static checks
scripts/kalos.sh start       # kalosd on :9214
scripts/kalos.sh verify      # live checks
```

By default, `KALOS_REPO` is `../kalos`.

Sign in with `admin` / `Admin123!`. The other users are `analyst1`, `engineer1`, `lead1` and `lead2`, all with password `Demo123!`.

## Reselling

This is an original ISDG product for security teams, MSSPs and pentest platforms. It has no customer data and no third-party branding.
