Skip to content

feat: add isolation framework prototype for multi-tenant security#18

Merged
jrepp merged 1 commit intomainfrom
feat/isolation-framework-prototype
Nov 8, 2025
Merged

feat: add isolation framework prototype for multi-tenant security#18
jrepp merged 1 commit intomainfrom
feat/isolation-framework-prototype

Conversation

@jrepp
Copy link
Owner

@jrepp jrepp commented Nov 8, 2025

Add prototype isolation.go framework with user/tenant isolation modes. PROTOTYPE ONLY - not yet integrated. Addresses CVSS 8.1 vulnerability planning.

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
@jrepp jrepp force-pushed the feat/isolation-framework-prototype branch from 0981130 to f0a5964 Compare November 8, 2025 08:03
@jrepp jrepp merged commit 39aafce into main Nov 8, 2025
11 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