Skip to content

Commit 68d5bf9

Browse files
committed
ci: pin competitive-verifier>=4.1.2; drop polyfill head-custom override
The CI setup action installed competitive-verifier unpinned. Older releases (incl. the locally used 3.3.1) ship _includes/head-custom.html with a https://polyfill.io/v3/polyfill.min.js script; that domain was sold in 2024 and serves malicious payloads. 4.1.2 removed it. Pin a >=4.1.2 floor in all setup steps so the polyfill-free version is guaranteed, and remove the now-redundant head-custom.html override.
1 parent 3884045 commit 68d5bf9

3 files changed

Lines changed: 12 additions & 19 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ jobs:
9191
- name: Set up competitive-verifier
9292
uses: adamant-pwn/actions/setup@patch-1
9393
with:
94+
# Floor pins the first release without the malicious polyfill.io
95+
# script (removed in competitive-verifier 4.1.2).
96+
package: "competitive-verifier>=4.1.2"
9497
cache-pip: false
9598

9699
- name: Docs

.github/workflows/verify.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
- name: Set up competitive-verifier
3333
uses: adamant-pwn/actions/setup@patch-1
3434
with:
35+
# Floor pins the first release without the malicious polyfill.io
36+
# script (removed in competitive-verifier 4.1.2).
37+
package: "competitive-verifier>=4.1.2"
3538
cache-pip: true
3639

3740
# Initialize your own environment for resolving.
@@ -119,6 +122,9 @@ jobs:
119122
- name: Set up competitive-verifier
120123
uses: adamant-pwn/actions/setup@patch-1
121124
with:
125+
# Floor pins the first release without the malicious polyfill.io
126+
# script (removed in competitive-verifier 4.1.2).
127+
package: "competitive-verifier>=4.1.2"
122128
cache-pip: true
123129
- name: Use GCC 14.2
124130
run: |
@@ -188,6 +194,9 @@ jobs:
188194
- name: Set up competitive-verifier
189195
uses: adamant-pwn/actions/setup@patch-1
190196
with:
197+
# Floor pins the first release without the malicious polyfill.io
198+
# script (removed in competitive-verifier 4.1.2).
199+
package: "competitive-verifier>=4.1.2"
191200
cache-pip: true
192201

193202
- name: Merge results

.verify-helper/docs/static/_includes/head-custom.html

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)