Overview
The supplied checkout path returns a successful same-origin no-redirect HTTPS GET with one unambiguous enforced Content-Security-Policy. The emitted policy explicitly defines script-src, connect-src, frame-src, form-action, object-src and base-uri; assessed sources contain no wildcard, unsafe-inline, unsafe-eval or broad scheme-only source. object-src is exactly none, base-uri is exactly none or self, and reporting is present when configured. Report-only alone fails; redirect/inaccessible checkout, multiple policies, unsupported syntax or incomplete collection remain UNKNOWN.
Why it Matters
Checkout pages execute scripts and send data to multiple parties, so broad CSP sources can weaken the intended payment-page boundary. Runtime inspection confirms the policy actually emitted at the named path.
A valid observed policy still needs compatibility and broader flow review; it does not certify the payment system.
Verification Steps
Manual Verification
- Inspect the named no-redirect checkout response and require one unambiguous enforced CSP.
- Review script-src, connect-src, frame-src, form-action, object-src and base-uri, including prohibited broad sources and configured reporting.
- Review nonce/provider compatibility with controlled payment flows.
Command / Review Sample
curl --max-time 10 -sS -D - -o /dev/null https://store.example/checkout/
# Illustrative directive subset only, not a complete checkout policy:
# object-src 'none'; base-uri 'self'
Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.
Remediation / Fix Guidance
- Inspect the actual enforced CSP response on the named checkout URL. Configure the installed Magento CSP modules and applicable edge/server response rules to emit the stated explicit directive baseline; replace broad script origins and inline/eval dependencies with supported nonce/hash or external script integration after compatibility testing. Report-only does not satisfy this rule.
- Exercise each applicable payment provider and checkout flow in staging before enforcement. Retrieve the same named checkout page without a login/cart redirect and rerun. Multiple policies or unavailable checkout context must be resolved rather than merged optimistically.
- Rerun MB-0802 against the same release, profile and relevant file/key/package scope; compare the new evidence and inspect any independent collection gaps.
Examples
Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.
Fail Example
The observed enforced policy permits unsafe-inline or lacks a required explicit directive.
Pass Example
The one observed enforced policy has all required constrained directives, exact object/base restrictions and configured reporting.
Scope and Evidence Limits
Rule revision: 1. Target modes: LOCAL, REMOTE.
The supplied checkout path returns a successful same-origin no-redirect HTTPS GET with one unambiguous enforced Content-Security-Policy. The emitted policy explicitly defines script-src, connect-src, frame-src, form-action, object-src and base-uri; assessed sources contain no wildcard, unsafe-inline, unsafe-eval or broad scheme-only source. object-src is exactly none, base-uri is exactly none or self, and reporting is present when configured. Report-only alone fails; redirect/inaccessible checkout, multiple policies, unsupported syntax or incomplete collection remain UNKNOWN.
A redirect because no cart/session exists is UNKNOWN, not missing-CSP FAIL. Only named response is assessed; no checkout-wide or full browser execution guarantee. No state-changing requests, login, purchase or retained cookie/body content. Conservative explicit baseline can flag supported nonce plus unsafe-inline compatibility policy; title/criterion state exact Magebean policy, not universal CSP security judgment. Original historical criterion and ID remain in the engineering backlog; this new ID records only its exact supported observation.
Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.