xploitscan-shared-rules 1.17.0 → 1.18.0

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
@@ -30,8 +30,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var index_exports = {};
32
32
  __export(index_exports, {
33
+ FREE_RULE_COUNT: () => FREE_RULE_COUNT,
33
34
  NON_APP_PATH_PATTERNS: () => NON_APP_PATH_PATTERNS,
35
+ PRO_RULE_COUNT: () => PRO_RULE_COUNT,
34
36
  RULE_IMPACTS: () => RULE_IMPACTS,
37
+ TOTAL_RULE_COUNT: () => TOTAL_RULE_COUNT,
35
38
  allCustomRules: () => allCustomRules,
36
39
  allRules: () => allRules,
37
40
  androidDebuggable: () => androidDebuggable,
@@ -9027,6 +9030,11 @@ function runCustomRules(content, filePath, disabledRules = [], tier = "free", ex
9027
9030
  return findings;
9028
9031
  }
9029
9032
 
9033
+ // src/rule-counts.ts
9034
+ var FREE_RULE_COUNT = 30;
9035
+ var PRO_RULE_COUNT = 182;
9036
+ var TOTAL_RULE_COUNT = 212;
9037
+
9030
9038
  // src/ai-fp-filter.ts
9031
9039
  var import_sdk = __toESM(require("@anthropic-ai/sdk"), 1);
9032
9040
  var REVIEW_SYSTEM_PROMPT = `You are reviewing security scan findings for false positives. Your job is to look at each finding and the surrounding code to determine if it's a REAL security vulnerability or a FALSE POSITIVE.
@@ -9581,8 +9589,11 @@ function extractScriptUrls(html, pageUrl, limit = 12) {
9581
9589
  }
9582
9590
  // Annotate the CommonJS export names for ESM import in node:
9583
9591
  0 && (module.exports = {
9592
+ FREE_RULE_COUNT,
9584
9593
  NON_APP_PATH_PATTERNS,
9594
+ PRO_RULE_COUNT,
9585
9595
  RULE_IMPACTS,
9596
+ TOTAL_RULE_COUNT,
9586
9597
  allCustomRules,
9587
9598
  allRules,
9588
9599
  androidDebuggable,