Files
url_tracker_tool/apps/api/dist/services/security-analyzer.service.d.ts
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
2025-08-19 19:12:23 +00:00

52 lines
1.7 KiB
TypeScript

export interface MixedContentAnalysis {
status: 'none' | 'present' | 'final_to_http';
insecureResources: string[];
httpsToHttpRedirect: boolean;
}
export interface SecurityHeadersAnalysis {
strictTransportSecurity?: string;
contentSecurityPolicy?: string;
xFrameOptions?: string;
xContentTypeOptions?: string;
referrerPolicy?: string;
permissionsPolicy?: string;
score: number;
}
export interface SafeBrowsingResult {
status: 'safe' | 'malware' | 'phishing' | 'unwanted_software' | 'unknown' | 'error';
details?: string;
}
export interface SecurityFlags {
safeBrowsingStatus: string;
mixedContent: 'NONE' | 'PRESENT' | 'FINAL_TO_HTTP';
httpsToHttp: boolean;
securityHeaders: SecurityHeadersAnalysis;
certificateValid?: boolean;
weakCiphers: boolean;
openRedirects: boolean;
}
export interface SecurityAnalysisResult {
url: string;
flags: SecurityFlags;
mixedContentAnalysis: MixedContentAnalysis;
safeBrowsing: SafeBrowsingResult;
vulnerabilities: string[];
recommendations: string[];
securityScore: number;
}
export declare class SecurityAnalyzerService {
analyzeSecurity(url: string, redirectChain?: string[]): Promise<SecurityAnalysisResult>;
private analyzeRedirectChainSecurity;
private isOpenRedirectVulnerable;
private analyzeSecurityHeaders;
private analyzeMixedContent;
private checkPageMixedContent;
private checkSafeBrowsing;
private generateSecurityRecommendations;
quickSecurityCheck(url: string): Promise<{
httpsToHttp: boolean;
safeBrowsingStatus: string;
hasSecurityHeaders: boolean;
}>;
}
//# sourceMappingURL=security-analyzer.service.d.ts.map