#1531·thefuck

[错误]: open_command 字符串连接用户控制的输出,从而实现命令注入

作者: tylzh97创建于 2025年10月21日更新于 2026年8月19日

摘要

thefuck.rules.yarn_help 将从 Yarn 输出捕获的 URL 直接传递给 thefuck.system.open_command,该命令仅将 xdg-open / cmd /c start 连接在一起。