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

15 lines 556 B
import { ScanResult, BaseRule } from './types'; export declare class FileScanner { private readonly supportedExtensions; private readonly excludePatterns; private readonly maxFileSize; private readonly binaryExtensions; scanDirectory(targetPath: string, rules: BaseRule[]): Promise<ScanResult>; scanFile(filePath: string, rules: BaseRule[]): Promise<ScanResult>; private findFiles; private isSupportedFile; private readFile; private isBinaryFile; private createScanResult; } //# sourceMappingURL=scanner.d.ts.map