Switch language한국어
Back to the list

Composer leaks contents of tokens configured as GitHub OAuth tokens

TL;DR AI

Key summary

2 min read
  1. A Hacker News discussion highlights a Symfony error-display issue that can expose GitHub OAuth tokens in styled error output.

  2. Newlines or interleaved HTML-like tags can split a secret, preventing GitHub’s masking from recognizing and redacting the full token.

  3. The result is accidental credential leakage in logs, CI output, or error pages.

  4. The case shows how formatting alone can defeat secret-redaction systems.

Read the original