# Unsecured Chat when Dynamic Update is Enabled

Mathematica v11.3 has just been released, A new feature, Chat, could be found In File>New>Chat. It is convenient when communicating code with other users, but it's quite unsafe as one can let the other users in chat evaluate certain code and return the result using chat and self-evaluating behavior of Dynamic contents.

Though turning off Dynamic Updating completely would solve this problem, but it could be quite inconvenient. Are there anyway to keep my computer safe as well as allowing dynamic content to evaluate?

Thanks!

• Sample code for Let the other evaluate the value of Prime@1000 and return it to you using chat could be found in the deleted answer of mine.
– Wjx
Mar 22 '18 at 13:57
• S.W. said in his blog post that "it’s sandboxed so people can’t send 'code bombs' to each other". This is worth pointing out, even though there can be problems that are not covered by the sandboxing. Mar 22 '18 at 15:06
• @C.E. It is sandboxed in someway, e.g. \$ActivationKey cannot be evaluated properly inside Chat. But there's actually LOTS of ways to get pass these restrictions... You should be able to see my deleted answer, where you let the other guy compute something and return it to you. I've tested this code as well as some more harmful ones with @happyfish... So it seems those protection are not that solid?
– Wjx
Mar 22 '18 at 15:15
• Here is an idea, find which stylesheet it is using and which style is used for output from people. Then edit the stylesheet and add to the style DefaultFormatType -> InputForm. No more fancy typesetting but hidden evaluation as well. (didn't test that yet)
– Kuba
Mar 22 '18 at 20:17
• @Kuba ah~ this might work~ In this way I can check whether the code is actually safe before I evaluate the code.
– Wjx
Mar 23 '18 at 1:15