Repository navigation
ci(security): add CodeQL, Scorecard, fuzzing and signed releases - #22
Merged
Merged
Conversation
Fuzzing found two descriptions that passed the filter and then failed validate_data's re-check of the stored text: - A trailing "www" became "www." once the period was added, which the link check rejects. The checks now run on the text we store. - A variation selector other than U+FE0F reset the emoji run, then got stripped, leaving four emoji in a row. All selectors now ride along.
Two atheris targets, built and run on pull requests through ClusterFuzzLite with a five-minute budget.
- CodeQL for Python, JS/TS and the workflows themselves, required in the ruleset once setup_repo.sh runs. - Scorecard publishes weekly and on every push to main. - Dependabot opens grouped weekly updates, each version a week old. - A v* tag builds the source and site tarballs, attests their provenance and creates the release. - Deploy only follows workflow_run builds from main, and Astro no longer sends build telemetry.
Also adds the Scorecard badge to the README, now that it ships.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Only Cf characters were stripped, so a blocked word split by U+180B, U+3164, U+115F or a tag variation selector got through. Strip an explicit Default_Ignorable_Code_Point table on both sides of NFKC, which maps U+3164 and U+FFA0 onto U+1160. A bare "www" is a word again: only "www." followed by a name is a link.
- release-tags ruleset: only admins create, move or delete v* tags. - main-protection blocks merges on CodeQL errors or high alerts. - Release builds skip the npm cache; Dependabot leaves wrangler alone. - SECURITY.md promises only what the process does.
| # regex, so this is the table. U+FE00-FE0F is left to VARIATION: the emoji-run | ||
| # check needs to see them first. | ||
| IGNORABLE = re.compile( | ||
| "[\u00ad\u034f\u061c\u115f\u1160\u17b4\u17b5\u180b-\u180f\u200b-\u200f\u202a-\u202e" |
| # regex, so this is the table. U+FE00-FE0F is left to VARIATION: the emoji-run | ||
| # check needs to see them first. | ||
| IGNORABLE = re.compile( | ||
| "[\u00ad\u034f\u061c\u115f\u1160\u17b4\u17b5\u180b-\u180f\u200b-\u200f\u202a-\u202e" |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Lays the groundwork for a climbing OpenSSF Scorecard score and, later, the Best Practices badge.
What's in it
analyze (...)checks go into the ruleset viascripts/admin/setup_repo.sh, which still needs running after merge.validate_data's re-check; both are fixed here with regression tests.v*tag builds the source and site tarballs, attests their provenance and creates the release. Nothing is tagged yet.workflow_runbuilds must come from main, and Astro telemetry is off.Part of the v0.1 launch.