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
11 lines • 539 B
TypeScript
import { BaseRule, FileContent, SecurityIssue } from '../types';
export declare class PromptInjectionDetectionRule extends BaseRule {
readonly name = "prompt-injection-detection";
readonly description = "Detects potential prompt injection vulnerabilities in AI systems";
readonly severity: "critical";
private readonly injectionPatterns;
private readonly falsePositivePatterns;
check(fileContent: FileContent): SecurityIssue[];
private isFalsePositive;
}
//# sourceMappingURL=prompt-injection-detection.d.ts.map