xploitscan-shared-rules 2.4.21 → 2.4.23

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
@@ -1,7 +1,9 @@
1
+ export { IgnoreEntry, MAX_IGNORE_BYTES, MAX_IGNORE_LINES, MAX_SUPPRESSED_LIST, MAX_WARNING_CAP, NESTED_IGNORE_WARNING, RULE_ID_PATTERN, SUPPRESSION_REGEXES, ScanSuppressionMeta, SuppressionInfo, SuppressionWarning, applySuppressions, attachInlineSuppressed, attachScanSuppression, buildMarkerIndex, capWarnings, clampCount, countPass, isRootIgnorePath, isRuleScopedIgnoreLine, isUnscopedOverBroadLine, isWellFormedRuleId, markerCoversLine, maskStringLiterals, matchIgnore, parseIgnoreFile, parseIgnoreSources, parseMarkers, publicSuppressedRecord, readInlineSuppressed, readScanSuppression, suppressionSummary, warningForUpload, warningLine } from './suppression.cjs';
1
2
  import { ParseResult } from '@babel/parser';
2
3
  import { File, Node, CallExpression, ObjectExpression, BinaryExpression } from '@babel/types';
3
4
  import { AiStatus, AiReason, AiSurface, PlanCause } from './ai-status-constants.cjs';
4
5
  export { AI_REASONS, AI_STATUSES, AI_SURFACES, PLAN_CAUSES, WEBHOOK_EVENT_TYPES, WEBHOOK_REASONS } from './ai-status-constants.cjs';
6
+ import 'ignore';
5
7
 
6
8
  /**
7
9
  * Cross-file facts a rule cannot learn from the file it is scanning.
@@ -167,7 +169,7 @@ interface CustomRule {
167
169
  * before a scan can be saved without enough provenance to explain a changed
168
170
  * grade.
169
171
  */
170
- declare const SCANNER_VERSION = "2.4.21";
172
+ declare const SCANNER_VERSION = "2.4.23";
171
173
 
172
174
  /**
173
175
  * Line-oriented helpers shared by every rule. Pure string manipulation — no fs
@@ -244,7 +246,7 @@ declare function deduplicateFindings<T extends Finding>(findings: readonly T[]):
244
246
  * calling this directly from their match loop or by passing their results
245
247
  * through filterSilenced().
246
248
  */
247
- declare function isInlineSilenced(content: string, matchIndex: number, ruleId: string): boolean;
249
+ declare function isInlineSilenced(_content: string, _matchIndex: number, _ruleId: string): boolean;
248
250
  /**
249
251
  * Line-indexed variant. The entropy scanner walks the file line by line and
250
252
  * never computes character offsets, so making it reconstruct one just to call
@@ -582,15 +584,29 @@ declare function isUngradedFinding(finding: {
582
584
  gradeVendored?: boolean;
583
585
  }): boolean;
584
586
  /**
585
- * Reported severity for one finding.
587
+ * Repo-level checks. A test-path copy is still the file that ships, so the
588
+ * severity stays and the finding is not labeled testFile. Live credentials
589
+ * are not in this set: `isLive` keeps them critical and graded.
590
+ */
591
+ declare const KEEP_SEVERITY_IN_TESTS: Set<string>;
592
+ /**
593
+ * Reported severity for one finding, for every rule.
586
594
  *
587
- * A non-live VC001 match in a test path (`testFile === true`, stamped only
588
- * when `isTestPath` holds and `isLive` does not) is emitted at low. Every
589
- * other rule, a live key, and a finding whose `testFile` flag is unset or
590
- * false keeps the severity it was given. Callers pass `testFile` after that
591
- * stamp, so "low" and the not-graded label stay on the same findings.
595
+ * A non-live, non-keep finding in a test path is emitted at low. The caller
596
+ * stamps `testFile` only for that same set, so "low" and the not-graded
597
+ * label stay on the same findings. A live credential, a keep-list rule, and
598
+ * a finding whose `testFile` flag is unset or false keep the severity they
599
+ * were given.
592
600
  */
593
- declare function vc001TestFixtureSeverity<S extends string>(rule: string | undefined, testFile: boolean | undefined, severity: S): S | "low";
601
+ declare function applyTestPathSeverity<S extends string>(rule: string | undefined, testFile: boolean | undefined, severity: S): S | "low";
602
+ /** Whether this finding is held to low and labeled testFile. */
603
+ declare function testPathHold(finding: {
604
+ rule?: string;
605
+ file?: string;
606
+ live?: boolean;
607
+ category?: string;
608
+ snippet?: string;
609
+ }): boolean;
594
610
 
595
611
  /**
596
612
  * Route-table extraction — what URL, if any, reaches a given source file.
@@ -1086,7 +1102,7 @@ declare function isInsideFixMessage(content: string, matchIndex: number): boolea
1086
1102
  * high/critical rules a per-site escape valve so users don't disable a whole
1087
1103
  * rule to suppress one reviewed-and-accepted finding.
1088
1104
  */
1089
- declare function filterSilenced(matches: RuleMatch[], content: string, ruleId: string): RuleMatch[];
1105
+ declare function filterSilenced(matches: RuleMatch[], _content: string, _ruleId: string): RuleMatch[];
1090
1106
  declare function findMatches(content: string, pattern: RegExp, rule: Omit<CustomRule, "check">, filePath: string, fixTemplate?: (match: RegExpExecArray) => string): RuleMatch[];
1091
1107
  /**
1092
1108
  * findMatches for a matcher that is not a single RegExp — one a regex can
@@ -1822,4 +1838,4 @@ input: {
1822
1838
  content: string;
1823
1839
  }[] | QualityContext, rules?: QualityRule[]): Finding[];
1824
1840
 
1825
- export { type AIFilterResult, type AiDegraded, AiReason, AiStatus, AiSurface, type AppRoute, BILLING_WEBHOOK_UNMATCHED_KEYS, type BuilderFingerprint, CHECKABLE_CLAIMS, type Confidence, type CustomRule, DOTENV_ASSIGN_RE, type DetectedFramework, type ExposedConfig, type Exposure, FREE_RULE_COUNT, type FilteredFinding, type Finding, GRADE_FINDINGS_PER_RULE, type GradeOptions, type GradeResult, type HeaderFinding, INTENT_EXPECTATIONS, type IntentExpectation, type IntentMismatch, type IntentOrigin, type IntentReport, type IntentStatement, MODEL_ANALYSIS, MODEL_POLICY_REVIEWED, MODEL_REVIEW_INTERVAL_DAYS, MODEL_TEMPERATURE, MODEL_TRIAGE, NON_APP_PATH_PATTERNS, PLAN_UNVERIFIED_NOTICE, PRO_RULE_COUNT, PUBLIC_ENV_PREFIX_RE, type ParsedFile, PlanCause, type ProjectContext, QUALITY_EXAMPLES, type QualityContext, type QualityExample, type QualityFile, type QualityHit, type QualityRule, RULE_IMPACTS, type RouteFramework, type RouteTable, type RuleMatch, SCANNER_VERSION, SCAN_AI_DEGRADED_KEYS, SCAN_TOKEN_NULL_KEYS, SERVER_ACTION_WRITE_RE, type SecurityGrade, type Severity, TEST_FILE_PATTERN, TOTAL_RULE_COUNT, type TaintMap, type TargetCheck, type VibePlatform, aiStatusLine, allRules, assessHeaders, astMatch, billingWebhookUnmatchedProps, bucketFiles, buildProjectContext, buildQualityContext, buildReviewPrompt, buildTaintMap, calculateGrade, callSpreads, checkIntent, classifyExposure, classifyPublicEnvVar, classifyStatement, clientSideAuth, complianceMap, consoleLogProduction, corsWildcard, dangerousInnerHTML, deduplicateFindings, detectBuilder, detectExposedConfig, detectFramework, detectPlatform, disabledTLSVerification, dotenvValue, emptyCatchBlock, enclosingHandler, envNotGitignored, evalUsage, exposedAuthSecret, exposedDebugMode, exposedEnvFile, exposedStackTraces, extractRoutes, extractScriptUrls, filterFalsePositives, filterSilenced, findMatches, findMatchesAt, findSourceMapRefs, freeRules, getObjectProperty, getSnippet, gradeRuleFamily, hardcodedJWTSecret, hardcodedSecretValues, hardcodedSecrets, harvestIntent, insecureCookies, insecureRandomness, isCalleeNamed, isClientTarget, isCommentLine, isDotenvPath, isInlineSilenced, isInsideFixMessage, isLineSilenced, isLive, isMethodCall, isPrivateAddress, isProtectedFromAiRemoval, isSbomPath, isServerSideFile, isServerTarget, isTestFile, isTestPath, isUngradedFinding, isVendoredFinding, isVendoredPath, lineNumberAt, lineTextAt, maskComments, maskOutboundAuthNoise, maskSecretValue, missingAuthMiddleware, missingCSP, missingErrorBoundary, missingHTTPS, missingLockFile, newDataFence, nextPublicSecret, noRateLimiting, normalizeScanPath, packReviewBatches, parseFile, parseScanTarget, parseSupabaseConfig, perCallTimeoutMs, planCause, qualityRules, replaceBlockComments, routeForFile, runCustomRules, scanAiDegradedProps, scanConfigs, scanDependencies, scanEntropy, scanMultiFile, scanQuality, scanTokenNullProps, sqlInjection, stripeWebhookUnprotected, supabaseFunctionName, supabaseNoRLS, toAiDegraded, todoLeftInCode, tryParse, unknownAiStatus, unmeasuredQualityRules, unvalidatedRedirect, vc001TestFixtureSeverity, vendoredReason, visitBinary, visitCalls, weakHashing, xssVulnerability };
1841
+ export { type AIFilterResult, type AiDegraded, AiReason, AiStatus, AiSurface, type AppRoute, BILLING_WEBHOOK_UNMATCHED_KEYS, type BuilderFingerprint, CHECKABLE_CLAIMS, type Confidence, type CustomRule, DOTENV_ASSIGN_RE, type DetectedFramework, type ExposedConfig, type Exposure, FREE_RULE_COUNT, type FilteredFinding, type Finding, GRADE_FINDINGS_PER_RULE, type GradeOptions, type GradeResult, type HeaderFinding, INTENT_EXPECTATIONS, type IntentExpectation, type IntentMismatch, type IntentOrigin, type IntentReport, type IntentStatement, KEEP_SEVERITY_IN_TESTS, MODEL_ANALYSIS, MODEL_POLICY_REVIEWED, MODEL_REVIEW_INTERVAL_DAYS, MODEL_TEMPERATURE, MODEL_TRIAGE, NON_APP_PATH_PATTERNS, PLAN_UNVERIFIED_NOTICE, PRO_RULE_COUNT, PUBLIC_ENV_PREFIX_RE, type ParsedFile, PlanCause, type ProjectContext, QUALITY_EXAMPLES, type QualityContext, type QualityExample, type QualityFile, type QualityHit, type QualityRule, RULE_IMPACTS, type RouteFramework, type RouteTable, type RuleMatch, SCANNER_VERSION, SCAN_AI_DEGRADED_KEYS, SCAN_TOKEN_NULL_KEYS, SERVER_ACTION_WRITE_RE, type SecurityGrade, type Severity, TEST_FILE_PATTERN, TOTAL_RULE_COUNT, type TaintMap, type TargetCheck, type VibePlatform, aiStatusLine, allRules, applyTestPathSeverity, assessHeaders, astMatch, billingWebhookUnmatchedProps, bucketFiles, buildProjectContext, buildQualityContext, buildReviewPrompt, buildTaintMap, calculateGrade, callSpreads, checkIntent, classifyExposure, classifyPublicEnvVar, classifyStatement, clientSideAuth, complianceMap, consoleLogProduction, corsWildcard, dangerousInnerHTML, deduplicateFindings, detectBuilder, detectExposedConfig, detectFramework, detectPlatform, disabledTLSVerification, dotenvValue, emptyCatchBlock, enclosingHandler, envNotGitignored, evalUsage, exposedAuthSecret, exposedDebugMode, exposedEnvFile, exposedStackTraces, extractRoutes, extractScriptUrls, filterFalsePositives, filterSilenced, findMatches, findMatchesAt, findSourceMapRefs, freeRules, getObjectProperty, getSnippet, gradeRuleFamily, hardcodedJWTSecret, hardcodedSecretValues, hardcodedSecrets, harvestIntent, insecureCookies, insecureRandomness, isCalleeNamed, isClientTarget, isCommentLine, isDotenvPath, isInlineSilenced, isInsideFixMessage, isLineSilenced, isLive, isMethodCall, isPrivateAddress, isProtectedFromAiRemoval, isSbomPath, isServerSideFile, isServerTarget, isTestFile, isTestPath, isUngradedFinding, isVendoredFinding, isVendoredPath, lineNumberAt, lineTextAt, maskComments, maskOutboundAuthNoise, maskSecretValue, missingAuthMiddleware, missingCSP, missingErrorBoundary, missingHTTPS, missingLockFile, newDataFence, nextPublicSecret, noRateLimiting, normalizeScanPath, packReviewBatches, parseFile, parseScanTarget, parseSupabaseConfig, perCallTimeoutMs, planCause, qualityRules, replaceBlockComments, routeForFile, runCustomRules, scanAiDegradedProps, scanConfigs, scanDependencies, scanEntropy, scanMultiFile, scanQuality, scanTokenNullProps, sqlInjection, stripeWebhookUnprotected, supabaseFunctionName, supabaseNoRLS, testPathHold, toAiDegraded, todoLeftInCode, tryParse, unknownAiStatus, unmeasuredQualityRules, unvalidatedRedirect, vendoredReason, visitBinary, visitCalls, weakHashing, xssVulnerability };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
+ export { IgnoreEntry, MAX_IGNORE_BYTES, MAX_IGNORE_LINES, MAX_SUPPRESSED_LIST, MAX_WARNING_CAP, NESTED_IGNORE_WARNING, RULE_ID_PATTERN, SUPPRESSION_REGEXES, ScanSuppressionMeta, SuppressionInfo, SuppressionWarning, applySuppressions, attachInlineSuppressed, attachScanSuppression, buildMarkerIndex, capWarnings, clampCount, countPass, isRootIgnorePath, isRuleScopedIgnoreLine, isUnscopedOverBroadLine, isWellFormedRuleId, markerCoversLine, maskStringLiterals, matchIgnore, parseIgnoreFile, parseIgnoreSources, parseMarkers, publicSuppressedRecord, readInlineSuppressed, readScanSuppression, suppressionSummary, warningForUpload, warningLine } from './suppression.js';
1
2
  import { ParseResult } from '@babel/parser';
2
3
  import { File, Node, CallExpression, ObjectExpression, BinaryExpression } from '@babel/types';
3
4
  import { AiStatus, AiReason, AiSurface, PlanCause } from './ai-status-constants.js';
4
5
  export { AI_REASONS, AI_STATUSES, AI_SURFACES, PLAN_CAUSES, WEBHOOK_EVENT_TYPES, WEBHOOK_REASONS } from './ai-status-constants.js';
6
+ import 'ignore';
5
7
 
6
8
  /**
7
9
  * Cross-file facts a rule cannot learn from the file it is scanning.
@@ -167,7 +169,7 @@ interface CustomRule {
167
169
  * before a scan can be saved without enough provenance to explain a changed
168
170
  * grade.
169
171
  */
170
- declare const SCANNER_VERSION = "2.4.21";
172
+ declare const SCANNER_VERSION = "2.4.23";
171
173
 
172
174
  /**
173
175
  * Line-oriented helpers shared by every rule. Pure string manipulation — no fs
@@ -244,7 +246,7 @@ declare function deduplicateFindings<T extends Finding>(findings: readonly T[]):
244
246
  * calling this directly from their match loop or by passing their results
245
247
  * through filterSilenced().
246
248
  */
247
- declare function isInlineSilenced(content: string, matchIndex: number, ruleId: string): boolean;
249
+ declare function isInlineSilenced(_content: string, _matchIndex: number, _ruleId: string): boolean;
248
250
  /**
249
251
  * Line-indexed variant. The entropy scanner walks the file line by line and
250
252
  * never computes character offsets, so making it reconstruct one just to call
@@ -582,15 +584,29 @@ declare function isUngradedFinding(finding: {
582
584
  gradeVendored?: boolean;
583
585
  }): boolean;
584
586
  /**
585
- * Reported severity for one finding.
587
+ * Repo-level checks. A test-path copy is still the file that ships, so the
588
+ * severity stays and the finding is not labeled testFile. Live credentials
589
+ * are not in this set: `isLive` keeps them critical and graded.
590
+ */
591
+ declare const KEEP_SEVERITY_IN_TESTS: Set<string>;
592
+ /**
593
+ * Reported severity for one finding, for every rule.
586
594
  *
587
- * A non-live VC001 match in a test path (`testFile === true`, stamped only
588
- * when `isTestPath` holds and `isLive` does not) is emitted at low. Every
589
- * other rule, a live key, and a finding whose `testFile` flag is unset or
590
- * false keeps the severity it was given. Callers pass `testFile` after that
591
- * stamp, so "low" and the not-graded label stay on the same findings.
595
+ * A non-live, non-keep finding in a test path is emitted at low. The caller
596
+ * stamps `testFile` only for that same set, so "low" and the not-graded
597
+ * label stay on the same findings. A live credential, a keep-list rule, and
598
+ * a finding whose `testFile` flag is unset or false keep the severity they
599
+ * were given.
592
600
  */
593
- declare function vc001TestFixtureSeverity<S extends string>(rule: string | undefined, testFile: boolean | undefined, severity: S): S | "low";
601
+ declare function applyTestPathSeverity<S extends string>(rule: string | undefined, testFile: boolean | undefined, severity: S): S | "low";
602
+ /** Whether this finding is held to low and labeled testFile. */
603
+ declare function testPathHold(finding: {
604
+ rule?: string;
605
+ file?: string;
606
+ live?: boolean;
607
+ category?: string;
608
+ snippet?: string;
609
+ }): boolean;
594
610
 
595
611
  /**
596
612
  * Route-table extraction — what URL, if any, reaches a given source file.
@@ -1086,7 +1102,7 @@ declare function isInsideFixMessage(content: string, matchIndex: number): boolea
1086
1102
  * high/critical rules a per-site escape valve so users don't disable a whole
1087
1103
  * rule to suppress one reviewed-and-accepted finding.
1088
1104
  */
1089
- declare function filterSilenced(matches: RuleMatch[], content: string, ruleId: string): RuleMatch[];
1105
+ declare function filterSilenced(matches: RuleMatch[], _content: string, _ruleId: string): RuleMatch[];
1090
1106
  declare function findMatches(content: string, pattern: RegExp, rule: Omit<CustomRule, "check">, filePath: string, fixTemplate?: (match: RegExpExecArray) => string): RuleMatch[];
1091
1107
  /**
1092
1108
  * findMatches for a matcher that is not a single RegExp — one a regex can
@@ -1822,4 +1838,4 @@ input: {
1822
1838
  content: string;
1823
1839
  }[] | QualityContext, rules?: QualityRule[]): Finding[];
1824
1840
 
1825
- export { type AIFilterResult, type AiDegraded, AiReason, AiStatus, AiSurface, type AppRoute, BILLING_WEBHOOK_UNMATCHED_KEYS, type BuilderFingerprint, CHECKABLE_CLAIMS, type Confidence, type CustomRule, DOTENV_ASSIGN_RE, type DetectedFramework, type ExposedConfig, type Exposure, FREE_RULE_COUNT, type FilteredFinding, type Finding, GRADE_FINDINGS_PER_RULE, type GradeOptions, type GradeResult, type HeaderFinding, INTENT_EXPECTATIONS, type IntentExpectation, type IntentMismatch, type IntentOrigin, type IntentReport, type IntentStatement, MODEL_ANALYSIS, MODEL_POLICY_REVIEWED, MODEL_REVIEW_INTERVAL_DAYS, MODEL_TEMPERATURE, MODEL_TRIAGE, NON_APP_PATH_PATTERNS, PLAN_UNVERIFIED_NOTICE, PRO_RULE_COUNT, PUBLIC_ENV_PREFIX_RE, type ParsedFile, PlanCause, type ProjectContext, QUALITY_EXAMPLES, type QualityContext, type QualityExample, type QualityFile, type QualityHit, type QualityRule, RULE_IMPACTS, type RouteFramework, type RouteTable, type RuleMatch, SCANNER_VERSION, SCAN_AI_DEGRADED_KEYS, SCAN_TOKEN_NULL_KEYS, SERVER_ACTION_WRITE_RE, type SecurityGrade, type Severity, TEST_FILE_PATTERN, TOTAL_RULE_COUNT, type TaintMap, type TargetCheck, type VibePlatform, aiStatusLine, allRules, assessHeaders, astMatch, billingWebhookUnmatchedProps, bucketFiles, buildProjectContext, buildQualityContext, buildReviewPrompt, buildTaintMap, calculateGrade, callSpreads, checkIntent, classifyExposure, classifyPublicEnvVar, classifyStatement, clientSideAuth, complianceMap, consoleLogProduction, corsWildcard, dangerousInnerHTML, deduplicateFindings, detectBuilder, detectExposedConfig, detectFramework, detectPlatform, disabledTLSVerification, dotenvValue, emptyCatchBlock, enclosingHandler, envNotGitignored, evalUsage, exposedAuthSecret, exposedDebugMode, exposedEnvFile, exposedStackTraces, extractRoutes, extractScriptUrls, filterFalsePositives, filterSilenced, findMatches, findMatchesAt, findSourceMapRefs, freeRules, getObjectProperty, getSnippet, gradeRuleFamily, hardcodedJWTSecret, hardcodedSecretValues, hardcodedSecrets, harvestIntent, insecureCookies, insecureRandomness, isCalleeNamed, isClientTarget, isCommentLine, isDotenvPath, isInlineSilenced, isInsideFixMessage, isLineSilenced, isLive, isMethodCall, isPrivateAddress, isProtectedFromAiRemoval, isSbomPath, isServerSideFile, isServerTarget, isTestFile, isTestPath, isUngradedFinding, isVendoredFinding, isVendoredPath, lineNumberAt, lineTextAt, maskComments, maskOutboundAuthNoise, maskSecretValue, missingAuthMiddleware, missingCSP, missingErrorBoundary, missingHTTPS, missingLockFile, newDataFence, nextPublicSecret, noRateLimiting, normalizeScanPath, packReviewBatches, parseFile, parseScanTarget, parseSupabaseConfig, perCallTimeoutMs, planCause, qualityRules, replaceBlockComments, routeForFile, runCustomRules, scanAiDegradedProps, scanConfigs, scanDependencies, scanEntropy, scanMultiFile, scanQuality, scanTokenNullProps, sqlInjection, stripeWebhookUnprotected, supabaseFunctionName, supabaseNoRLS, toAiDegraded, todoLeftInCode, tryParse, unknownAiStatus, unmeasuredQualityRules, unvalidatedRedirect, vc001TestFixtureSeverity, vendoredReason, visitBinary, visitCalls, weakHashing, xssVulnerability };
1841
+ export { type AIFilterResult, type AiDegraded, AiReason, AiStatus, AiSurface, type AppRoute, BILLING_WEBHOOK_UNMATCHED_KEYS, type BuilderFingerprint, CHECKABLE_CLAIMS, type Confidence, type CustomRule, DOTENV_ASSIGN_RE, type DetectedFramework, type ExposedConfig, type Exposure, FREE_RULE_COUNT, type FilteredFinding, type Finding, GRADE_FINDINGS_PER_RULE, type GradeOptions, type GradeResult, type HeaderFinding, INTENT_EXPECTATIONS, type IntentExpectation, type IntentMismatch, type IntentOrigin, type IntentReport, type IntentStatement, KEEP_SEVERITY_IN_TESTS, MODEL_ANALYSIS, MODEL_POLICY_REVIEWED, MODEL_REVIEW_INTERVAL_DAYS, MODEL_TEMPERATURE, MODEL_TRIAGE, NON_APP_PATH_PATTERNS, PLAN_UNVERIFIED_NOTICE, PRO_RULE_COUNT, PUBLIC_ENV_PREFIX_RE, type ParsedFile, PlanCause, type ProjectContext, QUALITY_EXAMPLES, type QualityContext, type QualityExample, type QualityFile, type QualityHit, type QualityRule, RULE_IMPACTS, type RouteFramework, type RouteTable, type RuleMatch, SCANNER_VERSION, SCAN_AI_DEGRADED_KEYS, SCAN_TOKEN_NULL_KEYS, SERVER_ACTION_WRITE_RE, type SecurityGrade, type Severity, TEST_FILE_PATTERN, TOTAL_RULE_COUNT, type TaintMap, type TargetCheck, type VibePlatform, aiStatusLine, allRules, applyTestPathSeverity, assessHeaders, astMatch, billingWebhookUnmatchedProps, bucketFiles, buildProjectContext, buildQualityContext, buildReviewPrompt, buildTaintMap, calculateGrade, callSpreads, checkIntent, classifyExposure, classifyPublicEnvVar, classifyStatement, clientSideAuth, complianceMap, consoleLogProduction, corsWildcard, dangerousInnerHTML, deduplicateFindings, detectBuilder, detectExposedConfig, detectFramework, detectPlatform, disabledTLSVerification, dotenvValue, emptyCatchBlock, enclosingHandler, envNotGitignored, evalUsage, exposedAuthSecret, exposedDebugMode, exposedEnvFile, exposedStackTraces, extractRoutes, extractScriptUrls, filterFalsePositives, filterSilenced, findMatches, findMatchesAt, findSourceMapRefs, freeRules, getObjectProperty, getSnippet, gradeRuleFamily, hardcodedJWTSecret, hardcodedSecretValues, hardcodedSecrets, harvestIntent, insecureCookies, insecureRandomness, isCalleeNamed, isClientTarget, isCommentLine, isDotenvPath, isInlineSilenced, isInsideFixMessage, isLineSilenced, isLive, isMethodCall, isPrivateAddress, isProtectedFromAiRemoval, isSbomPath, isServerSideFile, isServerTarget, isTestFile, isTestPath, isUngradedFinding, isVendoredFinding, isVendoredPath, lineNumberAt, lineTextAt, maskComments, maskOutboundAuthNoise, maskSecretValue, missingAuthMiddleware, missingCSP, missingErrorBoundary, missingHTTPS, missingLockFile, newDataFence, nextPublicSecret, noRateLimiting, normalizeScanPath, packReviewBatches, parseFile, parseScanTarget, parseSupabaseConfig, perCallTimeoutMs, planCause, qualityRules, replaceBlockComments, routeForFile, runCustomRules, scanAiDegradedProps, scanConfigs, scanDependencies, scanEntropy, scanMultiFile, scanQuality, scanTokenNullProps, sqlInjection, stripeWebhookUnprotected, supabaseFunctionName, supabaseNoRLS, testPathHold, toAiDegraded, todoLeftInCode, tryParse, unknownAiStatus, unmeasuredQualityRules, unvalidatedRedirect, vendoredReason, visitBinary, visitCalls, weakHashing, xssVulnerability };