T09 · Insecure Skill Coding Practices
- Location
scripts/shopify-checkout.mjs:43- Finding
Unvalidated Checkout Destination Can Receive Payment Card Data and Buyer PII
- Content
View full analysis
{ const frame = page.frames().find(f => f.url().includes(urlPart)); if (frame) { await frame.fill(selector, value); return true; } return false; }; await fillFrame('number-ltr', '#number', cardNumber); await fillFrame('name-ltr', '#name', BUYER.cardName); await fillFrame('expiry-ltr', '#expiry', cardExp); await fillFrame('verification_value-ltr', '#verification_value', cardCvc); ``` ### Technical Analysis The checkout destination is derived directly from the caller-controlled `storeDomain`. The implementation does not parse and validate ...[truncated 2712 chars]- Remediation
View remediation
