How do automatic security updates work on macOS?
I bought a new MacBook that came with 15.2 installed. When I set it up, I couldn't log in with my Apple ID right away because I didn't have my phone with me for 2FA. As well, when I first booted, Software Update had an option to upgrade to 15.5, but I used it for a while (web browsing, installed a couple of apps, downloaded some ebooks, etc.) before doing that. I don't remember any other options for installing updates. Would macOS have automatically installed security patches on first boot, or am I at security risk because I didn't upgrade to 15.5 right away and/or didn't have my Apple ID linked for a couple of days? (Sorry if this is an odd question, I'm more used to the Windows model of security patching.)
[Re-Titled by Moderator]