TypeScript static analysis rules
27 TypeScript rules as of 2026-11-19, 12 of them taint rules that follow web request input to a dangerous call. They run once static analysis is turned on.
27 checks
- SQL injection from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-sql-injection - Command injection from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-command-injection - Path traversal from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-path-traversal - SSRF from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-ssrf - XSS from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-xss - Deserialization from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-deserialization - Open redirect from request input (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-taint-open-redirect - Code injection from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-code-injection - NoSQL injection from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-nosql-injection - Prototype pollution from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-prototype-pollution - Regex injection from request input (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-taint-regex-injection - JavaScript URL from request input (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-taint-javascript-url - SQL template literal (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-sql-template-literal - Next.js public secret (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-next-public-secret - Next.js image any host (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-next-image-any-host - Next.js image SVG allowed (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-next-image-svg-allowed - JWT decode unverified (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-jwt-decode-unverified - Token in localStorage (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-token-in-localstorage - Target blank noopener (TypeScript)
TypeScriptSeverity: Low
trustivan-typescript-target-blank-noopener - Express render request object (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-express-render-request-object - Error stack in response (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-error-stack-in-response - Express static dotfiles (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-express-static-dotfiles - ReDoS nested quantifier (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-redos-nested-quantifier - Cookie flags disabled (TypeScript)
TypeScriptSeverity: Medium
trustivan-typescript-cookie-flags-disabled - Server action env leak (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-server-action-env-leak - CORS wildcard credentials (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-cors-wildcard-credentials - Hardcoded secret NextAuth (TypeScript)
TypeScriptSeverity: High
trustivan-typescript-hardcoded-secret-nextauth
Other languages: C# rules, Go rules, Java rules, JavaScript rules, Kotlin rules, PHP rules, Python rules, Ruby rules. All static analysis (SAST) checks.