VDB
Sign up
CRITICAL9.8

PYSEC-2024-262

Quick fix

PYSEC-2024-262 — agentscope: upgrade to the fixed version with the command below.

pip install --upgrade 'agentscope>=0.0.5a1'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/agentscope
Introduced in: 0Fixed in: 0.0.5a1
Fixpip install --upgrade 'agentscope>=0.0.5a1'

References