In agentscope <=v0.0.4, the file agentscope\web\workstation\workflow_utils.py has the function is_callable_expression. Within this function, the line result = eval(s) poses a security risk as it can directly execute user-provided commands.
https://gist.github.com/AfterSnows/0ad9d233a9d2a5b7e6e5273e2e23508d