doc/sscsm_security.md
networkprotocol.h).
This acts as upper bound: Every SSCSM API function could instead be a network
packet endpoint. There are no efforts to make SSCSM more secure than this.enable_sscsm settingThe enable_sscsm setting does not just allow en-/disabling SSCSM, it also allows
limiting on what sort of servers to enable SSCSM. Options are nowhere, singleplayer,
localhost (or singleplayer), lan (or lower), and everywhere.
On options localhost and lower, we know that (anyone who acts on the behalf of)
the server runs on the same machine, and the risk of it being malicious is pretty
much zero.
Until sufficient security measures are in place, users are disallowed to set this
setting to anything higher than localhost.
initializeSecuritySSCSM().step() function.To mitigate time-based side-channel attacks, all available clock API functions
(os.clock() and core.get_us_time()) only have a precision of
SSCSM_CLOCK_RESOLUTION_US (20) us.