UNPKG

vibe-guard

Version:

██ Vibe-Guard Security Scanner - 28 essential security rules to catch vulnerabilities before they catch you! Zero dependencies, instant setup, works everywhere, optimized performance. Detects SQL injection, XSS, exposed secrets, CSRF, CORS issues, contain

18 lines 744 B
import { BaseRule, FileContent, SecurityIssue } from '../types'; export declare class MissingAuthenticationRule extends BaseRule { readonly name = "missing-authentication"; readonly description = "Detects potentially unprotected routes and endpoints"; readonly severity: "high"; private readonly routePatterns; private readonly protectedPatterns; private readonly publicEndpoints; check(fileContent: FileContent): SecurityIssue[]; private extractRoute; private isPublicEndpoint; private hasAuthenticationContext; private hasGlobalAuthentication; private determineSeverity; private isDevelopmentContext; private getRemediationMessage; } //# sourceMappingURL=missing-authentication.d.ts.map