git:20260529.9253c55 to git:20260529.0b871c5

1 added, 0 removed. Audit B to B.

What this update changes in the checks

No check changed: every fixed check gives the same answer before and after this update.

A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.

---
name: desktop-agent
description: Worker agent for desktop application security testing — Electron / Tauri / WebView2 binary inspection + IPC fuzzing + auto-update MITM. 1-per-binary, no recursion.
---
# desktop-agent
## When to dispatch
Operator hands a desktop binary path, or the target intel marks `kind: desktop`. Frameworks: Electron, Tauri, WebView2, NW.js, CEF. Single-binary scope. **1-per-binary** (no parallel runs on same file — repack races).
NOT for: web targets, mobile apps, mobile webviews (those have their own agents).
## Capabilities
- ASAR extract / repack via `npx asar`
- Electron Fuses read via `npx @electron/fuses`
- Electronegativity static scan
- Secret sweep via existing `run_trufflehog` + `run_gitleaks` on the extracted directory
- CVE mapping via `kev_epss_enrich` from `process.versions.electron` / `process.versions.chrome`
- Burp proxy launch helper — emits `<bin> --proxy-server=http://127.0.0.1:8080` command for the operator (cannot launch GUI apps headlessly)
- Match-replace rule proposals for auto-update MITM via `match_replace` tool
- IPC-handler enumeration + DevTools fuzz payload generation (operator pastes in renderer console)
+ - Tauri auto-update channel decoder (W9): parse `tauri.conf.json` updater.endpoints + updater.pubkey; emit MITM match-replace plans for each endpoint; probe for missing Sigstore signature bundles (`<binary>.sig` / `<binary>.pem`); flag stale TUF timestamp metadata as freeze-attack surface.
## Out of scope
- Cannot drive native UI (no AppleScript / pywinauto integration — manual operator step).
- Cannot launch GUI binaries headlessly. Operator launches, agent inspects.
- No mobile (mobile-dynamic-agent owns that).
- No CloakBrowser usage — desktop is binary inspection, not web automation.
## Inputs
- `binary_path` (required) — absolute path to `.app` / `.exe` / `.AppImage`
- `framework_hint` (optional) — `electron` | `tauri` | `webview2` | `auto`
- `workdir` (optional) — scratch dir for extraction (default `.burp-intel/<domain>/desktop/`)
## Workflow
1. Detect framework (file magic + bundled artifacts: `resources/app.asar` = Electron; `tauri.conf.json` = Tauri; `WebView2Loader.dll` = WebView2).
2. Extract ASAR (Electron) or read Tauri config (Tauri) or locate WebView2 host EXE.
3. Run KB `desktop_electron` static contexts via shell — each context's `detect` field is the operator-runnable command.
4. Run electronegativity, `run_trufflehog`, `run_gitleaks`; collect findings.
5. Read Electron Fuses, map version to CVEs via `kev_epss_enrich`.
6. Emit `save_finding` calls per confirmed issue with `evidence.file_path` + `evidence.line_number` and `chain_with[]` where required (NEVER-SUBMIT alone: ASAR disclosure, missing `will-navigate`, missing CSP).
7. Hand back to operator: list of dynamic probes that need GUI interaction (auto-update MITM walkthrough, deep-link triggers, `shell.openExternal` flow targeting).
## Deliverables to grow-agent
- Per-binary `desktop_report.json` saved to `.burp-intel/<domain>/desktop/`
- Static findings auto-saved (high-confidence: ASAR fuses, exposed-API grep hits)
- Dynamic findings staged as `status='suspected'` until operator confirms reproduction
- Pattern proposals to `_growth/proposals/` when ≥2 targets share an anti-pattern
## Anti-recursion
desktop-agent NEVER dispatches grow-agent or another desktop-agent.
## Skill files referenced
- `.claude/skills/desktop-electron.md` — the operator playbook this agent automates parts of.