BETA Shoulder is in beta — Findings may sometimes be wrong. Your feedback shapes what we fix next. Share feedback

TypeScript Strict Mode Disabled

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.

What Shoulder detects

tsconfig.json has '{option}' disabled. Enable strict mode for better type safety and security.

How to fix

Enable strict mode in tsconfig.json.

```json
{
  "compilerOptions": {
    "strict": true
  }
}
```

Learn more: https://shoulder.dev/learn/typescript/cwe-704/strict-mode-violations

Applies to

Frameworks

typescript

References

Scan for this issue

Detect with Shoulder CLI
npx @shoulderdev/cli trust --rule=typescript-strict-mode-violations .

Related rules