#!/usr/bin/env node /** * Forgen — PreToolUse: DB Guard Hook * * Bash 도구 실행 전 위험한 SQL 명령어를 감지하여 차단 또는 경고합니다. */ export interface SqlPattern { pattern: RegExp; description: string; severity: 'block' | 'warn'; } export declare const DANGEROUS_SQL_PATTERNS: SqlPattern[]; /** SQL 명령어 위험도 검사 (순수 함수) */ export declare function checkDangerousSql(toolName: string, toolInput: Record | string): { action: 'block' | 'warn' | 'pass'; description?: string; };