â ī¸ CRITICAL VULNERABILITIES
Type: Information Disclosure
Impact: Unauthorized database access, data theft, service abuse
Location: confession-wall/index.html:377-378, cosmic-chat (via import)
Description: Supabase API keys and URLs are hardcoded in client-side JavaScript, allowing attackers to directly access and manipulate the database
const SUPABASE_URL = 'https://yjyxteqzhhmtrgcaekgz.supabase.co';
const SUPABASE_ANON_KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...';
Fix: Use environment variables, implement server-side proxy, ensure proper RLS policies are configured
confession-wall
cosmic-chat
knowledge-chaos
ALL SUPABASE APPS
â ī¸ HIGH SEVERITY VULNERABILITIES
Type: Cross-Site Scripting (XSS)
Impact: Code execution, session hijacking, data theft, defacement
Apps Affected: 37+ applications
Description: User-controllable content is injected into DOM via innerHTML without proper sanitization, allowing JavaScript execution
// VULNERABLE PATTERN
element.innerHTML = userInput; // DANGEROUS!
// SAFE ALTERNATIVES
element.textContent = userInput;
// OR use DOMPurify for HTML
element.innerHTML = DOMPurify.sanitize(userInput);
Fix: Replace innerHTML with textContent for user data, use DOMPurify for HTML sanitization, implement CSP
confession-wall
gratitude-journal
accountability-hub
cat-pics
chat-suggestions
calorie-tracker
fake-reviews
news-gen
+29 MORE
Type: Input Validation Failure
Impact: XSS, SQL injection, buffer overflow, denial of service
Location: Multiple apps with user input forms
Description: User inputs are not validated for length, content, or format before processing
Fix: Implement strict input validation with allowlists, enforce length limits, validate data types
cosmic-chat
confession-wall
cat-pics
ALL INPUT FORMS
Type: DOM-based XSS
Impact: Client-side code execution without server interaction
Location: deprecated-trivia:554, fake-reviews:353, news-gen:467
Description: DOM manipulation with user-controllable data without proper encoding
Fix: Use safe DOM methods (createElement, textContent), avoid eval/Function constructors
deprecated-trivia
fake-reviews
news-gen
â ī¸ MEDIUM SEVERITY VULNERABILITIES
Type: Rate Limiting Failure
Impact: Database abuse, resource exhaustion, spam
Location: angry-cookie:538-552, cosmic-chat:524-552, confession-wall:467-512
Description: No throttling or debouncing on actions triggering database writes
Fix: Implement client-side debouncing, add server-side rate limiting via Supabase functions
angry-cookie
cosmic-chat
confession-wall
ALL DB APPS
Type: Subresource Integrity Missing
Impact: CDN compromise, supply chain attack
Location: cat-pics:206, apps loading from pollinations.ai, CDN libraries
Description: External resources loaded without SRI hashes or integrity verification
Fix: Add SRI hashes to script tags, validate external API responses
cat-pics
news-gen
dutch-still-life
Type: Security Headers Missing
Impact: XSS, clickjacking, code injection
Apps Affected: ALL 72+ applications
Description: No CSP headers to prevent unauthorized code execution
<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self' 'unsafe-inline' cdn.jsdelivr.net;">
Fix: Add CSP meta tags or server headers with strict policies
Type: SQL Injection
Impact: Data breach, unauthorized access
Location: All Supabase query construction
Description: Risk of SQL injection if queries are constructed with string concatenation
Fix: Verify all Supabase queries use parameterized inputs, never string concatenation
Type: Authentication Bypass
Impact: Unauthorized access
Location: accountability-hub:573
Description: Incorrect import paths for supabase-config.js may cause auth failures
Fix: Verify import paths, test authentication flows
Type: Clickjacking
Impact: UI redressing, unauthorized actions
Apps Affected: ALL applications
Description: No X-Frame-Options or frame-ancestors CSP directive
Fix: Add X-Frame-Options: DENY or CSP frame-ancestors 'none'
Type: Cross-Site Request Forgery
Impact: Unauthorized state-changing operations
Location: All apps with state-changing operations
Description: No CSRF tokens for state-changing operations
Fix: Verify Supabase RLS policies, implement CSRF tokens if needed
âšī¸ LOW SEVERITY VULNERABILITIES
Type: Information Disclosure
Impact: Local data theft via XSS
Location: calorie-tracker, gratitude-journal (implicit via Supabase)
Description: Sensitive data stored in localStorage without encryption
Fix: Avoid storing sensitive data in localStorage, use HTTP-only cookies
Type: Outdated Dependencies
Impact: Known vulnerabilities in libraries
Location: CDN-loaded libraries
Description: Some apps use CDN libraries without version pinning
Fix: Pin library versions, regularly update dependencies, use SRI