Skip to content

Harden debugger startup and logging - #27

Merged
derekparker merged 1 commit into
masterfrom
stack/01-security-hardening
Sep 22, 2026
Merged

derekparker merged 1 commit into
masterfrom
stack/01-security-hardening

Conversation

@derekparker

Copy link
Copy Markdown
Member

Summary

  • bind Delve only to validated loopback ports with bounded startup and child reaping
  • make server/protocol/GDB logging private, exclusive, and bounded where possible
  • preserve deferred cleanup on MCP server errors and disable unsafe GDB initialization/auto-load defaults
  • document the local single-client debugger trust boundary

Stack

This is 1/5 in a stacked series. Merge this PR first.

Validation

  • go test -count=1 ./...
  • go vet ./...
  • go build ./...
  • dedicated security and backend process regression tests

@derekparker

Copy link
Copy Markdown
Member Author

Stacked PR sequence

  1. Harden debugger startup and logging #27 — security hardening (this PR)
  2. Fix DAP routing and session lifecycle #28 — DAP routing and lifecycle
  3. Document and test DAP conformance #29 — conformance tests and coverage plan
  4. Add reproducible mutation audit tooling #30 — mutation audit tooling
  5. Add required Delve and GDB CI matrices #31 — required Delve/GDB CI

Please review and merge in order; each upper PR targets the branch immediately below it.

@derekparker
derekparker merged commit 52dd781 into master Sep 22, 2026
1 check passed
@derekparker
derekparker deleted the stack/01-security-hardening branch September 22, 2026 19:27
derekparker added a commit that referenced this pull request Sep 22, 2026
* Harden debugger startup and logging (#27)

* Fix DAP routing and session lifecycle
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