Destructive Command Guard
Approved changes feed: RSS · Atom
cpe:2.3:a:dicklesworthstone:destructive_command_guard:*:*:*:*:*:*:*:*part: a version: * update: *
| Vendor | Dicklesworthstone (8fcd3714-5cdc-5dc9-8afa-16ee2b172e83) |
|---|---|
| Product | Destructive Command Guard (0dd803a6-f60e-5fb7-b002-b75fe569a50e) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
Notes
Imported from gcve-enriched-dumps CVE data
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-77474 |
vulnerable | 2026-11-03 10:15:17.730518 |
dcg: Exponential-time command-substitution preprocessing lets a crafted command hang dcg and bypass the guard via hook-timeout fail-open
HIGH (7.1)
destructive_command_guard (dcg) is a command-line safety tool that blocks destructive shell commands before AI coding agents run them. Prior to 0.6.6, nested or unclosed substitutions are recursively rescanned after an inner scan returns unterminated, producing exponential-time work. The affected scanners are reached through split_command_segments in src/packs/mod.rs. a destructive command followed by nested or unclosed $( or $(( sequences. nested or unclosed $( and $(( sequences cause repeated rescanning of the remaining command suffix. a hung PreToolUse hook fails open, allowing the destructive command to proceed. This issue is fixed in version 0.6.6.
Published: 2026-10-16T16:10:57.120Z
Updated: 2026-10-19T12:38:04.696Z Reference links
|
Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.
Inspect record JSON
Open this panel to browse, search, copy or download the JSON record.