Security Updates#19
Merged
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
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.
LLM dependencies
llama-cpp-pythonandhuggingface-hubextracted to[llm]optional extra inpyproject.tomlSupply chain integrity
setup.ps1verifies SHA-256 of uv zip before extraction; mismatch aborts installuv sync --frozenenforces per-package SHA-256 fromuv.lockIntegrityErrorInput validation
hotkey_validation.py: single-combo enforcement (,/;rejected), token allowlist (modifiers, named keys, alphanum, F-keys); enforced at UI, service layer, and storage ingestionalias_validation.py: control-character block (\x00–\x1f,\x7f,\u0085,\u2028,\u2029), length caps (key 100, value 2000)ge/lebounds added toLLMConfig,VADConfig,GridConfig,SoundRecognizerConfigfieldsAutomationServiceConfig.max_repeat_count = 100caps parameterized command repetitionActivity tracker
ActivityTrackerclass; writes JSONL to%APPDATA%\Vocalance\activity_logs\ActivityTrackingConfig.enableddefaults toFalse; CI-enforced via static AST checkCI/CD
xvfb-run pytest, excludes integration/slow/memory/stress marks)enable_logsandactivity_tracking.enabledboth defaultFalsesetup.ps1,cleanup.ps1setup.ps1version-consistency check againstpyproject.tomlInstaller / uninstaller
%LOCALAPPDATA%\Programs\Vocalance\(no elevation)%APPDATA%\Vocalance\uv.lock+ essentials only; no tests, docs, or scripts)setup.ps1andcleanup.ps1distributed from GitHub releases, not pulled frommaincleanup.ps1rewritten: guarded removals with try-catch, printed summary of removed/skipped pathsDependencies (CVE fixes)
moonshine-voice→0.0.62,pillow→12.2.0,httpx→0.28.1keras==3.14.1,protobuf==7.35.1,urllib3==2.7.0starlette==1.3.1,black>=26.3.1Documentation
docs/security/section: releases, privacy, supply chain, installation/uninstallation, input validation, security assumptions