Security Review
deadlock-mod-manager/deadlock-mod-manager
Security code review for Tauri/Rust/TypeScript desktop apps and Hono/oRPC APIs.
Expert workflow for reviewing Tauri 2 desktop app security. An agent skill from mukiwu/tempo-term.
$ npx skills add mukiwu/tempo-term --skill tauri-security-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mukiwu/tempo-term tauri-security-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mukiwu/tempo-term.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/tauri-security-review .claude/skills/tauri-security-review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "tauri-security-review" agent skill from https://github.com/mukiwu/tempo-term/tree/master/.claude/skills/tauri-security-review into .claude/skills/tauri-security-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tauri-security-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mukiwu/tempo-term/tree/master/.claude/skills/tauri-security-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mukiwu/tempo-term --skill tauri-security-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mukiwu/tempo-term tauri-security-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mukiwu/tempo-term.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/tauri-security-review .agents/skills/tauri-security-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "tauri-security-review" agent skill from https://github.com/mukiwu/tempo-term/tree/master/.claude/skills/tauri-security-review into .agents/skills/tauri-security-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tauri-security-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mukiwu/tempo-term --skill tauri-security-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mukiwu/tempo-term tauri-security-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mukiwu/tempo-term.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/tauri-security-review .cursor/skills/tauri-security-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "tauri-security-review" agent skill from https://github.com/mukiwu/tempo-term/tree/master/.claude/skills/tauri-security-review into .cursor/skills/tauri-security-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tauri-security-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mukiwu/tempo-term.git --path .claude/skills/tauri-security-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mukiwu/tempo-term --skill tauri-security-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mukiwu/tempo-term tauri-security-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mukiwu/tempo-term.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/tauri-security-review .gemini/skills/tauri-security-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "tauri-security-review" agent skill from https://github.com/mukiwu/tempo-term/tree/master/.claude/skills/tauri-security-review into .gemini/skills/tauri-security-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tauri-security-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mukiwu/tempo-term tauri-security-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mukiwu/tempo-term --skill tauri-security-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mukiwu/tempo-term.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/tauri-security-review .github/skills/tauri-security-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "tauri-security-review" agent skill from https://github.com/mukiwu/tempo-term/tree/master/.claude/skills/tauri-security-review into .github/skills/tauri-security-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tauri-security-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mukiwu/tempo-term --skill tauri-security-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mukiwu/tempo-term tauri-security-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mukiwu/tempo-term.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/tauri-security-review .opencode/skills/tauri-security-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "tauri-security-review" agent skill from https://github.com/mukiwu/tempo-term/tree/master/.claude/skills/tauri-security-review into .opencode/skills/tauri-security-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "tauri-security-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
tauri-security-reviewExpert workflow for reviewing Tauri 2 desktop app security. An agent skill from mukiwu/tempo-term.
Tauri Security Review is an agent skill from mukiwu/tempo-term. Expert workflow for reviewing Tauri 2 desktop app security. Covers capabilities/permissions least-privilege, IPC trust boundary, command input validation, CSP, scope restriction, isolation pattern, and frontend-side hygiene.
Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Security, covering Security review. It works with Tauri. The repository describes itself as: AI-powered terminal, editor and file explorer. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 6750c17. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are rust and json).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
v2.tauri.appFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Tauri Security Review loads about 2.8k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 344 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
s added for sensitive subpaths (secrets, .env)Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mukiwu/tempo-term at commit 6750c17, republished under its Apache-2.0 licence (© mukiwu). 344 words, ~2,808 tokens.
.claude/skills/tauri-security-review/SKILL.md (or your agent's skills folder).Expert workflow for reviewing Tauri 2 code with a focus on the IPC trust boundary, capability least-privilege, and command-level input validation.
Invoke this skill (or the tauri-security-reviewer agent) when changes touch:
src-tauri/capabilities/*.jsonsrc-tauri/permissions/*.tomlsrc-tauri/tauri.conf.json (security / app / bundle sections)#[tauri::command] functiontauri::generate_handler! registrationtauri::Builder plugin registrationinvoke() callers (especially passing user input)The webview is part of the untrusted side of the trust boundary. Every command must validate every input as if it came from a remote attacker. A capability grants the ability to call a command — it does not validate the contents of the call.
src-tauri/capabilities/*.json)□ identifier is unique and descriptive
□ windows / webviews are explicitly listed (no broad globs unless justified)
□ permissions list is minimal — every entry has a justified use case
□ fs/shell/http permissions use scoped objects with allow path lists
□ allow paths use Tauri path vars ($APPDATA, etc.), not absolute paths
□ allow paths do NOT use ** wildcards
□ deny rules added for sensitive subpaths (secrets, .env)
□ platforms[] excludes platforms that don't need this capability
□ remote.urls (if present) is a specific allowlist, not "https://*"
□ local: false used when capability is for remote-only contextssrc-tauri/permissions/*.toml)□ identifier prefixed with intended namespace
□ commands.allow is the smallest set possible
□ scope.allow paths are specific
□ scope.deny added for any obvious dangerous subpath
□ description explains the security impact, not just the featuretauri.conf.json□ app.security.csp present and restrictive
- default-src 'self'
- no 'unsafe-inline' for script-src
- no 'unsafe-eval' (except 'wasm-unsafe-eval' if WASM is used)
- connect-src is a specific allowlist
□ app.security.devCsp present (or same as csp) — dev mode shouldn't relax everything
□ app.security.dangerousDisableAssetCspModification is NOT true
□ app.security.assetProtocol.scope is restrictive (not "**")
□ app.windows[].url is local (path) or trusted https — not http or untrusted host
□ build.devUrl is localhost only
□ identifier is reverse-DNS and matches the App Store record
□ plugins.shell.open is restrictive or absent
□ plugins.http.scope (if used) lists exact allowed origins#[tauri::command])□ All path inputs validated:
- canonicalize() to resolve symlinks
- check that resolved path is inside an expected base dir
- reject paths containing ".." segments or null bytes
□ Shell-bound inputs never concatenated — use std::process::Command with args[], not args.join(" ")
□ SQL inputs parameterized (never format!())
□ HTTP URLs validated to be in expected origin set
□ Input length bounded — no infinite-size strings/bytes accepted
□ Errors don't leak sensitive paths or stack traces (use a typed error enum that rewrites messages)
□ No unwrap()/expect() — they panic and crash the app
□ Async commands don't hold std::sync::Mutex across .await
□ No use of std::env::set_var (security side effects across threads)invoke_handler! Registration□ Single tauri::generate_handler![...] call (multiple calls silently overwrite)
□ All commands listed actually exist as #[tauri::command]
□ No leftover/dead command registrations exposing unused attack surfaceinvoke('cmd', { ... }))□ User input never used as an `invoke` command name (must be a hardcoded string literal)
□ Argument types match the Rust signature exactly
□ Error from invoke is caught and shown safely (not innerHTML'd into DOM — XSS)// ❌ WRONG — frontend can read/write anywhere in $HOME
{
"identifier": "main",
"windows": ["main"],
"permissions": [
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "$HOME/**" }] }
]
}
// ✅ CORRECT — narrowly scoped to app data
{
"identifier": "main",
"windows": ["main"],
"permissions": [
{ "identifier": "fs:allow-write-text-file", "allow": [{ "path": "$APPDATA/notes/*" }] }
]
}// ❌ WRONG — frontend can escape with "../../../etc/passwd"
#[tauri::command]
async fn read_note(name: String, app: AppHandle) -> Result<String, NoteError> {
let dir = app.path().app_data_dir()?;
let path = dir.join(&name);
Ok(tokio::fs::read_to_string(&path).await?)
}
// ✅ CORRECT — canonicalize and verify containment
#[tauri::command]
async fn read_note(name: String, app: AppHandle) -> Result<String, NoteError> {
let dir = app.path().app_data_dir()?.canonicalize()?;
let path = dir.join(&name).canonicalize()?;
if !path.starts_with(&dir) {
return Err(NoteError::InvalidPath);
}
Ok(tokio::fs::read_to_string(&path).await?)
}// ❌ WRONG — RCE if `query` contains "; rm -rf ~"
#[tauri::command]
fn search(query: String) -> Result<String, Error> {
let out = std::process::Command::new("sh")
.arg("-c")
.arg(format!("grep {} ~/notes", query))
.output()?;
Ok(String::from_utf8_lossy(&out.stdout).into_owned())
}
// ✅ CORRECT — pass args directly, no shell
#[tauri::command]
fn search(query: String) -> Result<String, Error> {
if query.len() > 200 { return Err(Error::TooLong); }
let out = std::process::Command::new("grep")
.arg("--") // end of options
.arg(&query) // safe: passed as argv, no shell parsing
.arg(notes_dir())
.output()?;
Ok(String::from_utf8_lossy(&out.stdout).into_owned())
}// ❌ WRONG — created new window, didn't add capability — but ALSO didn't restrict commands
// New "settings" window can call EVERY command listed in invoke_handler if a wildcard capability exists
let _settings = WebviewWindowBuilder::new(&app, "settings", WebviewUrl::App("settings".into()))
.build()?;
// ✅ CORRECT — explicit capability with minimum permissions for settings window
// src-tauri/capabilities/settings.json
{
"identifier": "settings",
"windows": ["settings"],
"permissions": ["core:default", "settings:allow-read", "settings:allow-write"],
"platforms": ["macOS"]
}// ❌ WRONG — any reflected XSS becomes RCE via invoke()
"csp": "default-src 'self'; script-src 'self' 'unsafe-inline'"
// ✅ CORRECT — Tauri injects nonces for bundled scripts; no inline needed
"csp": "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' https://api.example.com"dangerousDisableAssetCspModification: true// ❌ WRONG — disables Tauri's automatic nonce/hash injection
"app": { "security": { "dangerousDisableAssetCspModification": true } }
// ✅ CORRECT — leave default (false). Only enable if you have a strong CSP without it.// ❌ WRONG — full path leaks to frontend (and into logs / crash reports)
#[tauri::command]
fn open_db() -> Result<(), String> {
std::fs::File::open("/Users/alice/secrets.db").map_err(|e| e.to_string())?;
Ok(())
}
// ✅ CORRECT — typed error rewrites messages
#[derive(thiserror::Error, Debug)]
enum DbError {
#[error("database unavailable")]
Unavailable,
}
impl serde::Serialize for DbError { /* serialize as string */ }// ❌ WRONG — loading a third-party URL into a window with all permissions
{ "label": "embed", "url": "https://untrusted.example.com/widget" }
// + capability with broad permissions for "embed" window
// ✅ CORRECT — remote content gets a separate capability with NO commands granted
{
"identifier": "embed-readonly",
"windows": ["embed"],
"permissions": ["core:event:default"], // events only, no fs/shell/etc
"remote": { "urls": ["https://untrusted.example.com/*"] }
}// tauri-plugin-shell's `open` is deprecated in Tauri v2; use tauri-plugin-opener.
use tauri_plugin_opener::OpenerExt;
// ❌ WRONG — "javascript:..." or arbitrary scheme
#[tauri::command]
fn open_link(url: String, app: AppHandle) {
app.opener().open_url(&url, None::<&str>).ok();
}
// ✅ CORRECT — validate scheme + domain
#[tauri::command]
fn open_link(url: String, app: AppHandle) -> Result<(), Error> {
let parsed = url::Url::parse(&url).map_err(|_| Error::InvalidUrl)?;
if !matches!(parsed.scheme(), "https" | "http") { return Err(Error::InvalidScheme); }
let host = parsed.host_str().ok_or(Error::InvalidUrl)?;
if !["docs.example.com", "github.com"].contains(&host) { return Err(Error::DomainNotAllowed); }
app.opener().open_url(parsed.as_str(), None::<&str>).map_err(|_| Error::OpenFailed)?;
Ok(())
}When the app handles secrets (tokens, keys) and loads any remote/3rd-party content, enable Tauri's Isolation Pattern — it routes all IPC through a sandboxed inner iframe so a compromised main webview cannot forge invoke calls.
| Severity | Examples | Action |
|---|---|---|
| CRITICAL | Path traversal in command, shell injection, capability with $HOME/** write, CSP unsafe-eval, command exposed without capability check, secret leaked in error | Block merge |
| HIGH | Over-broad permission scope, missing input validation, unwrap() in command, unsafe-inline script, http (not https) connect-src | Fix before merge |
| MEDIUM | Missing platforms[] narrowing, missing description, weak error type, asset scope too broad | Fix in follow-up |
| LOW | Identifier naming, missing comments, unused permission entries | Backlog |
| Check | Source |
|---|---|
| Capability schema | https://v2.tauri.app/reference/acl/capability/ |
| Permission scopes | https://v2.tauri.app/security/permissions/ |
| Security overview | https://v2.tauri.app/security/ |
| CSP | https://v2.tauri.app/security/csp/ |
| Isolation pattern | https://v2.tauri.app/concept/inter-process-communication/isolation/ |
| Calling Rust safely | https://v2.tauri.app/develop/calling-rust/ |
tauri-security-reviewer/tauri-review, /tauri-check, /tauri-audit© mukiwu, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/tauri-security-review of mukiwu/tempo-term.
Open the folder on GitHubat commit 6750c17
Tauri Security Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Tauri Security Review this skillmukiwu/tempo-term | 229 | — | ~2.8k | Automated safety check: Notes | Apache-2.0 | |
| Security Reviewdeadlock-mod-manager/deadlock-mod-manager | 478 | — | ~1.8k | Automated safety check: Pass | CC-BY-SA-4.0 | |
| Review Maple SecurityMaplePrivacyLabs/Maple | 102 | — | ~7.1k | Automated safety check: Pass | MIT | |
| Security Auditwlsdks/ontology-atlas | 142 | — | ~182 | Automated safety check: Pass | MIT | |
| Deepsec Documentation Guidevercel-labs/deepsec | 8.1k | — | ~956 | Automated safety check: Pass | Apache-2.0 | |
| Kubernetes Network Security Auditkubeshark/kubeshark | 12k | — | ~7.3k | Automated safety check: Notes | Apache-2.0 |
deadlock-mod-manager/deadlock-mod-manager
Security code review for Tauri/Rust/TypeScript desktop apps and Hono/oRPC APIs.
MaplePrivacyLabs/Maple
Review Maple security across authentication, account isolation, local persistence, Tauri IPC and capabilities, OAuth and deep links, the Local OpenAI Proxy, Agent Mode tools and permissions, MCP…
wlsdks/ontology-atlas
Periodic security sweep of Atlas in four areas (MCP and CLI, the Tauri desktop shell, the web renderer and connectors, the supply chain and CI) that follows untrusted input to what it can reach…
vercel-labs/deepsec
Points the agent at deepsec's own docs to answer questions about initializing, configuring, resuming, scanning with and extending the vulnerability scanner.
kubeshark/kubeshark
Hunts for compromised workloads and malicious traffic in a Kubernetes cluster by sweeping network data through Kubeshark MCP, mapped to MITRE ATT&CK.
mono/SkiaSharp
Update native dependencies (libpng, libexpat, zlib, libwebp, harfbuzz, freetype, libjpeg-turbo, etc.) in SkiaSharp's Skia fork.
mukiwu/tempo-term
A skill your agent uses when working with Tauri 2 projects (tauri.conf.json, src-tauri/, capabilities, permissions,
mukiwu/tempo-term
A skill your agent uses when writing or reviewing code in this Tauri app that can behave differently on Windows — spawning a subprocess (git/gh/any Command), path handling, cfg-gated platform APIs…
mukiwu/tempo-term
Expert workflow for reviewing Tauri 2 desktop app performance.
Works with
Categories
Expert workflow for reviewing Tauri 2 desktop app security. An agent skill from mukiwu/tempo-term. Tauri Security Review is an agent skill from mukiwu/tempo-term. Expert workflow for reviewing Tauri 2 desktop app security.
Tauri Security Review fits situations like: tasks that involve Security review.
Run `npx skills add mukiwu/tempo-term --skill tauri-security-review -a claude-code`. Or copy the skill folder (.claude/skills/tauri-security-review in mukiwu/tempo-term) into .claude/skills/tauri-security-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mukiwu/tempo-term --skill tauri-security-review -a codex`. Or copy the skill folder (.claude/skills/tauri-security-review in mukiwu/tempo-term) into .agents/skills/tauri-security-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mukiwu/tempo-term --skill tauri-security-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tauri-security-review, .gemini/skills/tauri-security-review, .github/skills/tauri-security-review and .opencode/skills/tauri-security-review in your project.
SKILL.md names no scripts, command-line tools or credentials: Tauri Security Review is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: v2.tauri.app. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Tauri Security Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Tauri Security Review: Security Review (deadlock-mod-manager/deadlock-mod-manager, 478 stars), Review Maple Security (MaplePrivacyLabs/Maple, 102 stars), Security Audit (wlsdks/ontology-atlas, 142 stars) and Deepsec Documentation Guide (vercel-labs/deepsec, 8.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mukiwu (a GitHub user) maintains it in mukiwu/tempo-term, which has 229 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 30, 2026.
Source: mukiwu/tempo-term on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.