T09 · Insecure Skill Coding Practices
- Location
builder/symphony/glm5_agent.py:231- Finding
Unrestricted Model-Controlled Shell Execution and Workspace Escape
- Content
View full analysis
str: """Run a command in the workspace Args: workspace: Workspace directory command: Command to run Returns: Command output """ import subprocess try: result = subprocess.run( command, shell=True, cwd=str(workspace), capture_output=True, text=True, timeout=120 ) output ...[truncated 2430 chars]- Remediation
View remediation
