Skip to content

Harden Network Inspector server binding and adb command execution#2647

Open
lucygramley wants to merge 1 commit into
microsoft:masterfrom
lucygramley:fix/network-inspector-hardening
Open

Harden Network Inspector server binding and adb command execution#2647
lucygramley wants to merge 1 commit into
microsoft:masterfrom
lucygramley:fix/network-inspector-hardening

Conversation

@lucygramley
Copy link
Copy Markdown

Bind RSocket TCP server to loopback address, strengthen filepath validation, and refactor adb command execution to use execFile with argument arrays.

- Bind RSocket TCP server to 127.0.0.1 instead of all interfaces
- Strengthen filepath validation with strict allowlist and path traversal check
- Refactor adb command execution to use execFile with argument arrays instead of string concatenation via exec
- Update all executeQuery callers to pass argument arrays

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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