Skip to content

chore: fill or remove RSR template placeholders - #9

Merged
hyperpolymath merged 4 commits into
mainfrom
fix/rsr-placeholders
Jul 28, 2026
Merged

chore: fill or remove RSR template placeholders#9
hyperpolymath merged 4 commits into
mainfrom
fix/rsr-placeholders

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

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\nWhere 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.

hyperpolymath and others added 4 commits July 26, 2026 14:48
openssf-compliance.yml fails when any of the thirteen files it checks
still contains a {{PLACEHOLDER}} token. This clears them.

Three kinds of change, no invention:

The "TEMPLATE INSTRUCTIONS (delete this block before publishing)" comment
is deleted. The template says to delete it, and it is where every legend
line lives -- so a large share of the reported tokens were the file
documenting its own placeholders, not real unfilled fields.

Tokens derivable from the repository are filled: owner and repo from the
git remote, project name, year, forge, main branch, contact email.

PGP and website lines are removed rather than filled, because nothing
true could go in them. https://github.com/<user>.gpg returns HTTP 200 for
every account; with no key uploaded the body is a stub reading "This user
hasnt uploaded any GPG keys". No key is published for either account
here, and commit signing in this estate is SSH, which is unrelated. Only
one repository in the estate has a domain, so {{WEBSITE}} likewise has no
correct value. The template sanctions this: "Optional: Remove sections
that dont apply (e.g. PGP if you dont use it)." A security policy telling
a researcher to encrypt to a key that does not exist is worse than one
that does not mention encryption.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
A previous `just init` copied already-filled templates out of
squisher-corpus, so the identity landed in the BODY of the security
policy, not only in the legend block. burble/SECURITY.md directed
vulnerability reports to hyperpolymath/squisher-corpus, and 50 other
repositories did the same.

This is not cosmetic. A researcher who follows the policy files their
report against a repository that has nothing to do with the code they
were looking at, and the maintainer of the project actually affected
never sees it.

Repointed at this repository, derived from its own git remote. Also
rewords the prose that says "replace {{PLACEHOLDER}} tokens"; that is
documentation of the mechanism rather than an unfilled field, but the
OpenSSF gate greps for the token and cannot tell the difference -- the
same trap the Slavia Mustfile already records for its own probe.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread CONTRIBUTING.md
Comment thread CODE_OF_CONDUCT.md
Comment thread CODE_OF_CONDUCT.md
Comment thread SECURITY.md
@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

CI failed: CI failed because a GitHub Actions workflow references an invalid or inaccessible commit SHA for the CodeQL action.

Overview

1 unique configuration failure found across 1 analyzed log. The build failed due to an unresolved commit SHA in a GitHub Actions workflow file.

Failures

Unresolvable CodeQL Action Version (confidence: high)

  • Type: configuration
  • Affected jobs: 90326902449
  • Related to change: yes
  • Root cause: The workflow references github/codeql-action@29b1f65c1f735799893313399435a59f54045865, but this commit SHA or tag cannot be found or accessed by the runner.
  • Suggested fix: Update the GitHub Actions workflow file to use a valid, existing tag, branch, or commit SHA for github/codeql-action (such as @v3 or a valid recent commit hash).

Summary

  • Change-related failures: 1 configuration failure due to an invalid CodeQL action reference.
  • Infrastructure/flaky failures: None.
  • Recommended action: Update the workflow file with a valid version or commit SHA for github/codeql-action.
Code Review ✅ Approved 4 resolved / 4 findings

Fills RSR template placeholders and corrects misrouted advisory URLs across security policies, but leaves CONTRIBUTING.md truncated with broken markdown, CODE_OF_CONDUCT.md with unremoved template instructions and wrong project names, and SECURITY.md advertising a nonexistent PGP key.

✅ 4 resolved
Quality: CONTRIBUTING.md is a truncated fragment with broken markdown

📄 CONTRIBUTING.md:1-15 📄 CONTRIBUTING.md:111-116
The file begins with # Clone the repository followed by raw shell commands and no opening code fence, then an orphan closing at line 16; it also ends abruptly at line 116 inside an unterminated code block (fence opened at line 111 never closed). The document is missing its title, intro, and trailing content, so it renders as broken markdown. Restore the full file: wrap the setup commands in a properbash fenced block, add the missing header/introduction, and close the final code fence.

Bug: CODE_OF_CONDUCT.md names wrong project/repo (squisher-corpus)

📄 CODE_OF_CONDUCT.md:25 📄 CODE_OF_CONDUCT.md:313
The pledge (line 25) still reads "Squisher Corpus" and the Discussions link (line 313) points to https://github.com/hyperpolymath/squisher-corpus/discussions instead of this repository (network-outpost). This is exactly the misrouting the PR claims to fix, but it remains in this file — readers are directed to an unrelated repository. Replace "Squisher Corpus" with the project name and repoint the discussions URL to hyperpolymath/network-outpost.

Bug: SECURITY.md still advertises a nonexistent PGP key

📄 SECURITY.md:43-56 📄 SECURITY.md:45 📄 SECURITY.md:355
The PR summary says PGP/website lines were removed because no key is published, yet SECURITY.md still instructs researchers to download and encrypt to https://github.com/hyperpolymath.gpg (lines 44,49,55,355) with Fingerprint TBD (line 45). This is the exact anti-pattern the PR argues against: telling a reporter to encrypt to a key that does not exist. Remove the "Encrypted Email" PGP subsection (lines 37-56), the PGP fingerprint row, and the "Our PGP Public Key" resource link (line 355), or supply a real published key and fingerprint.

Bug: CODE_OF_CONDUCT.md still contains the TEMPLATE INSTRUCTIONS block

📄 CODE_OF_CONDUCT.md:3-17
The PR summary states the TEMPLATE INSTRUCTIONS (delete this block before publishing) comment was deleted, but it is still present at lines 3-21 and even contains the literal token {{PLACEHOLDER}} on line 7. This defeats the stated purpose of clearing placeholder tokens (any compliance scan for {{PLACEHOLDER}} would still match here). Delete lines 3-21.

Tip

Comment Gitar fix CI to trigger a fix.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@hyperpolymath
hyperpolymath merged commit 1d2d698 into main Jul 28, 2026
1 of 3 checks passed
@hyperpolymath
hyperpolymath deleted the fix/rsr-placeholders branch July 28, 2026 17:03
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