{"data":{"id":"89c46877-0858-4dd8-998a-6fe63ac5b285","title":"CVE-2026-77474: destructive_command_guard (dcg) is a command-line safety tool that blocks destructive shell commands before AI coding…","summary":"destructive_command_guard (dcg), a command-line tool that blocks destructive shell commands before AI coding agents run them, is affected in versions prior to 0.6.6. Nested or unclosed $( and $(( substitutions cause the scanners reached through split_command_segments in src/packs/mod.rs to rescan the command suffix repeatedly, producing exponential-time work. A hung PreToolUse hook then fails open, letting a destructive command proceed.","solution":"Fixed in version 0.6.6.","labels":["security","safety"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-77474","publishedAt":"2026-10-16T17:17:50.390Z","cveId":"CVE-2026-77474","cweIds":["CWE-400","CWE-407","CWE-693"],"cvssScore":"7.1","cvssSeverity":"high","severity":"high","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["destructive_command_guard (dcg)","AI coding agents"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","attackVector":"local","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0,"epssCheckedAt":"2026-10-16T18:10:06.837Z","kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-10-16T18:10:10.142Z","patchAvailable":null,"disclosureDate":"2026-10-16T17:17:50.390Z","capecIds":["CAPEC-125","CAPEC-130"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability","safety"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null}}