destructive_command_guard(DCG)是一款命令行安全工具,旨在在 AI 编码代理执行破坏性 Shell 命令之前将其拦截。在 0.6.6 版本之前,若遇到嵌套或未闭合的变量替换(substitutions),当内部扫描返回“未终止”状态时,系统会递归地重新扫描,导致计算工作量呈指数级增长。受影响的扫描器通过 中的 函数被调用。当一条破坏性命令后跟随嵌套或未闭合的 或 序列时,这些序列会引发对命令剩余后缀的重复重新扫描。此外,若 钩子因挂起(hung)而失败,其默认行为为“失败即放行”(fai
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Dicklesworthstone | destructive_command_guard | < 0.6.6 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| Dicklesworthstone | destructive_command_guard | < 0.6.6 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet