xploitscan-shared-rules 1.28.0 → 1.28.1

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.cjs CHANGED
@@ -11319,7 +11319,7 @@ function collectWrites(src) {
11319
11319
  }
11320
11320
  var ENQUEUES = /\b(?:queue\s*\.\s*add|inngest\s*\.\s*send|qstash|boss\s*\.\s*send|after\s*\(|waitUntil\s*\(|\.\s*enqueue\s*\(|\.\s*publish\s*\(|\.\s*sendMessage\s*\(|outbox|dead[_-]?letter|deadLetter|retryQueue|scheduleRetry|schedule\s*\()/i;
11321
11321
  var NON_2XX = /\bstatus\s*:\s*[45]\d\d|\.\s*status\s*\(\s*[45]\d\d|\bsendStatus\s*\(\s*[45]\d\d|\bHTTPException\s*\(\s*[45]\d\d|new\s+Response\s*\([^)]{0,200}?\b[45]\d\d/;
11322
- var STALENESS = /\b(?:lt|lte|gt|gte|older|stale|timeout|timedout|retry|retries|attempt|attempts|updated_?at|created_?at|processed_?at|last_?\w+|since|interval|Date\.now|now\s*\(\s*\))\b/i;
11322
+ var STALENESS = /\b(?:lt|lte|gt|gte|older|stale|timeout|timedout|retry|retries|attempt|attempts|updated_?at|created_?at|processed_?at|last_?\w+|since|interval|current_?timestamp)\b|\bDate\.now\b|\bnow\s*\(|\bdate(?:time)?\s*\(|\bdate_?sub\s*\(|['"`]\s*now\s*['"`]/i;
11323
11323
  var READ_VERB = /\b(?:select|from|find\w*|query|scan|rows|fetchAll|getAll|list)\b/i;
11324
11324
  function repoReselects(files, originPath, originIndex, table, value) {
11325
11325
  const tableToken = table.replace(/["'`]/g, "");