security.misconfiguration

Avoid exposed directory listings

Directory listing middleware should not be enabled on public paths without a deliberate review.

#Metadata

#Why it matters

Directory listings expose internal file names and make unintended resources easier to discover and fetch.

#Remediation

Remove directory listing middleware or protect it behind strict authorization and path scoping.

#Repository path

The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.security.exposed-directory-listing.rule.yaml.