
CodexandClaude Sonnet 4.5
703da834fb
fix(security): 修复 shell 注入风险和类型转换未捕获问题
- path_config.py: find_executable Unix 回退路径使用 shlex.quote 防注入
- underlying_operations.py: try_set_ime IME ID 使用 shlex.quote 防注入
- screenshot_direct.py: 环境变量 float/int 转换添加 try/except 容错
- device_select.py: 用户输入 int() 转换添加 try/except 容错
- read_once.py / image_acquirer.py / detail_verifier.py: PIL Image 添加 close()
- detector.py: 移除 return 后不可达死代码
- optimized_entry.py: 统一返回值类型 int,失败时返回 0
- read_once.py: 移除 try/except 中重复的相同代码
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 20:50:26 +08:00
..
2026-05-23 20:27:41 +08:00
2026-05-23 19:03:51 +08:00
2026-05-23 20:50:26 +08:00
2026-01-02 23:57:03 +08:00
2026-05-21 19:03:43 +08:00
2026-05-23 19:03:51 +08:00
2026-01-07 19:06:10 +08:00
2026-05-21 09:01:14 +08:00
2026-05-23 20:50:26 +08:00
2026-05-22 19:20:29 +08:00
2026-05-23 20:50:26 +08:00
2026-05-21 00:23:14 +08:00