xploitscan-shared-rules 2.4.5 → 2.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4984,6 +4984,7 @@ function scanEntropy(files) {
4984
4984
  }
4985
4985
  for (const { value, beforeAssign, dotenvName } of candidates) {
4986
4986
  if (value.includes("${")) continue;
4987
+ if (value.includes("\\(")) continue;
4987
4988
  if (SAFE_PATTERNS.some((p) => p.test(value))) continue;
4988
4989
  if (HASH_PREFIX_RE.test(value)) continue;
4989
4990
  if (SAFE_VAR_NAMES.test(beforeAssign)) continue;