Skip to content

feat(sandbox): Zero-Trust credentials injector (#302) - #308

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/302-sandbox-credentials-injector
Jul 10, 2026
Merged

feat(sandbox): Zero-Trust credentials injector (#302)#308
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/302-sandbox-credentials-injector

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • Add SandboxSecretGuard and enforce it in SandboxProcessRunner.start so passwords/tokens never reach argv or environment
  • Add SandboxCredentialsInjector that reads from ConnectionSecretsStore and sends system.injectCredentials / db.connect over Stdio JSON-RPC only
  • Add SensitiveUtf8Buffer for post-send zeroing and a minimal NDJSON JsonRpcStdioClient (Block C foundation)

Closes #302

Test plan

  • flutter test test/core/extensions/sandbox/ — 30 tests pass
  • CI analyze

Forbid secrets on process argv/env, load them from ConnectionSecretsStore,
and inject via system.injectCredentials / db.connect with wipeable buffers
(issue #302).
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 999d9a7 into dev Jul 10, 2026
4 checks passed
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Jul 12, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/302-sandbox-credentials-injector branch July 26, 2026 14:39
ZhuchkaTriplesix added a commit that referenced this pull request Jul 27, 2026
…injector

feat(sandbox): Zero-Trust credentials injector (#302)
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