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
13 lines • 589 B
TypeScript
import { BaseRule, FileContent, SecurityIssue } from '../types';
export declare class InsecureErrorHandlingRule extends BaseRule {
readonly name = "insecure-error-handling";
readonly description = "Detects information disclosure in error handling and stack traces";
readonly severity: "medium";
private readonly errorPatterns;
private readonly safeErrorPatterns;
check(fileContent: FileContent): SecurityIssue[];
private hasSafeErrorPatterns;
private isCommentOrTest;
private isDevelopmentContext;
}
//# sourceMappingURL=insecure-error-handling.d.ts.map