Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | agentscope | <= 0.1.0 | — | GHSA-6p55-qr3j-mpgq |
| PyPI | agentscope | < 0.0.5a1 | 0.0.5a1 | PYSEC-2024-262 |