I have seen some tomfuckery in my time, but this one is absolutely baffling.

#Excel

@Rhodium103 I'll admit that looks weird, however the reason for running the Python in the cloud is so that a Python payload can't maliciously access resources on your computer, install malware, or otherwise pose a security risk to your assets. Like most security issues, it is a trade-off.

@VisualStuart @Rhodium103 and why could they not have written a proper sandbox in Excel?

Does Python have more resource access than VBA? Or does Python-in-Excel have a different security model?

I actually wrote a very simple Python sandbox with execv, globals and locals. A company and development team for MS Office could surely have implemented a secure sandbox? Especially since they had to do that anyway: just in the cloud.