/** * Get Security Context Tool * * PRIVATE/LOCAL-ONLY TOOL * This tool is NOT published to npm - excluded via package.json "files" whitelist * Only available when running MCP server locally */ import { z } from 'zod'; export declare const GetSecurityContextInput: z.ZodObject<{ domain: z.ZodString; }, "strip", z.ZodTypeAny, { domain: string; }, { domain: string; }>; export type GetSecurityContextInput = z.infer; interface SecurityIssue { id: string; severity: 'critical' | 'high' | 'medium' | 'low' | 'info'; category: 'headers' | 'ssl' | 'exposure' | 'third_party' | 'dns' | 'configuration'; title: string; description: string; remediation?: string; reference_urls?: string[]; } interface SecurityContextResult { success: boolean; domain: string; securityScore: number | null; grade: string | null; issues: { critical: number; high: number; medium: number; low: number; info: number; total: number; }; recentIssues: SecurityIssue[]; headers: { hasHSTS: boolean; hasCSP: boolean; hasXFrameOptions: boolean; hasXContentTypeOptions: boolean; hasReferrerPolicy: boolean; }; ssl: { valid: boolean; grade?: string; expiresAt?: string; daysUntilExpiry?: number; }; exposedFiles: string[]; thirdParty: { totalScripts: number; scriptsWithoutSRI: number; trackingServices: string[]; }; recommendations: string[]; lastScanned?: string; } /** * Get security analysis for a site (homepage only) */ export declare function getSecurityContext(params: GetSecurityContextInput): Promise; /** * Format security context for human-readable output */ export declare function formatSecurityContext(result: SecurityContextResult): string; export {}; //# sourceMappingURL=get-security-context.d.ts.map