Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

Tauri Hasgard

Latest version: v0.7.3

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
MCP server Transport: stdio Publisher: nyssance
2 Stars
1 Forks
3 Versions
Rust Repo language

Scan summary

Tauri Hasgard was last scanned on 23 Nov 2026 at version 0.7.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published within 5 days (19–23 Nov 2026).
  • Findings: No rules fired in version 0.7.3.
  • MCP server: Runs over stdio.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.7.3 LATEST 23 Nov 2026 No rules fired
0.7.2 22 Nov 2026 No rules fired
0.7.0 19 Nov 2026 No rules fired

No rules fired in 0.7.3

Findings

Findings for v0.7.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.7.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Tauri Hasgard

crates.io npm CI

Hasgard is the automation bridge for Tauri 3. It connects to one running Tauri application and drives its real native webviews through a shared JSON-RPC protocol.

Use the same running app from:

  • CLI — inspect windows, take accessibility snapshots, click, fill, press keys, capture screenshots and call IPC.
  • MCP — give Claude Code, Codex or another MCP client the same tools.
  • Playwright — write E2E tests with Playwright's test runner and assertions.

Hasgard does not launch a browser, emulate a Tauri webview or provide a fake Page. The app must be running and the plugin must be registered in it.

Quick start

1. Register the plugin

From your Tauri project's src-tauri directory:

cargo add tauri-plugin-hasgard tauri-runtime-wry@3.0.0-alpha.6

Register the plugin and the Wry runtime in your builder:

tauri::Builder::default()
    .runtime(tauri_runtime_wry::Wry::default())
    .plugin(tauri_plugin_hasgard::init())
    .run(tauri::generate_context!())
    .expect("failed to run Tauri application");

Grant the permission to every window you intend to automate. In src-tauri/capabilities/default.json:

{
  "windows": ["*"],
  "permissions": ["hasgard:default"]
}

Registering the plugin enables automation in every build, including release builds. If production builds must not expose it, conditionally add the .plugin(...) call in your application.

Start the app and leave it running. Hasgard attaches to an existing process:

bun run tauri dev
2. Check the connection

Install the CLI with any one of these methods:

npm install -g tauri-hasgard
# or: brew install nyssance/tap/tauri-hasgard
# or: scoop bucket add nyssance https://github.com/nyssance/scoop-bucket
#     scoop install nyssance/tauri-hasgard
# or: cargo install tauri-hasgard-cli

Then inspect the running app:

$ tauri-hasgard ping
✓ Connected. Plugin and CLI both 0.7.3.
$ tauri-hasgard windows
main       tauri://localhost                 My application
$ tauri-hasgard --window main snapshot -i
- textbox "Display name" [ref=e1]
- button "Save" [ref=e2]

The windows command gives you the label for --window. Snapshot refs are short-lived: take a new snapshot after the UI changes.

3. Drive the UI
tauri-hasgard --window main click '@e2'
tauri-hasgard --window main fill 'input[name=email]' 'me@example.com'
tauri-hasgard --window main press Enter
tauri-hasgard --window main wait '#saved'
tauri-hasgard --window main screenshot screen.png

Targets can be a ref from the latest snapshot or a CSS selector. Add --json for machine-readable output; run tauri-hasgard --help for the complete command list.

Connect an AI client

With the app running, register the MCP server in one command:

claude mcp add tauri-hasgard -- npx -y tauri-hasgard mcp
codex mcp add tauri-hasgard -- npx -y tauri-hasgard mcp

Check the connection with claude mcp list or codex mcp list, then ask the client to list the application's windows. The MCP server and CLI use the same plugin endpoint and the same tool semantics.

For an app that hosts its own agent, Hasgard also exposes an in-process MCP server. See the MCP guide.

Write Playwright tests

Requires Node.js 24 or newer.

Install the test fixture:

bun add --dev @nyssance/tauri-hasgard @playwright/test

The fixture launches or attaches to your app, then exposes HasgardApplication and HasgardWindow objects:

test("opens settings", async ({ hasgard, window }) => {
  await window.getByRole("button", { name: "Settings", exact: true }).click()
  const settings = await hasgard.waitForWindow("settings", 5_000)
  await expect(settings.getByRole("heading", { name: "Settings" })).toBeVisible()
})

See the Playwright guide for fixture setup, lifecycle cleanup, locators and keyboard behavior. Tests run against real native windows; there is no mocked browser mode and no page fixture.

Supported platforms

Component Support
Tauri 3.0.0-alpha.6
Webview Wry; CEF is opt-in
CLI binaries macOS Apple Silicon, Windows x64, Linux x64

The CEF setup and its operation limits are documented in docs/cef.md.

Documentation

  • CLI and MCP walkthrough
  • MCP guide
  • Playwright guide
  • Protocol reference
  • Architecture
  • Troubleshooting
  • Contributing

License

Apache-2.0. Upstream MIT notices are preserved in LICENSE and NOTICE.md.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry io.github.nyssance/tauri-hasgard

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229