Skip to content

ci: add top-level read-only permissions to CI workflows - #1332

Open
sunitaprajapati89 wants to merge 3 commits into
masterfrom
fix/proxy-addr-curation-block
Open

sunitaprajapati89 wants to merge 3 commits into
masterfrom
fix/proxy-addr-curation-block

Conversation

@sunitaprajapati89

Copy link
Copy Markdown
Contributor

ci.yml, e2e-tests.yml and publish-e2e-cli.yml did not declare a
permissions: block, so GITHUB_TOKEN inherited the repo/org default
(read-write across all scopes). A compromised step or dependency install
script could have pushed commits, tampered with tags/releases, or
manipulated issues and PRs.

Set permissions: contents: read at the top level of all three. The
ci.yml jobs keep their existing job-level id-token: write for
Artifactory OIDC; e2e-tests checks out the sibling repo with a dedicated
PAT and publish-e2e-cli only uploads an artifact, so neither needs more
than read.

Sunita Prajapati and others added 3 commits September 18, 2026 15:42
CVE-2026-90711 (CVSS 9.1) was published against proxy-addr 2.0.7, and
Artifactory's security-block-critical-cve-cvss-9-to-10 policy now refuses
to serve that tarball. Every CI run fails at the install step as a result,
regardless of what the branch changes. The last green build was 2026-09-09.

express 4.22.1 already declares proxy-addr as ~2.0.7, which permits 2.0.8,
so this is a lockfile re-resolution rather than a dependency bump. No
package.json changes and no express upgrade are needed.

proxy-addr reaches the graph only through express in examples/e2e-shared,
so no published package was ever affected.
@sunitaprajapati89 sunitaprajapati89 changed the title Fix/proxy addr curation block fix(deps): resolve proxy-addr to 2.0.8 to clear curation block Sep 23, 2026
@sunitaprajapati89 sunitaprajapati89 changed the title fix(deps): resolve proxy-addr to 2.0.8 to clear curation block ci: add top-level read-only permissions to CI workflows Sep 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant