subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
start_script = Path.home() / ".fetch_article" / "start-cdp-chrome.sh" if start_script.exists(): print(f"🚀 调用 {start_script} 启动 CDP Chrome...") subprocess.run(["bash", str(start_script)], check=False) else: if not _launch_cdp_chrome_via_open(port): return False- Confidence
- 91% confidence
- Finding
- The script executes a user-home script at ~/.fetch_article/start-cdp-chrome.sh if present, with no integrity validation or trust boundary checks. Any local process or prior compromise that can place or alter that file gains code execution when this skill runs, which is especially dangerous because the script is used to access authenticated browser state.
