security.authorization

Missing ownership validation

Resource identifiers from request input should be checked against the caller before sensitive actions run.

#Metadata

#Why it matters

Authorization alone is not enough when handlers act on caller-provided resource ids that may belong to someone else.

#Remediation

Compare the request-derived resource id to the authenticated caller or load the resource through an ownership-enforcing query.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.missing-ownership-validation.rule.yaml.