Tauri 1
Last reviewed Sep 24, 2026
Prompt Details
Prompt Composition
2prompts
- Rust 1.98136 lines · 3.6K tokens
- Tauri 185 lines · 4K tokens
Total221 lines · 7.6K tokens
CWE Coverage
- 20
- 22
- 59
- 78
- 79
- 89
- 90
- 94
- 117
- 125
- 190
- 197
- 201
- 208
- 209
- 250
- 295
- 319
- 338
- 347
- 362
- 367
- 378
- 407
- 409
- 416
- 494
- 502
- 532
- 538
- 552
- 639
- 643
- 674
- 770
- 772
- 787
- 807
- 829
- 862
- 863
- 918
- 940
- 942
- 1336
- 1395
Prompt Preview
Apply the Rust 1.98 baseline first, including its requirement to use a fixed, supported compiler for production. These rules target Tauri 1 and its desktop APIs, and were checked against Tauri core 1.8.3. The core crate declares Rust 1.60 as its minimum; validate the actual locked dependency graph and target platform with the chosen compiler.
Version and dependency boundary
- Lock the
tauricrate and compatible v1tauri-build, CLI,@tauri-apps/api, and plugin releases inCargo.lockand the JavaScript lock file, and update them as one group; their version numbers need not match. Do not substitute v2 capabilities, permissions files, or plugin contracts for v1 controls. - Audit the resolved Rust, npm, sidecar, and native-library graph. Evaluate the legacy GTK3,
atty,instant, andglibfindings against the shipped graph; the historical release audit and Tauri's support policy do not establish that transitive dependencies remain safe. - Keep Windows WebView2, macOS WebKit, and Linux WebKitGTK patched independently of Tauri. Maintain any bundled fixed WebView2 runtime yourself and deploy only on operating systems still receiving security updates.
- Review the merged platform-specific configuration, CLI
--configoverrides, and Cargo features used for each release. Excludeapi-all, unnecessary module-wide features, and releasedevtools; never disable the WebView sandbox or web security throughadditionalBrowserArgs.
Command IPC and authorization
- Expose only necessary commands through
invoke_handlerandgenerate_handler!; treat each