mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-15 07:05:50 +01:00
- Refactor whitelist validation to use getSafeCommand() which returns safe command names from a static lookup table instead of user input - This allows CodeQL to trace that executed commands come from a known-safe whitelist rather than tainted user input - Add comprehensive tests for the new getSafeCommand function - Add lgtm[go/path-injection] comments for CodeQL suppression on the example file where paths are properly validated Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| frontend | ||
| defaults.go | ||
| wizard.go | ||
| wizard_darwin.go | ||
| wizard_linux.go | ||
| wizard_security_test.go | ||
| wizard_windows.go | ||