xploitscan-shared-rules 2.4.24 → 2.4.25

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.d.cts CHANGED
@@ -169,7 +169,7 @@ interface CustomRule {
169
169
  * before a scan can be saved without enough provenance to explain a changed
170
170
  * grade.
171
171
  */
172
- declare const SCANNER_VERSION = "2.4.24";
172
+ declare const SCANNER_VERSION = "2.4.25";
173
173
 
174
174
  /**
175
175
  * Line-oriented helpers shared by every rule. Pure string manipulation — no fs
@@ -1262,15 +1262,6 @@ declare function runCustomRules(content: string, filePath: string, disabledRules
1262
1262
  */
1263
1263
  project?: ProjectContext): Finding[];
1264
1264
 
1265
- /**
1266
- * Per-handler auth exemptions shared by VC003 and VC065.
1267
- *
1268
- * A guard name only counts when it is called before the first side effect, or
1269
- * sits in that route's own argument list, or a `.use(guard)` on the same
1270
- * receiver registered earlier covers the path. A local guard counts only when
1271
- * its body rejects (throw, redirect, session check, 401/403). An empty body or
1272
- * `next()` alone does not. Fail closed: no handler slice means no exemption.
1273
- */
1274
1265
  declare function authPrefixCovers(prefix: string, path: string): boolean;
1275
1266
  declare function isAnchoredPublicAuthPath(routePath: string): boolean;
1276
1267
  declare function isOgRoutePath(routePath: string): boolean;
package/dist/index.d.ts CHANGED
@@ -169,7 +169,7 @@ interface CustomRule {
169
169
  * before a scan can be saved without enough provenance to explain a changed
170
170
  * grade.
171
171
  */
172
- declare const SCANNER_VERSION = "2.4.24";
172
+ declare const SCANNER_VERSION = "2.4.25";
173
173
 
174
174
  /**
175
175
  * Line-oriented helpers shared by every rule. Pure string manipulation — no fs
@@ -1262,15 +1262,6 @@ declare function runCustomRules(content: string, filePath: string, disabledRules
1262
1262
  */
1263
1263
  project?: ProjectContext): Finding[];
1264
1264
 
1265
- /**
1266
- * Per-handler auth exemptions shared by VC003 and VC065.
1267
- *
1268
- * A guard name only counts when it is called before the first side effect, or
1269
- * sits in that route's own argument list, or a `.use(guard)` on the same
1270
- * receiver registered earlier covers the path. A local guard counts only when
1271
- * its body rejects (throw, redirect, session check, 401/403). An empty body or
1272
- * `next()` alone does not. Fail closed: no handler slice means no exemption.
1273
- */
1274
1265
  declare function authPrefixCovers(prefix: string, path: string): boolean;
1275
1266
  declare function isAnchoredPublicAuthPath(routePath: string): boolean;
1276
1267
  declare function isOgRoutePath(routePath: string): boolean;