Skip to content

security patching - #8

Merged
AdminTurnedDevOps merged 1 commit into
mainfrom
sec/security-fixes
Sep 7, 2026
Merged

security patching#8
AdminTurnedDevOps merged 1 commit into
mainfrom
sec/security-fixes

Conversation

@AdminTurnedDevOps

Copy link
Copy Markdown
Owner

• H1 — guest network + ungated run_command. Stopped TSI inet (krun_add_vsock(id, 0)). Moved MCP HTTPS to a host broker. Guest no longer has an MCP/egress client. run_command requires a host allow/deny; TUI prompts, otherwise it is denied.
• M2 — dirty snapshots copying secrets. Ephemeral copies now use git ls-files --exclude-standard, so gitignored files stay on the host.
• M3 — HTTP base_url. Model base_url must be https, same rule as MCP URLs.
• M4 — MCP token on redirects. Host MCP client pins the configured origin and refuses cross-host redirects so the bearer is not replayed.
• M6 — MCP tokens in the guest. Tokens stay on the host and are resolved per call. The guest rejects config that still contains secrets or MCP URLs.
• M7 — any model alias. provider_open only accepts the session’s selected model.

Also in that work

• Protocol bumped to 4 (LLM broker + MCP broker + command approval). Old guests are refused until make image-update.
• abox exec has no approver, so run_command is fail-closed there.

What we did after that

• Fixed the compile break: provider.go used protocol.UsageInfo with no protocol import.
• Re-ran the full unit-test set (all packages with tests passed).
• Rebuilt host, VMM, guest, and the golden image so you can test locally on a new session.

@AdminTurnedDevOps
AdminTurnedDevOps merged commit 4f58841 into main Sep 7, 2026
1 check 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