Skip to content

Release 6.12.0: security hardening - #428

Merged
david-ruiz-cko merged 1 commit into
masterfrom
release/6.12.0
Dec 2, 2026
Merged

david-ruiz-cko merged 1 commit into
masterfrom
release/6.12.0

Conversation

@david-ruiz-cko

Copy link
Copy Markdown
Contributor

Summary

Security hardening of the SDK builders, credentials, API client, error handling and several clients. No public signature changes.

Changes

  • lib/Checkout/ApiClient.php: security hardening, input validation of request headers and improved error handling.
  • lib/Checkout/SdkAuthorization.php: security hardening and input validation.
  • lib/Checkout/CheckoutUtils.php: new internal describeFailure helper for error messages and log lines.
  • lib/Checkout/OAuthSdkCredentials.php: security hardening and improved error handling; parameter docs typed.
  • lib/Checkout/AbstractStaticKeysCheckoutSdkBuilder.php: security hardening and input validation.
  • lib/Checkout/CheckoutAuthorizationException.php: invalidAuthorization names only known authorization types.
  • lib/Checkout/CheckoutApiException.php, lib/Checkout/CheckoutConfiguration.php, lib/Checkout/OAuthAccessToken.php, lib/Checkout/AbstractStaticKeysSdkCredentials.php, lib/Checkout/StaticKeysSdkCredentials.php, lib/Checkout/Previous/PreviousStaticKeysSdkCredentials.php, lib/Checkout/Sessions/SessionSecretSdkCredentials.php: security hardening.
  • lib/Checkout/CheckoutOAuthSdkBuilder.php, lib/Checkout/CheckoutStaticKeysSdkBuilder.php, lib/Checkout/Previous/CheckoutStaticKeysPreviousSdkBuilder.php: security hardening.
  • lib/Checkout/CheckoutApi.php, lib/Checkout/Previous/CheckoutApi.php, lib/Checkout/Client.php: security hardening.
  • lib/Checkout/Sessions/SessionsClient.php, lib/Checkout/Issuing/IssuingClient.php, lib/Checkout/Forward/ForwardClient.php, lib/Checkout/Workflows/WorkflowsClient.php, lib/Checkout/Webhooks/Previous/WebhooksClient.php, lib/Checkout/AgenticCommerce/AgenticCommerceClient.php: security hardening.

@david-ruiz-cko
david-ruiz-cko requested a review from a team December 2, 2026 13:16
@agent-wall-e

agent-wall-e Bot commented Dec 2, 2026

Copy link
Copy Markdown

🟡 Risk Classification: MINOR

Approval route: AI Review + Human Approval
Rollback controls: Staged rollout + rollback

Classification reasons

  • no_low_class_matched
  • prod_source_modified

Operational gates

  • ✅ jira_ticket
  • ✅ independent_review

Files analysed: 2


wall-e 2026.06.19-02 · policy 6b4ce2b3b45a…

@agent-wall-e

agent-wall-e Bot commented Dec 2, 2026

Copy link
Copy Markdown
🔬 Debug — why this classification?

Each reason code emitted by the classifier, its source clause in the AI in SDLC Control Framework, and what it means.

Reason code Kind Clause Meaning
no_low_class_matched informational §2.2 (fall-through) None of the deterministic Low classes (§2.2.3, §2.2.4, §2.2.7, docs-only) applied; classifier fell through to LLM evaluation.
prod_source_modified informational §2.1 M7 (informational) At least one file is non-doc, non-test, non-IaC — i.e. application source code was modified.

Kinds:

  • classifying — this rule contributed to the chosen tier.
  • informational — context only; did not by itself decide the tier.

See issue #3 for the proposal to formalise this map as Appendix A of the standards doc.

wall-e 2026.06.19-02 · debug

@agent-wall-e

agent-wall-e Bot commented Dec 2, 2026

Copy link
Copy Markdown

🔵 Advisory review: Sound, but needs your judgement

This PR needs a human approval. The code itself reads as correct; whether it should land depends on context I don't have.

The diff only bumps the version string from 6.11.0 to 6.12.0 in two files, but the PR description claims extensive security hardening across many files — none of those changes appear in the diff.

For you to decide

  • The diff contains only version bumps in CheckoutUtils.php and version.json; none of the security hardening changes described (ApiClient.php, SdkAuthorization.php, OAuthSdkCredentials.php, etc.) are present.
  • A reviewer must determine whether this is an incomplete diff submission, a squashed/pre-merged branch, or whether the actual security changes were applied separately and this PR only tracks the version bump.
  • If the security hardening code is not yet merged or visible, approving this PR based solely on the diff would mean approving an untested, unreviewed version bump with no corresponding changes.

This is not an approval. wall-e cannot auto-approve this PR — it is an opinion to help whoever does. Advisory review · us.anthropic.claude-sonnet-4-6 · wall-e 2026.06.19-02

@sonarqubecloud

sonarqubecloud Bot commented Dec 2, 2026

Copy link
Copy Markdown

@david-ruiz-cko
david-ruiz-cko merged commit b0ac0a4 into master Dec 2, 2026
6 checks passed
@david-ruiz-cko
david-ruiz-cko deleted the release/6.12.0 branch December 2, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants