Is there any sandboxing for plugin code?

I made simple function that evals text highlighted
Simple Eval

My question is how unsafe is this?
Does Joplin do any sandboxing of plugin execution?