From 52cca0e2f96dfdfb12e5bc3c3536242208ea685e Mon Sep 17 00:00:00 2001 From: FlashL3opard <69573060+Flashl3opard@users.noreply.github.com> Date: Mon, 13 Apr 2026 23:47:24 +0530 Subject: [PATCH] fix: prevent stored XSS in tag cloud via inline onclick handler --- public/index.html | 492 ++++++++++++++++++++++++++-------------------- 1 file changed, 275 insertions(+), 217 deletions(-) diff --git a/public/index.html b/public/index.html index 2ab457f..85d2334 100644 --- a/public/index.html +++ b/public/index.html @@ -1,9 +1,10 @@ - + + - Alpha One Labs – Discover Activities + Alpha One Labs ΓÇô Discover Activities + - - - - -
-
-

🔒 Fully Encrypted · Privacy-First

-

- Learn Together.
Grow Together. -

-

- Discover courses, meetups, workshops, and study groups — all on a platform where every piece of user data is encrypted at rest. -

- -
-
- - -
-
-
-

-

Activities

+ + + + +
+
+

🔒 Fully Encrypted · + Privacy-First +

+

+ Learn Together.
Grow Together. +

+

+ Discover courses, meetups, workshops, and study groups ΓÇö all on a platform where every piece of user data is + encrypted at rest. +

+
-
-

🔒

-

Encrypted at Rest

+
+ + +
+
+
+

ΓÇö

+

Activities

+
+
+

ΓÇö

+

Participants

+
+
+

🔒

+

Encrypted at Rest

+
-
- - -
- - -
- - - -
- -
+ +
- -
-
-
-
-
+ +
+ + + + + + +
- -
+ +
- -
-
-

Why Alpha One Labs?

-
-
-
-
🔐
-

Zero Plaintext PII

-

Every user field — name, email, username, role — is encrypted. HMAC blind indexes enable fast lookups without ever storing plaintext.

+ +
+
+
+
-
-
-

Edge-Native

-

Runs on Cloudflare Python Workers + D1 — globally distributed, fast, and serverless.

+ + +
+ + +
+
+

Why Alpha One Labs?

-
-
🗓️
-

Flexible Activities

-

Courses, meetups, workshops — with optional scheduled sessions, attendance tracking, and flexible tags.

+
+
+
🔐
+

Zero Plaintext PII

+

Every user field ΓÇö name, email, username, role ΓÇö is encrypted. HMAC blind + indexes enable fast lookups without ever storing plaintext.

+
+
+
ΓÜí
+

Edge-Native

+

Runs on Cloudflare Python Workers + D1 ΓÇö globally distributed, fast, and + serverless.

+
+
+
🗓️
+

Flexible Activities

+

Courses, meetups, workshops ΓÇö with optional scheduled sessions, attendance + tracking, and flexible tags.

+
-
-
- - -
-

© 2024–2026 Alpha One Labs · Cloudflare Python Workers + D1 · All user data encrypted at rest

-
- - + buildTagCloud(allActivities); + renderGrid(); + } catch (e) { + document.getElementById('activity-grid').innerHTML = + `

Failed to load activities.
Seed sample data via POST /api/seed.

`; + } + } + + ['search', 'filter-type', 'filter-format'].forEach(id => + document.getElementById(id).addEventListener(id === 'search' ? 'input' : 'change', renderGrid)); + + updateNav(); + loadActivities(); + - + + \ No newline at end of file