Check ID:
Provider: Vercel
Service:
Severity: MEDIUM
Categories:
Resource type:
project_directory_listing_disabledProvider: Vercel
Service:
projectSeverity: MEDIUM
Categories:
internet-exposedResource type:
NotDefinedWhat this check verifies
Vercel projects are assessed for directory listing configuration. When enabled, this feature allows visitors to browse the file structure of a deployment when no index file is present in a directory, potentially exposing source files, configuration files, and other assets that should not be publicly accessible.Risk
Enabled directory listing allows attackers to enumerate the file structure of the deployment, potentially discovering backup files, configuration files, source maps, or other sensitive assets. This information disclosure can be leveraged to identify attack vectors or access files that were not intended to be public.Recommendation
Disable directory listing to prevent visitors from browsing the file structure of your deployments. Ensure that all directories either contain an index file or return a 404 response when accessed directly.Remediation
Dashboard steps- Sign in to the Vercel dashboard
- Navigate to the project Settings > General
- Locate the ‘Directory Listing’ option
- Ensure it is disabled
- Click Save
References
Where this check fires
This check runs on every scheduled scan against your Vercel account. Findings appear at Cloud Security → Findings filterable byCheck ID = project_directory_listing_disabled. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Vercel checks