Skip to content

Commit 6fbc77e

Browse files
chore: fill or remove RSR template placeholders (#51)
`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 3f1a395 commit 6fbc77e

18 files changed

Lines changed: 31 additions & 205 deletions

.github/GOVERNANCE.md

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

.github/SECURITY.md

Lines changed: 10 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
# Security Policy
22

3-
<!--
4-
============================================================================
5-
TEMPLATE INSTRUCTIONS (delete this block before publishing)
6-
============================================================================
7-
Replace all {{PLACEHOLDER}} values with your information:
8-
{{PROJECT_NAME}} - Your project name
9-
{{OWNER}} - GitHub username or org (e.g., hyperpolymath)
10-
{{REPO}} - Repository name
11-
{{SECURITY_EMAIL}} - Security contact email
12-
{{PGP_FINGERPRINT}} - Your PGP key fingerprint (40 chars, no spaces)
13-
{{PGP_KEY_URL}} - URL to your public PGP key
14-
{{WEBSITE}} - Your website/domain
15-
{{CURRENT_YEAR}} - Current year for copyright
16-
17-
Optional: Remove sections that don't apply (e.g., PGP if you don't use it)
18-
============================================================================
19-
-->
20-
213
We take security seriously. We appreciate your efforts to responsibly disclose vulnerabilities and will make every effort to acknowledge your contributions.
224

235
## Table of Contents
@@ -40,7 +22,7 @@ We take security seriously. We appreciate your efforts to responsibly disclose v
4022

4123
The preferred method for reporting security vulnerabilities is through GitHub's Security Advisory feature:
4224

43-
1. Navigate to [Report a Vulnerability](https://github.com/{{OWNER}}/{{REPO}}/security/advisories/new)
25+
1. Navigate to [Report a Vulnerability](https://github.com/hyperpolymath/methodologies/security/advisories/new)
4426
2. Click **"Report a vulnerability"**
4527
3. Complete the form with as much detail as possible
4628
4. Submit — we'll receive a private notification
@@ -58,20 +40,8 @@ If you cannot use GitHub Security Advisories, you may email us directly:
5840

5941
| | |
6042
|---|---|
61-
| **Email** | {{SECURITY_EMAIL}} |
62-
| **PGP Key** | [Download Public Key]({{PGP_KEY_URL}}) |
63-
| **Fingerprint** | `{{PGP_FINGERPRINT}}` |
64-
65-
```bash
66-
# Import our PGP key
67-
curl -sSL {{PGP_KEY_URL}} | gpg --import
43+
| **Email** | jonathan.jewell@gmail.com |
6844

69-
# Verify fingerprint
70-
gpg --fingerprint {{SECURITY_EMAIL}}
71-
72-
# Encrypt your report
73-
gpg --armor --encrypt --recipient {{SECURITY_EMAIL}} report.txt
74-
```
7545

7646
> **⚠️ Important:** Do not report security vulnerabilities through public GitHub issues, pull requests, discussions, or social media.
7747
@@ -203,7 +173,7 @@ If we cannot reach agreement on disclosure timing, we default to 90 days from yo
203173

204174
The following are within scope for security research:
205175

206-
- This repository (`{{OWNER}}/{{REPO}}`) and all its code
176+
- This repository (`hyperpolymath/methodologies`) and all its code
207177
- Official releases and packages published from this repository
208178
- Documentation that could lead to security issues
209179
- Build and deployment configurations in this repository
@@ -322,7 +292,7 @@ Recognition includes:
322292
To stay informed about security updates:
323293

324294
- **Watch this repository**: Click "Watch" → "Custom" → Select "Security alerts"
325-
- **GitHub Security Advisories**: Published at [Security Advisories](https://github.com/{{OWNER}}/{{REPO}}/security/advisories)
295+
- **GitHub Security Advisories**: Published at [Security Advisories](https://github.com/hyperpolymath/methodologies/security/advisories)
326296
- **Release notes**: Security fixes noted in [CHANGELOG](CHANGELOG.md)
327297

328298
### Update Policy
@@ -348,7 +318,7 @@ To stay informed about security updates:
348318

349319
## Security Best Practices
350320

351-
When using {{PROJECT_NAME}}, we recommend:
321+
When using methodologies, we recommend:
352322

353323
### General
354324

@@ -370,8 +340,7 @@ When using {{PROJECT_NAME}}, we recommend:
370340

371341
## Additional Resources
372342

373-
- [Our PGP Public Key]({{PGP_KEY_URL}})
374-
- [Security Advisories](https://github.com/{{OWNER}}/{{REPO}}/security/advisories)
343+
- [Security Advisories](https://github.com/hyperpolymath/methodologies/security/advisories)
375344
- [Changelog](CHANGELOG.md)
376345
- [Contributing Guidelines](CONTRIBUTING.md)
377346
- [CVE Database](https://cve.mitre.org/)
@@ -383,8 +352,8 @@ When using {{PROJECT_NAME}}, we recommend:
383352

384353
| Purpose | Contact |
385354
|---------|---------|
386-
| **Security issues** | [Report via GitHub](https://github.com/{{OWNER}}/{{REPO}}/security/advisories/new) or {{SECURITY_EMAIL}} |
387-
| **General questions** | [GitHub Discussions](https://github.com/{{OWNER}}/{{REPO}}/discussions) |
355+
| **Security issues** | [Report via GitHub](https://github.com/hyperpolymath/methodologies/security/advisories/new) or jonathan.jewell@gmail.com |
356+
| **General questions** | [GitHub Discussions](https://github.com/hyperpolymath/methodologies/discussions) |
388357
| **Other enquiries** | See [README](README.md) for contact information |
389358

390359
---
@@ -399,8 +368,8 @@ This security policy may be updated from time to time. Significant changes will
399368

400369
---
401370

402-
*Thank you for helping keep {{PROJECT_NAME}} and its users safe.* 🛡️
371+
*Thank you for helping keep methodologies and its users safe.* 🛡️
403372

404373
---
405374

406-
<sub>Last updated: {{CURRENT_YEAR}} · Policy version: 1.0.0</sub>
375+
<sub>Last updated: 2026 · Policy version: 1.0.0</sub>

.github/workflows/boj-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ jobs:
3131
-d "{\"repo\": \"${{ github.repository }}\", \"branch\": \"${{ github.ref_name }}\", \"engine\": \"casket\"}" \
3232
|| echo "BoJ server unreachable — skipping (non-fatal)"
3333
permissions:
34+
actions: read
3435
contents: read

.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/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/dependabot-automerge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ on:
4141
types: [opened, reopened, synchronize]
4242

4343
permissions:
44+
actions: read
4445
contents: write # needed to enable auto-merge
4546
pull-requests: write # needed to approve
4647
# 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/hypatia-scan.yml

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

1313
permissions:
14+
actions: read
1415
contents: read
1516
security-events: write
1617

.github/workflows/instant-sync.yml

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

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

1415
jobs:

0 commit comments

Comments
 (0)