tauri-impl-security

tauri-impl-security is a skill for Claude Code from OpenAEC-Foundation/OpenAEC-Workspace-Composer. It costs 97 tokens per session (2,502 once invoked), scanned A, original, MIT.

A security guide for Tauri 2 desktop applications. It explains rules that limit loaded web content, frontend-to-Rust commands, file access, and the windows allowed to use those commands.

In plain words
What is it for?
Use it to configure a content security policy, define permissions and access scopes, connect permissions to windows, isolate frontend communication, and freeze JavaScript prototypes.
Why use it?
It helps reduce the damage caused by overly broad permissions, unrestricted file or network access, unsafe web content rules, and prototype pollution.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is "$schema": "../gen/schemas/desktop-schema.json",.

Good fit Use it to configure a content security policy, define permissions and access scopes, connect permissions to windows, isolate frontend communication, and freeze JavaScript prototypes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/OpenAEC-Foundation/OpenAEC-Workspace-Composer
agentmods
npx agentmods add skills/openaec-foundation/openaec-workspace-composer/tauri-impl-security

Made for: Claude Code.

Wrote 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.

agentmods badge for tauri-impl-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/tauri-impl-security/github.svg)](https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/tauri-impl-security)
Your own site
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/tauri-impl-security"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/tauri-impl-security/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.

agentmods 80×15 button for tauri-impl-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/openaec-foundation/openaec-workspace-composer/tauri-impl-security"><img src="https://agentmods.dev/badge/skills/openaec-foundation/openaec-workspace-composer/tauri-impl-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,502 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.02502
Opus 5 $0.00048 $0.01251
Sonnet 5 $0.00019 $0.00500
Haiku 4.5 $0.00010 $0.00250

Measured 10d ago against content hash f3e905d8cd6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

tauri-impl-security 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 10d 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.

.claude/skills/tauri-2/tauri-impl/tauri-impl-security/SKILL.md · 351 lines

How it starts

The opening of the file, as written. The whole thing — 351 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

NEVER set csp to null in production -- this disables all content security restrictions, exposing the app to XSS and injection attacks.

NEVER use "windows": ["*"] with broad permissions -- this grants all windows identical access. ALWAYS use specific window labels.

NEVER set dangerousDisableAssetCspModification: true unless you fully understand that it removes automatic CSP nonce injection for asset loading.

NEVER grant shell:default without scope restrictions -- this allows arbitrary command execution. ALWAYS define explicit command scopes.

ALWAYS enable freezePrototype: true in production -- it prevents JavaScript prototype pollution attacks.

ALWAYS add capabilities for every plugin you install -- plugins do NOT automatically receive permissions.

ALWAYS define deny rules for sensitive paths (e.g., $HOME/.ssh/*) when granting filesystem access.

Read the full file on GitHub · 351 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 10d ago First seen · 351 lines · 97 tokens per session scan A f3e905d8cd6e

Subscribe to this mod's changes

tauri-impl-security is a skill published in the GitHub repository OpenAEC-Foundation/OpenAEC-Workspace-Composer (5 stars, last pushed 5mo ago), licensed MIT. It adds 97 tokens to every session and 2,502 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

massing-bim

Drive a Massing BIM/AEC project from an AI agent over MCP — read a project's status, records, CDE, KPI and model-quality checks; run standards-compliance, schedule-risk, embodied-carbon, permit- readiness and drawing-QA analyses; author the IFC model with GUID-stable recipes; and draft RFIs. Use when the user asks to…

ibuilder/massing · 90 tokens

ara3d-sdk

Use when processing AEC/BIM 3D data in .NET 8 — mesh generation and transformation, SIMD-accelerated math, IFC/STEP/PLY to glTF/GLB/VIM conversion, plugin development. Ara3D-SDK: high-performance .NET 3D geometry and BIM library suite.

znlgis/opengis-skills · 70 tokens

elements

Use when generating building information models (BIM) programmatically in C#/.NET — wall, beam, column, floor creation, geometry kernel (BREP/CSG), glTF/IFC/JSON serialization, MEP systems, spatial grids. Hypar Elements: the smallest useful BIM — a cross-platform C# library for creating building elements without…

znlgis/opengis-skills · 81 tokens

3d-skills

Use when working with 3D Gaussian Splatting (3DGS), .ply model cleanup/compression/publishing, interactive 360-degree panorama visualization and virtual tours, AEC/BIM 3D data processing, or CSG solid modeling. Index of 5 skills: SuperSplat, Photo-Sphere-Viewer, Ara3D-SDK, Elements, and OpenCSG.NET.

znlgis/opengis-skills · 86 tokens

aios-arch

A workflow for reviewing software architecture, including service boundaries, technical choices, data and model boundaries, AI workflows, reliability, and long-term complexity.

ArchSightLabs/archsight-aios · 57 tokens

aios-product

A product-management workflow for turning an approved direction into a defined software version with a product brief, priorities, acceptance measures, pilot or user-acceptance testing, and handover details.

ArchSightLabs/archsight-aios · 76 tokens