Skip to content

GHSA sync script fixes#1001

Merged
flavorjones merged 2 commits into
rubysec:masterfrom
jamgregory:ghsa-sync-fixes
May 14, 2026
Merged

GHSA sync script fixes#1001
flavorjones merged 2 commits into
rubysec:masterfrom
jamgregory:ghsa-sync-fixes

Conversation

@jamgregory
Copy link
Copy Markdown
Contributor

Just made two amendments to the GHSA sync script to fix issues I noticed when using it recently:

  1. Correct the generation of the vulnerabilities references

    Currently the references nest an additional url: key inside them, which causes the RSpec tests to fail

  2. Translate two package names that appear to have been renamed at some point

    arabic-prawn and redcloth apparently previously used camel-cased names (Arabic-Prawn and RedCloth) which is how they're stored in the repository. The sync script creates 'new' vulnerabilities because of these changes, so I've translated these package names back to avoid this.

@jasnow
Copy link
Copy Markdown
Contributor

jasnow commented May 13, 2026

Approve changes - Ready to merge.

Comment thread lib/github_advisory_sync.rb Outdated
@jamgregory jamgregory requested a review from flavorjones May 14, 2026 15:47
@flavorjones flavorjones merged commit 627e45a into rubysec:master May 14, 2026
1 check passed
@flavorjones
Copy link
Copy Markdown
Collaborator

Thank you!

@jamgregory jamgregory deleted the ghsa-sync-fixes branch May 14, 2026 18:43
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.

4 participants