/** * @fileoverview Python vulnerability scanner - static analysis for Python security vulnerabilities * @module @nahisaho/musubix-security/analysis/python-scanner * @trace REQ-SEC-PYTHON-001 */ import type { Vulnerability, ScanOptions, ScanResult, Severity, OWASPCategory } from '../types/index.js'; /** * Reset Python vulnerability counter (for testing) */ export declare function resetPythonVulnCounter(): void; /** * Python vulnerability pattern */ interface PythonPattern { ruleId: string; pattern: RegExp; type: string; severity: Severity; cwes: string[]; owasp: OWASPCategory[]; description: string; recommendation: string; confidence: number; } /** * Python vulnerability scanner */ export declare class PythonScanner { private patterns; constructor(); /** * Scan a single Python file */ scanFile(filePath: string): Promise; /** * Scan Python content */ scanContent(content: string, filePath?: string): Vulnerability[]; /** * Scan a directory for Python files */ scanDirectory(rootPath: string, options?: ScanOptions): Promise; /** * Add custom pattern */ addPattern(pattern: PythonPattern): void; /** * Get rule IDs */ getRuleIds(): string[]; /** * Get rule count */ getRuleCount(): number; } /** * Create Python scanner */ export declare function createPythonScanner(): PythonScanner; export {}; //# sourceMappingURL=python-scanner.d.ts.map