External Script Fetching
High
- Category
- Supply Chain
- Content
1. **Verify latest versions first** (they drift — never trust the numbers in templates): - npm: `npm view @tauri-apps/cli version` (+ `plugin-opener`, `plugin-updater`) - crates: `curl -sA x https://crates.io/api/v1/crates/tauri | node -p "JSON.parse(require('fs').readFileSync(0)).crate.max_stable_version"` (repeat for each `tauri-plugin-*`) - actions: `gh api repos/actions/checkout/releases/latest --jq .tag_name` (+ `actions/setup-node`, `Swatinem/rust-cache`, `actions/upload-artifact`; `tauri-apps/tauri-action@v1` is the moving major tag — check its README, not the release list) 2. **Gate static export on Tauri** in `next.config.*`, driven by an EXPLICIT build flag rather than Tauri's auto-injected `TAURI_ENV_PLATFORM` (gotcha #1). Merge into your existing config, keeping the `next-intl` plugin wrapper:- Confidence
- 90% confidence
- Finding
- Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
