I wonder but haven't tested: Once you export with nwjs and disallow chrome dev tools, can a player force chrome dev tools back on? Would it be easy as opening package.nw and adding an extra parameter, or more tricky?
I am not sure the power of chrome dev tools, and I'm sure minifying would obsfucate variable names and such, but I suppose maybe worth knowing in case you had browser log commands that output important info since you'd assume noone would see it.
Assuming you could run JS this way, would there be any common vector of attack that someone could exploit?
Random example relating to multiplayer, is it obvious for someone to write some JS to force-send messages to host or peers? Or would it be easy to write JS to "output any incoming messages into browser log" to gather information about messages (and thus exploit further)?