correctness.null

Nested property access without existence check

Deep property chains derived from external input should verify intermediate values before access.

#Metadata

#Why it matters

Multi-hop access into request or payload objects is brittle when any segment can be absent, renamed, or malformed.

#Remediation

Add guards for the intermediate objects or switch the chain to explicit optional access with a fallback.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.nested-property-access-without-check.rule.yaml.