sicua
Version:
A tool for analyzing project structure and dependencies
44 lines (43 loc) • 1.48 kB
TypeScript
/**
* General constants and utilities used across multiple security detectors
*/
export declare const TEST_INDICATORS: string[];
export declare const CONFIG_FILES: string[];
export declare const CRITICAL_HTML_ATTRIBUTES: string[];
export declare const HIGH_RISK_HTML_ATTRIBUTES: string[];
export declare const SECURITY_FILE_EXTENSIONS: string[];
export declare const COMMENT_PATTERNS: {
singleLine: RegExp[];
multiLine: RegExp[];
};
export declare const BINARY_FILE_EXTENSIONS: string[];
export declare const EXCLUDED_DIRECTORIES: string[];
export declare const SECURITY_FILE_PATTERNS: RegExp[];
export declare const VULNERABILITY_KEYWORDS: string[];
export declare const SECURITY_HTTP_STATUS_CODES: {
401: string;
403: string;
407: string;
400: string;
406: string;
409: string;
410: string;
413: string;
414: string;
415: string;
429: string;
500: string;
502: string;
503: string;
504: string;
};
export declare const RISKY_MIME_TYPES: string[];
export declare const OBFUSCATION_PATTERNS: RegExp[];
export declare const CSS_PATTERNS: string[];
export declare const NEXTJS_INDICATORS: string[];
export declare const DEPLOYMENT_CONFIGS: string[];
export declare const UI_COOKIE_STATE_PATTERNS: string[];
export declare const FRAMEWORK_UI_PATTERNS: string[];
export declare const TEST_FILE_INDICATORS: string[];
export declare const DEV_CONTEXT_PATTERNS: RegExp[];
export declare const UI_PATTERNS: RegExp[];