
glmgbj233andssongliu
8ed33fd06a
feat: validate generated terminal commands (#12826)
* Fix taint path 1 detected by Codex
Repository: 1Panel-dev_1Panel
Result: /home/hejunjie/llm_web_serve/find_github_project/codex_find_taint/batch_results_go_llm_full_mini/1Panel-dev_1Panel.json
Sink kind: command_exec
* Fix taint path 0 detected by Codex
Repository: 1Panel-dev_1Panel
Result: /home/hejunjie/llm_web_serve/find_github_project/codex_find_taint/batch_results_go_llm_full_mini/1Panel-dev_1Panel.json
Sink kind: command_exec
* Validate generated terminal commands
Keep generated output behind the intended trust boundary while preserving the normal safe workflow.
Add regression coverage for the unsafe flow and the expected safe behavior.
* Narrow terminal AI input validation
* refine terminal ai command validation
---------
Co-authored-by: ssongliu <sloooop1x@gmail.com>
2026-05-27 11:08:52 +08:00
..
2026-05-21 12:35:09 +08:00
2026-03-30 10:58:52 +08:00
2026-05-21 12:32:52 +08:00
2026-01-27 14:02:38 +08:00
2026-03-30 10:58:52 +08:00
2026-05-21 12:35:09 +08:00
2026-04-15 10:00:08 +08:00
2026-05-26 09:33:41 +08:00
2026-05-21 12:35:09 +08:00
2026-05-26 09:33:41 +08:00
2026-05-21 12:35:09 +08:00
2026-04-07 17:35:31 +08:00
2024-07-23 14:48:37 +08:00
2025-08-22 14:37:52 +00:00
2026-05-21 12:35:09 +08:00
2026-05-25 11:38:42 +08:00
2026-03-09 06:55:50 +00:00
2026-02-26 10:01:47 +00:00
2026-03-10 16:11:31 +08:00
2026-05-26 09:33:41 +08:00
2026-05-21 12:35:09 +08:00
2025-01-24 03:00:07 +00:00
2024-07-23 14:48:37 +08:00
2026-05-26 09:33:41 +08:00
2026-03-18 15:37:48 +08:00
2026-05-21 12:35:09 +08:00
2026-05-26 09:33:41 +08:00
2026-03-12 09:35:33 +00:00
2026-05-21 15:26:41 +08:00
2025-08-05 15:54:48 +08:00
2026-05-21 12:32:52 +08:00
2025-09-24 09:40:08 +00:00
2026-05-26 14:18:17 +08:00
2026-05-27 11:08:52 +08:00
2026-05-21 12:35:09 +08:00
2026-02-25 10:56:06 +08:00
2026-03-20 09:05:54 +00:00
2026-05-21 12:35:10 +08:00