Pro Packagev1.18.0
shieldci/laravel-pro v1.18.0
Changed
- •
cashier-securityreports an unprotected webhook route at its own line, not an enclosing group, comment or Cashier route above, so its High finding rehashes and failsfail_on: highif baselined (#500) - •
cashier-securityreads the webhook secret's env name fromconfig/cashier.php, so an API key there is Critical instead of a High missing secret, failingfail_on: highif baselined (#500) - •
cashier-securityreports anenv()default Stripe key in aviews/*.phpfile as a PHP key, so its Critical finding rehashes and failsfail_on: highif baselined (#500, #501) - •
cashier-securityreports a nullsafe?->charge()at its own line instead of line 1, so its Medium finding rehashes (#500)
Fixed
- •
lazy-collection-opportunityno longer reportschunk()on an in-memory collection, such ascollect()orCollection::make(), as a large query chunk (#499) - •
lazy-collection-opportunitytreatswhere('id', $x)->get()as bounded, likewhereKey($x), rather than reporting an unpaginatedget()(#499) - •
cashier-securityno longer reports a webhook route to Cashier's ownWebhookController, which appliesVerifyWebhookSignatureitself (#500) - •
cashier-securityno longer reports a webhook route that appliesVerifyWebhookSignaturethrough a middleware alias (#500) - •
cashier-securityno longer reports a commented-out webhook route or a webhook URI outside a route registration, such asURL::to()(#500) - •
cashier-securityno longer reports the webhook secret missing whenconfig/cashier.phpreads it from another env name or fromconfig()(#500) - •
cashier-securityno longer reports an API key in an env variable the webhook config does not read (#500) - •
cashier-securityno longer reads the line after an emptySTRIPE_WEBHOOK_SECRET=in.envas its value (#500) - •
cashier-securityreports an unprotected webhook route once, not twice, when the base path is a symlink (#500) - •
cashier-securityno longer also reports a Stripe key in aviews/*.phpfile as a frontend key, beside its PHP key finding (#500) - •
cashier-securityno longer treats a comment or Cashier Paddle'signoreRoutes()as opting out of Cashier's webhook route (#500) - •
cashier-securityreports an unprotected webhook route whenVerifyWebhookSignatureappears only in a comment or unused import, which fails a defaultfail_on: highbuild (#500) - •
cashier-securityreports an unhandled billing call whenIncompletePaymentappears only in a comment or unused import (#500) - •
cashier-securityreports the webhook secret as not configured when it is commented out inconfig/cashier.phpor empty in.env, which fails a defaultfail_on: highbuild (#500) - •
cashier-securityreports a missing webhook route whenCashier::ignoreRoutes()is called through an aliased import (#500) - •
cashier-securityreports a nullsafe?->newSubscription()->create()withoutIncompletePaymenthandling (#500) - •
cashier-securityreports a Stripe key given as anenv()default, or beside anenv()call on the same line, which fails a defaultfail_on: highbuild (#501) - •
cashier-securityreportsredirectToBillingPortal()given user input as an open redirect, which fails a defaultfail_on: highbuild (#501)