MB-R099
No unprotected download or export endpoint patterns detected.
Export and download endpoints often expose orders, customers, invoices, logs, or operational reports. If these endpoints lack authorization, predictable filenames, or expiry, sensitive data can be downloaded by unauthorized users.
Authorization and short-lived access keep exported data from becoming a permanent public artifact.
grep -RIE "(download|export|csv|fileFactory|create\()" app/code 2>/dev/null
# Check for ACL/customer ownership before file response
https://mystore.com/export/orders.csv
# Public static export with customer data → FAIL
Export generated outside webroot, requires ACL, expires after 10 minutes, and is deleted after download.
# Controlled export → PASS