Repository navigation
fix: complete PR #219 reconciliation and governance hardening #242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
162545b
fix(clade): keep tip PD stable after drag-and-drop
hyperpolymath 3a2033f
ci: address governance and frontend quality findings
hyperpolymath 5ba4d73
docs: direct security reports to fork maintainer
hyperpolymath 45ab7b0
fix: keep historical secret scanning accurate
hyperpolymath df6de1e
ci: keep Scorecard SARIF off pull requests
hyperpolymath ed24c9c
test(clade): cover nested PD reaggregation
hyperpolymath File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # https://editorconfig.org | ||
|
|
||
| root = true | ||
|
|
||
| [*] | ||
| charset = utf-8 | ||
| end_of_line = lf | ||
| indent_style = space | ||
| indent_size = 2 | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
|
|
||
| [*.{jl,R,r,py}] | ||
| indent_size = 4 | ||
|
|
||
| [*.{md,adoc}] | ||
| trim_trailing_whitespace = false | ||
|
|
||
| [Makefile] | ||
| indent_style = tab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # Pinned reusable implementation; do not replace with a floating branch tag. | ||
| name: Scorecard | ||
|
|
||
| # Scorecard publishes SARIF for the default branch. Keep its required | ||
| # security-events upload permission off pull requests: otherwise Scorecard | ||
| # scans this caller, flags that necessary permission, and creates a blocking | ||
| # code-scanning check on its own security workflow. Scheduled and main-branch | ||
| # scans retain the findings without that self-referential PR gate. | ||
| on: | ||
| push: | ||
| branches: [main] | ||
| schedule: | ||
| - cron: '0 6 1 * *' | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| scorecard: | ||
| name: OpenSSF Scorecard | ||
| permissions: | ||
| actions: read | ||
| contents: read | ||
| security-events: write | ||
| id-token: write | ||
| uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # Full-history and working-tree secret scanning from the pinned estate reusable. | ||
| name: Secret Scanner | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| scan: | ||
| name: Secret history and working tree | ||
| permissions: | ||
| contents: read | ||
| uses: hyperpolymath/standards/.github/workflows/secret-scanner-reusable.yml@75bd5994470661a099df562d6d5ad2fe744dbd66 | ||
| # Deliberately no secrets: the pinned reusable declares and needs none. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # Repository-specific secret-scanning rules. The reusable stages the pinned | ||
| # estate baseline at this path; no path- or commit-wide exceptions are made. | ||
|
|
||
| [extend] | ||
| path = ".gitleaks-estate.toml" | ||
|
|
||
| [allowlist] | ||
| description = "Exact public schema and UI callback identifiers misread as generic keys" | ||
| regexes = [ | ||
| '''^Associated_material$''', | ||
| '''^Associated_organism$''', | ||
| '''^allowPreviousMonth$''', | ||
| '''^associated_organism$''', | ||
| '''^canAddSubplot$''', | ||
| '''^focusPreviousDay$''', | ||
| '''^getInitialMonthFromProps$''', | ||
| '''^getPreviousNavigableMonth$''', | ||
| '''^handleDayClick$''', | ||
| '''^handleMouseEnter$''', | ||
| ] | ||
|
|
||
| # Backport the upstream v8.30.1 AWS rule for the CI-pinned v8.18.4 engine. | ||
| # The older rule accepts arbitrary A-Z0-9 suffixes with no entropy threshold, | ||
| # which turns ordinary A/C/G/T sequences into AWS access-token findings. The | ||
| # upstream boundaries, suffix alphabet, and entropy requirement retain real | ||
| # credential detection without excluding biological data by path or commit. | ||
| [[rules]] | ||
| id = "aws-access-token" | ||
| description = "Identified a pattern that may indicate AWS credentials, risking unauthorized cloud resource access and data breaches on AWS platforms." | ||
| regex = '''\b((?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z2-7]{16})\b''' | ||
| entropy = 3 | ||
| keywords = ["a3t", "akia", "asia", "abia", "acca"] | ||
|
|
||
| # Likewise, upstream now requires a realistic Facebook token length and | ||
| # entropy. Short printable FASTQ quality strings otherwise match the legacy | ||
| # twenty-character minimum even though they are sequencing data. | ||
| [[rules]] | ||
| id = "facebook-page-access-token" | ||
| description = "Discovered a Facebook Page Access Token, posing a risk of unauthorized access to Facebook accounts and personal data exposure." | ||
| regex = '''\b(EAA[MC](?i)[a-z0-9]{100,})(?:[\x60'"\s;]|\\[nr]|$)''' | ||
| entropy = 4 | ||
| keywords = ["eaam", "eaac"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| <!-- SPDX-License-Identifier: CC-BY-SA-4.0 --> | ||
| # Security policy | ||
|
|
||
| ## Supported version | ||
|
|
||
| Security fixes are applied to the current `main` branch. Update to the latest | ||
| revision before reporting a problem that may already have been fixed. | ||
|
|
||
| ## Report a vulnerability | ||
|
|
||
| Use [GitHub private vulnerability reporting](https://github.com/hyperpolymath/MetaManifold-WebUI/security/advisories/new) | ||
| for suspected vulnerabilities in this fork. If private reporting is not | ||
| available, contact the fork maintainer at `j.d.a.jewell@open.ac.uk` (the | ||
| contact already published in `MetaManifold-WebUI_chora.deed`). Do not disclose | ||
| an unpatched vulnerability in a public issue or pull request. | ||
|
|
||
| Include the affected revision, a minimal reproduction, the security impact, and | ||
| any suggested mitigation. Remove real study data, credentials, access tokens, | ||
| and other secrets from the report. The maintainers will assess the report and | ||
| coordinate a fix and disclosure with the reporter. | ||
|
|
||
| For vulnerabilities confined to upstream code that are not specific to this | ||
| fork, also consult the upstream project's reporting process rather than | ||
| assuming the fork can publish an upstream fix. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.