Skip to content

docs(0.2.1): add security + hardening notes to CHANGELOG#30

Merged
whykusanagi merged 1 commit into
mainfrom
docs/0.2.1-security-notes
May 25, 2026
Merged

docs(0.2.1): add security + hardening notes to CHANGELOG#30
whykusanagi merged 1 commit into
mainfrom
docs/0.2.1-security-notes

Conversation

@whykusanagi
Copy link
Copy Markdown
Owner

Summary

0.2.1 has not been published to npm yet, so folding the post-tag security and hardening work into the same release notes — npm consumers will see a single coherent entry on @whykusanagi/corrupted-theme@0.2.1.

CHANGELOG additions

Security (visible to npm consumers via shipped sources):

  • celeste-widget.js session-ID upgrade (Math.random()crypto.randomUUID())
  • examples/components/websocket-manager.html — XSS-safe log via textContent
  • examples/components/png-export.html — SRI hash on the pinned html2canvas script

Internal (not in the npm tarball, but worth noting for repo contributors):

  • CI workflow least-privilege permissions: contents: read
  • Enabled GitHub secret scanning + push protection + Dependabot security updates + CodeQL default setup
  • Dismissed js/tainted-format-string false-positive on countdown-widget.js

Also bumped the dated header 2026-05-232026-05-25 to match actual publish date.

After merge

The v0.2.1 git tag currently points at ad5b2d0 (bundle-fix commit only) — needs to be moved to the post-merge HEAD so it matches what npm will publish. Tag move is a separate manual step:

git tag -d v0.2.1
git push origin :refs/tags/v0.2.1
git tag -a v0.2.1 -m "Release v0.2.1 — bundle-fix + security hardening"
git push origin v0.2.1

This is OK to force-move because:

  • No npm release has been associated with the old tag yet.
  • The R2 content at @0.2.1/dist/theme.min.css is byte-identical between the old and new commit (security fixes don't touch dist/).

Test plan

  • CHANGELOG renders correctly in markdown
  • Dated header matches today's date
  • Tag move performed after merge

🤖 Generated with Claude Code

0.2.1 has not been published to npm yet — folding the post-tag
security/hardening work into the same release notes so npm
consumers see a single coherent entry when they install
@whykusanagi/corrupted-theme@0.2.1.

Adds:

- **Security** subsection covering the two findings visible to
  consumers via shipped sources: celeste-widget.js session-ID
  upgrade (Math.random → crypto.randomUUID) and the two example
  pages (websocket-manager textContent fix, png-export SRI hash).
- **Internal** additions: CI workflow least-privilege permissions,
  GitHub security feature enablement (secret scanning + push
  protection + Dependabot security updates + CodeQL default
  setup), and the one false-positive dismissal.

Also bumped the dated header from 2026-05-23 to 2026-05-25 to
match actual publish date.

The CodeQL workflow permissions change is internal-only (.github/
is not in the npm tarball) but worth noting for repo contributors.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 25, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
corrupted-theme 1ebe6b5 Commit Preview URL

Branch Preview URL
May 25 2026, 10:38 PM

@whykusanagi whykusanagi merged commit a25bfa7 into main May 25, 2026
5 checks passed
@whykusanagi whykusanagi deleted the docs/0.2.1-security-notes branch May 25, 2026 22:39
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.

1 participant