What problem does it solve? Payment pages are the highest-value target for Magecart-style card skimming attacks, and a single XSS vulnerability can expose thousands of card numbers. This Skill guides you through enforcing HTTPS, configuring strict Content Security Policies, isolating third-party scripts, and tokenizing card data so your servers never touch raw payment details. ## Core Features & Use Cases - Platform-Specific Hardening: Step-by-step checkout security setup for Shopify, WooCommerce, BigCommerce, and custom/headless storefronts. - Security Headers & CSP: Implement HSTS, X-Frame-Options, nonce-based Content Security Policy in Next.js middleware, and CSP violation reporting endpoints. - Payment Tokenization & Validation: Integrate Stripe Elements to keep card data off your server and validate checkout input with Zod schemas. - Use Case: After a penetration test flags missing headers on your Next.js checkout, use this Skill to add global security headers, a per-request nonce CSP compatible with Stripe iframes, and a CSP report endpoint that alerts on checkout-page violations. ## Quick Start Ask the AI to audit and harden your checkout flow by adding HTTPS enforcement, a nonce-based Content Security Policy, Stripe Elements tokenization, and removal of non-essential third-party scripts from payment pages.