Skip to content

ci: two pre-existing reds on main — Static Analysis Gate (Hypatia CWE-494 ×2 in setup.sh) and Well-Known Standards (security.txt under www/.well-known, validator reads the root) #117

Description

@hyperpolymath

Measured (2026-09-22, main = 1fa506c)

  • Static Analysis Gate → job Hypatia neurosymbolic scan is red on main since run 35602727566 (2026-09-21) and on every PR since, including the docs-only docs(type-connections): re-cite the residual receipt at run 35781018563 #116 (run 35781568819): [hypatia] Download-and-execute pattern (curl|wget pipe to shell) -- verify integrity before execution (2 occurrences, CWE-494); the step Fail on critical security findings exits 1. The two live sites are setup.sh:144 and setup.sh:156, both curl -fsSL https://just.systems/install.sh | bash -s -- --to /usr/local/bin (setup.sh:9 carries the same pattern inside a comment). The two Hardcoded /tmp/ paths findings are warnings and do not fail the job.
  • Well-Known Standards (RFC 9116 + RSR) (.github/workflows/wellknown-enforcement.yml) is red on its 2026-09-22 schedule run 35709252948: No security.txt found. The validator tests .well-known/security.txt and security.txt at the repository root; the file lives at www/.well-known/security.txt (beside ai.txt and humans.txt). The workflow's push/pull_request paths: filters name only .well-known/** and security.txt, so no PR exercises it and the reds are the schedule runs.
  • Merge posture (re-measured 2026-09-22T21Z): ruleset Optimus-Branch (15402968) requires CodeQL, CodeRabbit, SonarCloud Code Analysis and governance / Code quality + docs (all green on docs(type-connections): re-cite the residual receipt at run 35781018563 #116; commit signature valid, CodeRabbit approved, 0 unresolved threads) and carries a code_scanning rule naming CodeQL, Hypatia and Scorecard (thresholds all/all). scorecard.yml runs on schedule and workflow_dispatch only, so no PR ref ever carries a Scorecard analysis (merge ref of docs(type-connections): re-cite the residual receipt at run 35781018563 #116: CodeQL 1, Hypatia 1, Scorecard 0) and the rule cannot pass on any PR. The rule-suite history confirms it: all 8 pushes to main in the last month (latest 1fa506c8, 61421562, 744d9f58) are recorded as bypass by the owner, each with code_scanning: fail ("Code scanning is waiting for results from CodeQL for the commits …"). The 33 open Hypatia alerts are NOT what blocks docs(type-connections): re-cite the residual receipt at run 35781018563 #116: its check reads "No new alerts in code changed by this pull request", and the 33 alert numbers on the merge ref are exactly main's.
  • Rescope + instantiate the repo: resolve identity (OQ-001), fill template placeholders, fix CI (gitleaks/openssf/hypatia red) #32 (2026-06-05) names "hypatia red" generically; this issue is the current, specific red.

Acceptance criteria

  1. setup.sh:144 and setup.sh:156 no longer pipe a network fetch into a shell: just is installed from a pinned release whose checksum is verified before anything executes, or from the distribution package; the setup.sh:9 comment stops advertising the pattern. Static Analysis Gate is green on main with zero critical findings in hypatia-findings.json (the warning count is reported, not gated).
  2. Two validators read one tree and disagree: governance / Well-Known (RFC 9116 + RSR) is green on docs(type-connections): re-cite the residual receipt at run 35781018563 #116 (run 35781569687, step RFC 9116 security.txt validation succeeded) while wellknown-enforcement.yml reports No security.txt found. First decide the canonical layout (root .well-known/security.txt per RFC 9116 §3, or the www/.well-known/ publish tree), then make BOTH validators test that path and extend the workflow's paths: filters to cover it. Green = a workflow_dispatch run of wellknown-enforcement.yml succeeds on main while the governance job stays green on the same commit.
  3. The code_scanning rule is satisfiable on a PR without bypass: its tool list is re-scoped to the tools that analyse PR refs (CodeQL, Hypatia), Scorecard staying a default-branch scorer, or Scorecard is made to publish results for PR refs. Green = a rule-suite entry for a main push with result: pass (not bypass) and code_scanning: pass. Owner decision D84 on Owner decision sheet D1–D72: one answerable place for #637 + #715 + #709 + #658 and this week's unfiled decisions standards#787.
  4. docs(type-connections): re-cite the residual receipt at run 35781018563 #116 merges only after 1–3 hold, or by the owner's own bypass recorded here. No merge over red.

Refs #32, #116.

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions