tauri-impl-security skillA
tauri-impl-security is agent-read markdown (skill) from impertio-studio/tauri-2-claude-skill-package: Use when hardening Tauri 2 app security, configuring CSP, reviewing permissions, or implementing isolation patterns. Prevents overly permissive CSP, disabled prototype freeze, and unscoped file/shell/http permissions in production. Covers CSP configuration, Tauri protocols, freezePrototype, isolation pattern, scope-based access control, and dangerous permissions. Keywords: tauri security, CSP, Content Security Policy, freezePrototype, isolation pattern, scope, permissions audit, harden app, CSP .
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# tauri-impl-security ## Quick Reference ### Security Architecture (Tauri 2) | Layer | Mechanism | Configuration | |-------|-----------|---------------| | **Content Security Policy** | Restricts resource loading in webview | `app.security.csp` in tauri.conf.json | | **Permissions** | Define which IPC commands are allowed/denied | `src-tauri/permissions/*.toml` | | **Capabilities** | Bind permissions to specific windows | `src-tauri/capabilities/*.json` | | **Scopes** | Restrict what data commands can access | Within permission definitions | | **Isolation Pattern** | Separate IPC from frontend context | `app.security.pattern` | | **Prototype Freeze** | Prevent prototype pollution | `app.security.freezePrototype` | ### Tauri-Specific Protocols | Protocol | Purpose | CSP Directive | |----------|---------|---------------| | `tauri:` | Internal protocol for serving frontend assets | `default-src` | | `asset:` / `https://asset.localhost` | Access bundled resources and filesystem assets | `img-src`, `media-src` | | `ipc:` / `http://ipc.localhost` | IPC communication between frontend and Rust | `connect-src` | ### Critical Warnings …
Read the whole file at its exact version.
How to install
mdr add impertio-studio/tauri-2-claude-skill-package/tauri-impl-security@v1.0mdr add impertio-studio/tauri-2-claude-skill-package/tauri-impl-security@sha256:1c6e15c995991627Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_i2gvrh4ir6svajvq)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0 latest | 2026-03-30 | ebe35c0 | 10,405 B | A | view · diff |
| v1.0 | 2026-03-19 | 8ab49f9 | 10,321 B | A | view · diff |
| v1.0 | 2026-03-19 | 3d23315 | 10,251 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10405 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
impertio-studio/tauri-2-claude-skill-package · 4 stars · license MIT · pushed 2026-09-15 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_i2gvrh4ir6svajvq GET https://markdownregistry.com/api/v1/resolve?ref=impertio-studio/tauri-2-claude-skill-package/tauri-impl-security GET https://markdownregistry.com/api/v1/blob/1c6e15c99599162758da96fffcd4a2c592c0f4370fb019ae7bbdc386232fce59
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.