# TypeScript Strict Mode Disabled - ID: typescript-strict-mode-violations - Severity: HIGH - CWE: CWE-704 (CWE-704) - Languages: TypeScript - Frameworks: typescript ## Description Disabled TypeScript strict mode flags weaken type safety and allow null/undefined errors, implicit any types, and unsafe function parameters that lead to runtime vulnerabilities. ## Detection Message tsconfig.json has '{option}' disabled. Enable strict mode for better type safety and security. ## Remediation Enable strict mode in tsconfig.json. ```json { "compilerOptions": { "strict": true } } ``` Learn more: https://shoulder.dev/learn/typescript/cwe-704/strict-mode-violations ## Documentation [object Object] ## Related Rules - **tRPC Type Safety Bypass with Any** [MEDIUM]: - **TypeScript Unconstrained Generic Type Parameters** [MEDIUM]: - **Unsafe 'any' Type in Security-Sensitive Context** [HIGH]: - **TypeScript Unsafe Type Guard** [HIGH]: