//nefariousplan

shell-quote

Case files

  1. CVE-2026-9277: shell-quote's Dot Was Not Every Character

    CVE-2026-9277: shell-quote's Dot Was Not Every Character

    The fix is one line. s.op.replace(/(.)/g, '\\$1') becomes an allowlist check, and the replace that survives uses /[\s\S]/g instead of /(.)/g. Both regexes are written to mean "every character." In JavaScript, only one of them does, because .