subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # Fix workspace permissions if os.path.exists(self.workspace_dir): subprocess.check_output(['chmod', '-R', '755', self.workspace_dir]) # Fix custom skills directory permissions custom_skills_dir = os.path.join(self.workspace_dir, 'custom-skills')- Confidence
- 94% confidence
- Finding
- subprocess.check_output(['chmod', '-R', '755', self.workspace_dir])
