diff --git a/skills/compliance/pci-dss-review/SKILL.md b/skills/compliance/pci-dss-review/SKILL.md index c83c065c..00d4cfda 100644 --- a/skills/compliance/pci-dss-review/SKILL.md +++ b/skills/compliance/pci-dss-review/SKILL.md @@ -13,7 +13,7 @@ phase: [assess, operate] frameworks: [PCI-DSS-v4.0] difficulty: advanced time_estimate: "90-180min" -version: "1.0.0" +version: "1.0.1" author: unitoneai license: MIT allowed-tools: Read, Grep, Glob @@ -232,6 +232,55 @@ Key sub-requirements: - **6.4.3**: All payment page scripts managed, authorized, integrity assured (new v4.0) - **6.5.1-6.5.6**: Change management procedures: impact documented, authorized, functionality tested, rollback procedures, separation of duties +##### E-Commerce Payment Page Script Gate (Req 6.4.3 and 11.6.1) + +For SAQ A, SAQ A-EP, hosted payment fields, embedded iframes, redirect flows, checkout SPAs, and tag-manager-based payment pages, do not assume that outsourcing payment processing removes payment-page script obligations. PCI DSS v4.0 requires payment page scripts to be inventoried, authorized, justified, and integrity-protected, and requires mechanisms to detect unauthorized payment-page changes. + +**Evidence to collect:** + +``` +# Locate payment page and checkout surfaces +Grep: "checkout|payment|card|pan|iframe|hosted.fields|stripe|adyen|braintree|paypal|cybersource|worldpay" in **/*.{html,js,ts,tsx,jsx,vue,svelte,md} + +# Locate third-party script injection and tag managers +Grep: "