Repository navigation
fix(security): remediate security-review-2026-12 findings and Sept re… - #48
Merged
Merged
Conversation
…siduals Closes all in-repo items from docs/compliance/security-review-2026-12.md (Priorities 0-2) and the residual findings from security-review-2026-09.md: - Auth: reset-token leak/enumeration, social token verification, SAML XML signature/XXE/XSW hardening, cross-tenant authz, RBAC org-policy scoping, token blacklist wiring, realm JWT separation, session fixation - App: error-detail redaction, audit mount order, signed-cookie decoding, pool error handler, session backends, secrets validation, /metrics gating, GraphQL complexity/persisted-query bypass, worker shutdown, CSRF origin checks + per-form synchronizer tokens, HPP body ordering - Business: webhook fail-closed, server-side pricing, safeFetch SSRF guard, checkout/webhook/SSO IDOR scoping, OIDC state/nonce/PKCE/JWKS, encrypted SSO secrets, order-tracking PII projection, EJS XSS sinks, payment adapter amount/signature fixes - Infra: AWS/Azure/GCP singleton workers + cron split, SQS enforceSSL, WAF/Armor rule gaps, private networking (Azure PG, GCP peering), Front Door Private Link path, DB server-cert verification via POSTGRES_SSL_CA, media origin support (MEDIA_BASE_URL), Docker/Ansible hardening, seed-filter wiring, ALB CloudFront prefix-list option Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…nt test client - docs/generated/openapi.json was stale after the security-review route and env changes, failing the docs-check CI job - createTestClient now sends Origin + Sec-Fetch-Site: same-origin so cookie-authenticated POSTs in integration tests pass the new CSRF origin/synchronizer-token layers, matching real browser form posts Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- hpp: dedupe only urlencoded bodies; JSON arrays were flattened to scalars causing mass 400/500s - basket: mount optionalCustomerAuth so Bearer-authed baskets bind customerId (fixes checkout.forbidden 403s) - agentic-checkout: propagate guestSessionId so ACP session-bound baskets pass the new ownership check - safeFetch: SAFE_FETCH_ALLOWED_PRIVATE_HOSTS env allowlist for private-network targets (dev/CI self-fetch) - identity: SOCIAL_VERIFY_STUB test bypass for provider token verification (never honored in production) - seeds: bind TEST_CHECKOUT_ID session to the test customer - tests: align int suites with hardened behavior — fresh-customer baskets, pending-approval 201s, auth headers, subtotalCents fields Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…siduals
Closes all in-repo items from docs/compliance/security-review-2026-12.md (Priorities 0-2) and the residual findings from security-review-2026-09.md: