Repository navigation
Harden the app, make String it reachable and undoable, cut dead code - #253
Merged
Merged
Conversation
Security and reliability - Community sign-in uses a random per-profile secret kept in the secure store; existing accounts rotate off the deterministic password on first sync. New migration tightens UPDATE policies to row owners (not yet applied to the live project). - path_guard: file write/delete and game launch commands refuse system and autostart folders, script/shortcut types, relative and ".." paths. secure_delete_directory is no longer exposed to the webview. - CSP drops 'unsafe-eval' (kept in devCsp); JS plugins now fail with a clear message instead of running with full Tauri access. - Release logs go to %LOCALAPPDATA%\GameStringer\logs (Rust and frontend warnings); before, both were lost in the packaged app. - Profile storage uses an absolute path instead of one relative to the working directory, keeping data written by the old path. - Third-party downloads are checked against pinned SHA-256 or GitHub digests; OllamaSetup.exe must carry a valid Ollama signature. UABEA extraction rejects zip-slip entries. String it - New string_it_restore / string_it_restore_probe commands undo what each method wrote, using its own backups; XUnity is reported as manual. - Library: String it is always visible, keyboard reachable, and starts the run once the plan is ready. Home lists installed games instead of news. - Game detail: technical pickers behind "Advanced options", a persistent result panel with the restore button, translated labels. - Engine routing rules moved to lib/string-it/route.ts with tests. - docs/BANCO-STRING-IT.md tracks per-game outcomes seen on screen. Cleanup - Remove /translation-wizard, /batch, /batch-translation, /ai-pipeline, /unity-ink-translator, the app/api stubs, middleware.ts and Prisma. - Remove 114 unreachable modules and the i18n keys only they used. - Drop unused dependencies (recharts, webpack, archiver, winreg, steam-locate, vdf-parser, anyhow, interprocess); deploy-only packages move to devDependencies. - Untrack build outputs, old installers, debug binaries and a dump of original game dialogue. - Tray shows the real app version; README download table updated and Windows-only features stated; sidebar reduced to six core entries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Layers and Workflow in the command palette and FolderTree in the tools registry only served the /batch, /batch-translation and /ai-pipeline entries removed in the previous commit; ESLint failed CI on them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rouges78
enabled auto-merge (squash)
November 25, 2026 19:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to an audit of the whole project. It covers the security and reliability fixes, makes the one-click String it flow reachable and undoable, and removes dead pages, modules and dependencies.
Security and reliability
Community sign-in: each profile now has a random secret, stored in the encrypted secure store. It replaces the deterministic
gs_community_<id>_!Str1ng3rpassword. Existing accounts sign in once with the old password, rotate to the new secret, and never use the old one again. Limit: a profile used on two PCs keeps working only on the first one that rotates.RLS:
supabase/migrations/20261125120000_tighten_update_policies.sqlrestricts every remainingUPDATE … USING (true)policy to the row owner. The base schema files are updated to match. It is not applied to the live project yet.path_guard.rs:save_binary_file,write_text_file,ensure_directory,save_file_with_backup,secure_delete_fileandlaunch_game_directreject:..;.exe(launch only).secure_delete_directoryis no longer registered.CSP:
'unsafe-eval'is replaced by'wasm-unsafe-eval'. The old policy is kept asdevCsp. JS plugins (new Function) are now refused with an explicit message. They used to run with full Tauri access.Logs: in release builds both the Rust log and frontend warnings now go to
%LOCALAPPDATA%\GameStringer\logs\gamestringer.log, rotated at 5 MB. Before, both were lost:println!with no console, and POSTs to a missing/api/logs.Profiles: the path is absolute instead of
"profiles"relative to the working directory, and the existing data location is reused.Downloads: BepInEx, XUnity, IPA, TMP fonts, repak, retoc and UABEA are verified against pinned SHA-256 hashes or GitHub
digestvalues.OllamaSetup.exemust carry a valid Ollama Authenticode signature. UABEA extraction usesenclosed_name()(zip-slip).String it
string_it_restore/string_it_restore_probecommands undo every method from its own backups: Unreal, Unity static, Ren'Py, RPG Maker, Visionaire, Tyrano, Danganronpa, Hendrix, GameMaker and the generic workflow. XUnity is reported as manual, because nothing marks BepInEx as ours..glass-redwith translated labels;lib/string-it/route.ts, with tests. The handler's duplicated list is gone.docs/BANCO-STRING-IT.md: a per-game outcome log of what was seen on screen.Cleanup
/translation-wizard,/batch,/batch-translation,/ai-pipeline,/unity-ink-translator;app/apistubs,middleware.tsand Prisma (schema, scripts, postinstall).recharts,webpack,archiver,winreg,steam-locate,vdf-parser,@prisma/client,prisma,anyhow,interprocess. The deploy-only packages moved to devDependencies..msi/.zip,native/build/, the debug.exe/.pdb, reports, andpatches/decarnation/dialogues-original-backup.txt(original game text)..gitignoreis updated.Checks
npm run typecheck: clean.cargo check: 0 errors.path_guard,download_verify,string_it_restore.dead:check,i18n:check,deps:check,tauri:check-cmds,a11y:check. Their baselines are updated because the counts went down.For the reviewer
tauri:devor on a real game./latestdownload is rejected until the pinned hash is updated. Both fall back to the pinned version./auto-translateinto String it (it still backs "Resume" for background jobs and Projects);🤖 Generated with Claude Code