Skip to content

Commit 3ad51e1

Browse files
chore: fill or remove RSR template placeholders (#174)
`openssf-compliance.yml` fails when any of the thirteen files it checks still contains a `{{PLACEHOLDER}}` token. This clears them, with no invention. - **Deleted** the `TEMPLATE INSTRUCTIONS (delete this block before publishing)` comment — the template says to delete it, and it is where every legend line lived, so a large share of the reported tokens were the file documenting its own placeholders. - **Filled** what the repository itself supplies: owner and repo from the git remote, project name, year, forge, main branch, contact email. - **Removed** PGP and website lines. `https://github.com/<user>.gpg` returns HTTP 200 for every account; with no key uploaded the body is a stub reading *"This user hasn't uploaded any GPG keys"*. No key is published for either account, and commit signing here is SSH — unrelated. The template sanctions this: *"Optional: Remove sections that don't apply (e.g. PGP if you don't use it)."*\n\nA security policy telling a researcher to encrypt to a key that does not exist is worse than one that does not mention encryption.\n\n**Where applicable, this also fixes a misrouted advisory URL.** A previous `just init` copied already-filled templates out of `squisher-corpus`, so 51 repositories directed vulnerability reports to `hyperpolymath/squisher-corpus` — a repository unrelated to the code being reported, meaning the affected maintainer never saw them. Repointed from this repository's own git remote. --------- Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent db9f998 commit 3ad51e1

24 files changed

Lines changed: 23 additions & 297 deletions

.github/workflows/boj-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ jobs:
1717
curl -X POST "http://boj-server.local:7700/cartridges/ssg-mcp/invoke" -H "Content-Type: application/json" -d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\\"}"}
1818
continue-on-error: true
1919
permissions:
20+
actions: read
2021
contents: read

.github/workflows/bridge-forbidden-phrases.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ concurrency:
2424
group: ${{ github.workflow }}-${{ github.ref }}
2525
cancel-in-progress: true
2626
permissions:
27+
actions: read
2728
contents: read
2829
jobs:
2930
check:

.github/workflows/casket-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
workflow_dispatch:
88

99
permissions:
10+
actions: read
1011
contents: read
1112
pages: write
1213
id-token: write

.github/workflows/cflite_batch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
workflow_dispatch: # Manual trigger
1414

1515
permissions:
16+
actions: read
1617
contents: read
1718

1819
jobs:

.github/workflows/cflite_pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
- '.clusterfuzzlite/**'
1515

1616
permissions:
17+
actions: read
1718
contents: read
1819

1920
jobs:

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ concurrency:
1818
cancel-in-progress: true
1919

2020
permissions:
21+
actions: read
2122
contents: read
2223

2324
jobs:

.github/workflows/compilation_tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ on:
2121
- '.github/workflows/compilation_tests.yml'
2222

2323
permissions:
24+
actions: read
2425
contents: read
2526

2627
env:

.github/workflows/dogfood-gate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
branches: [main, master]
1414

1515
permissions:
16+
actions: read
1617
contents: read
1718

1819
jobs:

.github/workflows/echidna-validation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
workflow_dispatch:
1919

2020
permissions:
21+
actions: read
2122
contents: read
2223

2324
jobs:

.github/workflows/generator-generic-ossf-slsa3-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
# For more information about SLSA and how it improves the supply-chain, visit slsa.dev.
1313

1414
permissions:
15+
actions: read
1516
contents: read
1617

1718
name: SLSA generic generator

0 commit comments

Comments
 (0)