Repository navigation
fix(security): bump guzzle past advisories and add export-ignore rules [SEC-2534] - #107
Open
oliverlaz wants to merge 2 commits into
Conversation
…s [SEC-2534] - Raise guzzlehttp/guzzle to ^7.15.2 and squizlabs/php_codesniffer to ^3.13.6 and refresh composer.lock; `composer audit` reports no advisories. - Add .gitattributes so dist archives ship only src/, composer.json and the user-facing docs, without tests, CI config, codegen or dev tooling.
oliverlaz
marked this pull request as ready for review
November 25, 2026 12:39
This branch has not been deployed
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.
Part of SEC-2534 (SEC-22: lockfile/dependency hygiene).
Changes
guzzlehttp/guzzle:^7.0→^7.15.2. Clears the 9 guzzle advisories (CVE-2026-69246/69245/67354/67355/67353/59883/67339/55767/55568). Guzzle 7.15.2+ needs a patchedguzzlehttp/psr7, which clears the 4 psr7 advisories; the SDK doesn't use psr7 directly, so it isn't added as a direct requirement.squizlabs/php_codesniffer(dev):^3.7→^3.13.6(CVE-2026-67434).composer.lockrefreshed withcomposer update(all minor/patch: guzzle 7.17.0, psr7 2.13.6, php-jwt 7.2.2, phpdotenv 5.8.1, phpunit 10.5.67, phpstan 1.12.34).composer auditreports no advisories (it reported 14 before)..gitattributeswithexport-ignorefor tests,phpunit.xml,.github/, release-please config, codegen (generate.sh,.spec-version,composer-generated.json), dev tooling (Makefile,lint.sh,phpstan.neon,.env.example,.gitignore),docs/andcomposer.lock. Dist archives now containsrc/,composer.json, README, CHANGELOG, SECURITY and the migration guides (checked withgit archive).composer.lock for a library
I kept it committed. Composer ignores a library's lock when it's installed as a dependency, so it only pins CI and local dev. That gives reproducible CI and lets Dependabot track it. It's now kept out of the dist archive. The trade-off is that CI only tests the locked versions; a
composer update --prefer-lowestleg would also check the declared floors (possible follow-up).Verification
phpstan analyseclean,phpunit tests --exclude-group integration: 336 tests OK.composer validatepasses (only the existing "version field present" warning).Notes
composer.jsonsays MIT; worth adding separately.