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.
git 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/tyrusrc/praetor/desktop-agent"><img src="https://agentmods.dev/badge/agents/tyrusrc/praetor/desktop-agent.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00040 | $0.00877 |
| Opus 5.5 | $0.00016 | $0.00351 |
| Sonnet 5.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 3mo 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.
- 3mo ago First seen · 63 lines · 40 tokens per session scan A 560621e1176d
desktop-agent is an agent published in the GitHub repository TyrusRC/praetor (11 stars, last pushed 14d ago), licensed Apache-2.0. It adds 40 tokens to every session and 877 once invoked, about $0.0002 per session on Opus 5.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.
desktop-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| desktop-agentTyrusRC/praetor | Agent | 11 | 14d ago | Apache-2.0 | A | 40 | Claude Code |
| senior-pentestertransilienceai/communitytools | Agent | 641 | 4mo ago | MIT | A | 62 | Claude Code |
| ciso-reviewertransilienceai/communitytools | Agent | 641 | 4mo ago | MIT | A | 32 | Claude Code |
| citation-verifiertransilienceai/communitytools | Agent | 641 | 4mo ago | MIT | A | 41 | Claude Code |
| cto-reviewertransilienceai/communitytools | Agent | 641 | 4mo ago | MIT | A | 40 | Claude Code |
| qa-reviewertransilienceai/communitytools | Agent | 641 | 4mo ago | MIT | A | 35 | Claude Code |
| agent-dynamic-testertransilienceai/communitytools | Agent | 641 | 4mo ago | MIT | A | 73 | Claude Code |