feat: add isolation framework prototype for multi-tenant security#18
Merged
feat: add isolation framework prototype for multi-tenant security#18
Conversation
Add prototype isolation framework to address CVSS 8.1 cross-tenant vulnerability: Code: - isolation.go: Core isolation framework with three modes - IsolationNone: No isolation (single-user only) - IsolationUser: Per-user cache isolation - IsolationTenant: Per-tenant cache isolation - Middleware for request isolation - Path isolation and validation Examples: - User-level isolation configuration - Tenant-level isolation configuration Documentation: - Comprehensive RFC for secure multi-tenant design - Implementation roadmap - Security considerations IMPORTANT: This is a PROTOTYPE only. It is NOT yet integrated into the main codebase. This PR provides the foundation for future security work but does not fix the vulnerability. Integration work needed: - Wire isolation framework into ServerConfig - Add authentication to extract user/tenant ID - Update managed_repository.go to use isolated paths - Add comprehensive tests
0981130 to
f0a5964
Compare
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.
Add prototype isolation.go framework with user/tenant isolation modes. PROTOTYPE ONLY - not yet integrated. Addresses CVSS 8.1 vulnerability planning.