Skip to content

feat: implement Milestone 1 - Proxy Foundation for sandbox credential injection#6

Open
andyjmorgan wants to merge 1 commit intomainfrom
claude/gift-milestone-jTk16
Open

feat: implement Milestone 1 - Proxy Foundation for sandbox credential injection#6
andyjmorgan wants to merge 1 commit intomainfrom
claude/gift-milestone-jTk16

Conversation

@andyjmorgan
Copy link
Owner

Add the auth proxy sidecar infrastructure for TLS MITM credential injection:

  • New DonkeyWork.CodeSandbox.AuthProxy project: C# forward proxy with CONNECT
    handling, TLS MITM for allowlisted domains, domain blocking, and dynamic
    certificate generation signed by an internal CA
  • CA certificate generation: bash script (scripts/generate-ca.sh) and in-code
    ephemeral CA fallback for development
  • Sidecar Docker image with multi-stage build, non-root user, health checks
  • Executor image updated with entrypoint.sh to trust mounted proxy CA certs
  • BuildPodSpec and BuildWarmPodSpec updated to inject auth-proxy sidecar
    container with CA cert volumes, proxy env vars, and readiness probes
    (gated behind EnableAuthProxy config flag, default false)
  • KataContainerManager config extended with auth proxy settings
  • CI/CD workflows updated to build and publish the new authproxy image
  • Unit tests for domain matching and certificate generation

https://claude.ai/code/session_01E8WpfFMR2iTr4wFLa14w8h

@andyjmorgan andyjmorgan force-pushed the claude/gift-milestone-jTk16 branch 3 times, most recently from 845ce66 to 7f2e8cb Compare February 7, 2026 12:28
… injection

Add the auth proxy sidecar infrastructure for TLS MITM credential injection:

- New DonkeyWork.CodeSandbox.AuthProxy project: C# forward proxy with CONNECT
  handling, TLS MITM for allowlisted domains, domain blocking, and dynamic
  certificate generation signed by an internal CA
- CA certificate generation: bash script (scripts/generate-ca.sh) and in-code
  ephemeral CA fallback for development
- Sidecar Docker image with multi-stage build, non-root user, health checks
- Executor image updated with entrypoint.sh to trust mounted proxy CA certs
- BuildPodSpec and BuildWarmPodSpec updated to inject auth-proxy sidecar
  container with CA cert volumes, proxy env vars, and readiness probes
  (gated behind EnableAuthProxy config flag, default false)
- KataContainerManager config extended with auth proxy settings
- CI/CD workflows updated to build and publish the new authproxy image
- Unit tests for domain matching and certificate generation

https://claude.ai/code/session_01E8WpfFMR2iTr4wFLa14w8h
@andyjmorgan andyjmorgan force-pushed the claude/gift-milestone-jTk16 branch from 7f2e8cb to 20d15ce Compare February 7, 2026 13:16
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.

2 participants