Repository navigation
Conversation
Fix MediaUploader type error and remove stray build logs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0194NK5MvdH5XFFWJQH1bph9
… templates Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0194NK5MvdH5XFFWJQH1bph9
…files RLS - add lib/sanitize.ts (DOMPurify) and use it for all dangerouslySetInnerHTML - drop allow-same-origin from preview iframes - add migration protecting profiles.role/is_approved and works.author_id - npm audit fix; update PR template and event plan Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0194NK5MvdH5XFFWJQH1bph9
…udit script, event tracking - AuthProvider: fix stale closure refetching profile on every token refresh, avoid awaiting inside onAuthStateChange - only allow http(s) for profile website links; encode username in avatar URL - validate type/size and use UUID names for CreationStudio uploads; remove debug logs - profiles trigger also blocks admin/is_approved on INSERT - add audit_log migration, supabase/audit/rls_audit.sql, security headers in vercel.json - add scripts/event-report.mjs + workflow for contributor/reward tracking - add docs/KONTROL_DAN_TRACKING_EVENT.md Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0194NK5MvdH5XFFWJQH1bph9
This branch has not been deployed
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.
📋 Deskripsi
Menyiapkan repo untuk event bug hunt divisi Koding.
docs/HOST_KODING.md: review repo, setup host, skema bayaran dan trackingdocs/EVENT_KODING_PLAN.md: timeline, daftar issue awal, teks aturan dan pengumuman.github/workflows/ci.yml: typecheck dan build di setiap PRlib/sanitize.ts(DOMPurify) dipakai di semuadangerouslySetInnerHTMLallow-same-origindari semua previewMediaUploader.tsx, hapus file log sampah,npm audit fixsupabase/migrations/20261026_harden_profiles_and_works.sql(belum dijalankan)🧪 Cara Verifikasi
npx tsc --noEmitdannpm run buildlolos.'<img src=x onerror=alert(1)>': alert tidak boleh muncul.localStorage.getItem('x')harus melempar SecurityError.update({role:'admin'})pada profil sendiri harus gagal.✅ Catatan
allow-same-origindihapus (p5 dan JS biasa seharusnya tetap jalan).npm auditberasal dari DOMPurify bawaan Monaco danreact-router; butuh upgrade terpisah.Generated by Claude Code