A tool that sends your screen over the network had better make sure it only reaches you. This is how Dualan does it, in plain words.
The pairing code
The first time Dualan starts, it makes a random pairing code. An OBS that wants the picture has to know it. The code itself never goes over the network: both sides prove they know it with a calculation only someone who has the code can do, so someone listening learns nothing from it.
After 5 wrong codes from one PC, Dualan ignores that PC for 5 minutes, so nobody can try codes one after another. If it was you, Allow again on the gaming PC lets it in right away; only the gaming PC itself can do that. And if you entered a code in OBS, OBS refuses to connect to a gaming PC that doesn't ask for one, so nobody can pretend to be your gaming PC.
Encryption
Everything between the two PCs, the picture, the sound and the settings, is encrypted with AES-256-GCM, with keys that are new for every connection. Someone on your network sees that data flows, not what it is. Changed data is noticed and dropped.
Signed updates
Every release comes with a list of checksums, signed with the publisher's key. That key never leaves the publisher's PC. Before installing an update, Dualan checks the signature and the checksum. If either doesn't match, it doesn't install. So even someone who took over the GitHub account couldn't push a fake update.
While the checked installer waits to start, Dualan keeps it locked, so nothing can swap it in between.
The settings page
The settings page in your browser only works from your own PC (127.0.0.1) and needs a random code in its address that changes every time Dualan starts. Other websites can't reach it or send it commands.