T05 · Unauthorized Access and Privilege Escalation
- Location
scripts/run_workflow.py:18- Finding
Shared Service Credential Permits Unrestricted Workflow Invocation
- Content
View full analysis
2 else "测试" print(f"调用工作流 {workflow_id} ...") result = run_workflow(workflow_id, input_text) ``` ### Technical Analysis The script reads a shared Coze service credential from a fixed local file and uses it to execute a workflow ID supplied directly through the command line. It does not verify that the requested workflow is one of the workflows documented or approved by the Skill. Consequently, the effective authorization boundary is determined entirely by the permissions of the service token rather than by the caller's intended permissions. Any caller able to invoke the script can attempt to execute other workflows ava ...[truncated 1640 chars]- Remediation
View remediation
