Skip to content

Prevent email disclosure in contributor list generation#1219

Open
RinZ27 wants to merge 1 commit into
graphql:mainfrom
RinZ27:fix-contributor-email-disclosure
Open

Prevent email disclosure in contributor list generation#1219
RinZ27 wants to merge 1 commit into
graphql:mainfrom
RinZ27:fix-contributor-email-disclosure

Conversation

@RinZ27

@RinZ27 RinZ27 commented Apr 5, 2026

Copy link
Copy Markdown

Contributor list script currently defaults to printing the raw email address when a GitHub login cannot be resolved. This behavior unintentionally exposes private email addresses in public-facing Markdown files.

The updated logic ensures that only names are displayed for unresolved contributors, leaving the GitHub link column empty instead of leaking PII. This improvement protects contributor privacy while maintaining the integrity of the generated list. Verified the script still functions correctly after this modification.

@netlify

netlify Bot commented Apr 5, 2026

Copy link
Copy Markdown

Deploy Preview for graphql-spec-draft ready!

Name Link
🔨 Latest commit 34b5474
🔍 Latest deploy log https://app.netlify.com/projects/graphql-spec-draft/deploys/6a3bd0d0ff3601000851cb26
😎 Deploy Preview https://deploy-preview-1219--graphql-spec-draft.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Apr 5, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: RinZ27 / name: RinZ27 (cb1f732)

@benjie benjie requested a review from leebyron May 25, 2026 12:12
@benjie benjie added the 🐝 Process Related to Governance, Tools, or other meta work label May 25, 2026
@benjie

benjie commented Jun 23, 2026

Copy link
Copy Markdown
Member

An alternative fix would be to output the unmatched to STDERR rather than STDOUT - that way it would still be output for debugging but wouldn't be written to the file.

@RinZ27 RinZ27 force-pushed the fix-contributor-email-disclosure branch from cb1f732 to 34b5474 Compare June 24, 2026 12:42
@RinZ27

RinZ27 commented Jun 24, 2026

Copy link
Copy Markdown
Author

@benjie updated to log unmatched contributors to STDERR instead. Email still stays out of the stdout output, but now shows up for debugging when running the script manually.

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

Labels

🐝 Process Related to Governance, Tools, or other meta work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants