Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
fix(oauth): narrow Google Calendar scopes to minimum required
Gabriel Stein8e3bbbf406c3
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 7b1a057d3..9891b7894 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Security+- **Google Calendar Scopes**: Narrow OAuth scope from `calendar.readonly` to `calendar.events.readonly` + `calendar.calendarlist.readonly` for minimal privilege- **picomatch**: Bump to 4.0.4- **brace-expansion**: Bump to 1.1.13 (security backport)- **yaml**: Bump to 2.8.3diff --git a/src/helpers/googleCalendarOAuth.js b/src/helpers/googleCalendarOAuth.jsindex e2975ed3f..9619067ec 100644--- a/src/helpers/googleCalendarOAuth.js+++ b/src/helpers/googleCalendarOAuth.js@@ -5,7 +5,7 @@ const { shell } = require("electron");const GOOGLE_AUTH_URL = "https://accounts.google.com/o/oauth2/v2/auth";const GOOGLE_TOKEN_URL = "https://oauth2.googleapis.com/token";-const CALENDAR_SCOPE = "openid email https://www.googleapis.com/auth/calendar.readonly";+const CALENDAR_SCOPE = "openid email https://www.googleapis.com/auth/calendar.events.readonly https://www.googleapis.com/auth/calendar.calendarlist.readonly";const OAUTH_TIMEOUT_MS = 120000;const DEFAULT_DESKTOP_CALLBACK_URL = "https://openwhispr.com/auth/desktop-callback";