UNPKG

vibe-guard

Version:

🛡️ Vibe-Guard Security Scanner - 25 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, and mo

14 lines 607 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; } //# sourceMappingURL=missing-authentication.d.ts.map