Skip to content

Fix privacy bypasses, vault data loss, and integration safety - #2

Merged
modelpath-dev merged 2 commits into
mainfrom
fix/privacy-and-vault-safety
Nov 6, 2026
Merged

modelpath-dev merged 2 commits into
mainfrom
fix/privacy-and-vault-safety

Conversation

@modelpath-dev

@modelpath-dev modelpath-dev commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Fixes privacy leaks and protects recovery files.

  • Save private vaults before changing files; never overwrite existing mappings.
  • Fix API-key detection, Unicode offsets, overlapping matches, and decorator masking.
  • Stop on NER failure. Fix JSON responses and streaming behavior.
  • Remove MCP tools that return secrets and clarify safe local use.
  • Add regression tests and pin the test runner for Python 3.9.

Validation: 96 local tests pass. GitHub tests pass on Python 3.9, 3.10, 3.11 and 3.12. Live NLP inference was not tested locally.

Behavior changes: install the spaCy model explicitly; existing vaults cannot be overwritten; streaming and oversized responses keep placeholders. Middleware limits default to 1 MiB. Detection can still miss sensitive data.

@modelpath-dev
modelpath-dev marked this pull request as ready for review November 6, 2026 13:23
@modelpath-dev
modelpath-dev merged commit 1fe46a6 into main Nov 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant