We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22bbb59 commit 5b141cbCopy full SHA for 5b141cb
1 file changed
src/gui/socketapi/socketapi.cpp
@@ -407,6 +407,14 @@ void SocketApi::slotNewConnection()
407
}
408
409
#ifdef Q_OS_WIN
410
+ // SECURITY NOTE:
411
+ // This is the central trust boundary for incoming Windows SocketAPI clients.
412
+ // We gate new connections here (before listener registration and command
413
+ // dispatch) using named-pipe client process/session validation.
414
+ //
415
+ // This check improves local IPC hardening but is not a complete security
416
+ // boundary against a fully compromised same-user environment. Command-level
417
+ // validation and user interaction requirements remain important.
418
QString trustError;
419
if (!isTrustedWindowsPipeClient(socket, &trustError)) {
420
qCWarning(lcSocketApi) << "Rejecting untrusted SocketAPI client:" << trustError;
0 commit comments