PyPA Advisory Database
PYSEC-2024-262
Details
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 versions |
|---|---|---|
| PyPI | agentscope | All versions before 0.0.5a1 (fixed in 0.0.5a1) |