From 5bde9d6332b151abf8282c0488a055331c2ead1d Mon Sep 17 00:00:00 2001 From: Maciej Lew Date: Wed, 20 May 2026 11:43:59 +0200 Subject: [PATCH] Add explicit read-only permissions to CI workflow to mitigate GITHUB_TOKEN exposure risk identified in CVE-2026-45793. --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9385edd..e5ea526 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,6 +10,9 @@ on: - main - master +permissions: + contents: read + jobs: tests: name: PHP ${{ matrix.php }}