subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # npm pack 下载 tarball result = subprocess.run( ['npm', 'pack', package], capture_output=True, text=True, cwd=str(cache_dir), timeout=60 )- Confidence
- 93% confidence
- Finding
- result = subprocess.run( ['npm', 'pack', package], capture_output=True, text=True, cwd=str(cache_dir), timeout=60 )
