Fix · Express / Node
Fix “Payment-page script integrity” on Express / Node
Review the changed/added scripts, remove anything unauthorised, add SRI, and re-baseline. Investigate unexpected additions as a possible compromise.
No server-level snippet for this control on Express / Node; apply the guidance below.
Verify the fix
Re-run the Payment-page script integrity check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.
Other stacks: nginx · Apache · Caddy · Cloudflare