Skip to content

Commit 4294df2

Browse files
hyperpolymathclaudemistral-vibe
authored
chore: fill or remove RSR template placeholders (#53)
`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> Co-authored-by: Mistral Vibe <vibe@mistral.ai>
1 parent 6760a17 commit 4294df2

34 files changed

Lines changed: 40 additions & 457 deletions

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,6 @@ indent_size = 2
6363
indent_style = space
6464
indent_size = 4
6565

66+
[justfile]
67+
indent_style = space
68+
indent_size = 4

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*.hs text eol=lf
1717
*.chpl text eol=lf
1818
*.scm text eol=lf
19-
*.a2ml text eol=lf linguist-language=TOML
2019
*.ncl text eol=lf
2120
*.nix text eol=lf
2221

@@ -34,7 +33,7 @@
3433
# Config
3534
.gitignore text eol=lf
3635
.gitattributes text eol=lf
37-
Justfile text eol=lf
36+
justfile text eol=lf
3837
Makefile text eol=lf
3938
Containerfile text eol=lf
4039

.github/GOVERNANCE.md

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

.github/SECURITY.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,6 @@ Copyright (c) Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>
44
-->
55
# Security Policy
66

7-
<!--
8-
============================================================================
9-
TEMPLATE INSTRUCTIONS (delete this block before publishing)
10-
============================================================================
11-
Replace all {{PLACEHOLDER}} values with your information:
12-
Proof Burrower - Your project name
13-
hyperpolymath - GitHub username or org (e.g., hyperpolymath)
14-
proof-burrower - Repository name
15-
j.d.a.jewell@open.ac.uk - Security contact email
16-
{{PGP_FINGERPRINT}} - Your PGP key fingerprint (40 chars, no spaces)
17-
{{PGP_KEY_URL}} - URL to your public PGP key
18-
https://github.com/hyperpolymath/proof-burrower - Your website/domain
19-
2026 - Current year for copyright
20-
21-
Optional: Remove sections that don't apply (e.g., PGP if you don't use it)
22-
============================================================================
23-
-->
24-
257
We take security seriously. We appreciate your efforts to responsibly disclose vulnerabilities and will make every effort to acknowledge your contributions.
268

279
## Table of Contents
@@ -63,19 +45,7 @@ If you cannot use GitHub Security Advisories, you may email us directly:
6345
| | |
6446
|---|---|
6547
| **Email** | j.d.a.jewell@open.ac.uk |
66-
| **PGP Key** | [Download Public Key]({{PGP_KEY_URL}}) |
67-
| **Fingerprint** | `{{PGP_FINGERPRINT}}` |
68-
69-
```bash
70-
# Import our PGP key
71-
curl -sSL {{PGP_KEY_URL}} | gpg --import
7248

73-
# Verify fingerprint
74-
gpg --fingerprint j.d.a.jewell@open.ac.uk
75-
76-
# Encrypt your report
77-
gpg --armor --encrypt --recipient j.d.a.jewell@open.ac.uk report.txt
78-
```
7949

8050
> **⚠️ Important:** Do not report security vulnerabilities through public GitHub issues, pull requests, discussions, or social media.
8151
@@ -374,7 +344,6 @@ When using Proof Burrower, we recommend:
374344

375345
## Additional Resources
376346

377-
- [Our PGP Public Key]({{PGP_KEY_URL}})
378347
- [Security Advisories](https://github.com/hyperpolymath/proof-burrower/security/advisories)
379348
- [Changelog](CHANGELOG.md)
380349
- [Contributing Guidelines](CONTRIBUTING.md)

.github/workflows/boj-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
branches: [main, master]
1212
workflow_dispatch:
1313
permissions:
14+
actions: read
1415
contents: read
1516
jobs:
1617
trigger-boj:

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
cancel-in-progress: true
1717
permissions:
18+
actions: read
1819
contents: read
1920
jobs:
2021
analyze:

.github/workflows/dependabot-automerge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ on:
3939
pull_request:
4040
types: [opened, reopened, synchronize]
4141
permissions:
42+
actions: read
4243
contents: write # needed to enable auto-merge
4344
pull-requests: write # needed to approve
4445
# NB: keep narrow — do NOT add secrets: read or id-token: write here.

.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/governance.yml

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

1111
permissions:
12+
actions: read
1213
contents: read
1314

1415
jobs:

.github/workflows/guix-nix-policy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313
permissions:
14+
actions: read
1415
contents: read
1516
jobs:
1617
check:

0 commit comments

Comments
 (0)