/** * Python Analyzer * Specialized analyzer for Python code */ import { BaseAnalyzer } from '../base'; import { ScannedFile, Finding, Rule, SupportedLanguage } from '../../types'; /** * Python Analyzer Class */ export declare class PythonAnalyzer extends BaseAnalyzer { name: string; languages: SupportedLanguage[]; version: string; /** * Analyze Python file */ analyze(file: ScannedFile, rules: Rule[]): Promise; /** * Custom Python-specific analysis */ private customAnalysis; /** * Check for dangerous imports */ private checkDangerousImports; /** * Check for pickle usage */ private checkPickleUsage; /** * Check for unsafe YAML load */ private checkUnsafeYamlLoad; /** * Check for subprocess with shell=True */ private checkSubprocessShell; /** * Check for tarfile extraction without validation */ private checkTarfileTraversal; /** * Check for Flask debug mode */ private checkFlaskDebug; /** * Check for Django settings issues */ private checkDjangoSettings; /** * Check for compile/exec usage */ private checkCompileExec; /** * Analyze requirements.txt */ private analyzeRequirements; /** * Create generic finding */ private createFinding; } export default PythonAnalyzer; //# sourceMappingURL=pythonAnalyzer.d.ts.map