Explore

Rule Explorer

Search the public rule index by CVE, GHSA, CWE, language, framework, author, or rule slug. Filter by language, framework, severity, confidence, license, and validation status.

Public rules
2917
Downloads
3.3M
Verified
2917
Authors
2
Search the rule indexUse CVE, GHSA, CWE, language, framework, package, or rule slug.
1 rules matched. Showing 1 loaded rules.
Publish rule
CVE-2026-27629: Ts Unsafe State Cast Accesscve-2026-27629-ts-unsafe-state-cast-access

Direct property access on a state object that was retrieved and cast using `as`. This bypasses TypeScript's null safety. If the state is undefined (e.g., due to user being unauthenticated), this will cause a fatal runtime TypeError (`Cannot read properties of undefined`). Use optional chaining (`?.`) instead, or check if the object exists before accessing.

by Provallyupdated 2026-06-12Apache-2.0
1.1K0 direct1.1K via packs
downloads
74quality
All matching rules loaded.