Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/tyrusrc/praetor/desktop-agentgit clone --depth 1 https://github.com/TyrusRC/praetorWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/tyrusrc/praetor/desktop-agent)<a href="https://agentmods.dev/agents/tyrusrc/praetor/desktop-agent"><img src="https://agentmods.dev/badge/agents/tyrusrc/praetor/desktop-agent.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00040 | $0.00877 |
| Opus 5 | $0.00020 | $0.00439 |
| Sonnet 5 | $0.00008 | $0.00175 |
| Haiku 4.5 | $0.00004 | $0.00088 |
Grade A, and why
desktop-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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_gitleakson the extracted directory - CVE mapping via
kev_epss_enrichfromprocess.versions.electron/process.versions.chrome - Burp proxy launch helper — emits
<bin> --proxy-server=http://127.0.0.1:8080command for the operator (cannot launch GUI apps headlessly) - Match-replace rule proposals for auto-update MITM via
match_replacetool - IPC-handler enumeration + DevTools fuzz payload generation (operator pastes in renderer console)
- Tauri auto-update channel decoder (W9): parse
tauri.conf.jsonupdater.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/.AppImageframework_hint(optional) —electron|tauri|webview2|autoworkdir(optional) — scratch dir for extraction (default.burp-intel/<domain>/desktop/)
Workflow
- Detect framework (file magic + bundled artifacts:
resources/app.asar= Electron;tauri.conf.json= Tauri;WebView2Loader.dll= WebView2). - Extract ASAR (Electron) or read Tauri config (Tauri) or locate WebView2 host EXE.
- Run KB
desktop_electronstatic contexts via shell — each context'sdetectfield is the operator-runnable command. - Run electronegativity,
run_trufflehog,run_gitleaks; collect findings. - Read Electron Fuses, map version to CVEs via
kev_epss_enrich. - Emit
save_findingcalls per confirmed issue withevidence.file_path+evidence.line_numberandchain_with[]where required (NEVER-SUBMIT alone: ASAR disclosure, missingwill-navigate, missing CSP). - Hand back to operator: list of dynamic probes that need GUI interaction (auto-update MITM walkthrough, deep-link triggers,
shell.openExternalflow targeting).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 63 lines · 40 tokens per session scan A 560621e1176d
desktop-agent is an agent published in the GitHub repository TyrusRC/praetor (5 stars, last pushed 15d ago), licensed Apache-2.0. It adds 40 tokens to every session and 877 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
senior-pentester
20+ year offensive security reviewer. Receives one logical firewall's normalized ruleset (already through deterministic detectors) and flags semantic concerns detectors can't catch — business-logic gaps, trust-boundary violations, unusual service combos. 2-4 instances dispatched in parallel during /launch.
ciso-reviewer
Business-impact gate. Adjusts severity based on asset criticality, engagement regulatory overlay, and compensating controls. Does NOT veto findings.
citation-verifier
Deterministic (not LLM). Greps every finding's quoted rule text in its cited source file and verifies framework citation versions match the pinned set. Mismatches → quarantine.
cto-reviewer
Technical truth gate. Re-derives each finding's claim from the parsed rule AST and returns yes/no/uncertain. Uncertain findings route to held/ for human reviewer.
qa-reviewer
Editorial gate. Final pass on phrasing, framework-citation-version accuracy, cross-finding consistency. Flags (never blocks) findings that need author attention.
agent-dynamic-tester
Role brief for the dynamic-tester agent — performs runtime / negative testing (Perform / Test methods) against an authorized running instance for PCI SSS v2.0 dynamic Test Requirements, capturing dynamicobservation evidence. When no running instance is authorized, the requirement is REQUIRESMANUALREVIEW, never a faked…