mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-17 12:22:34 +03:00
adobeFireflySession.ts and adobeFireflyBrowserLogin.ts persisted the IMS Bearer JWT and full Adobe cookie jar to disk via mkdirSync/writeFileSync with no mode argument, so directories and files inherited the process umask (0755/0644) instead of the 0700/0600 pattern already established by src/lib/vncSession/service.ts::createProfileDir. Adds a shared open-sse/utils/secureFileWrite.ts (ensureSecureDir/writeSecureFile) used by both Adobe modules, and applies it at every directory-creation and session/cookie-jar write call site.