HustleHub Security & Mini-App Architecture

Effective Date: November 13, 2026
Last Updated: November 13, 2026
Scope: Native Android Application, Mini-App Sandbox & Backend Services

At HustleHub, trust, student privacy, and infrastructure security are foundational principles. Because our platform enables peer-to-peer campus services, end-to-end encrypted messaging, and student-developed web applications (Mini-Apps), we employ defense-in-depth engineering to isolate untrusted web code, secure transactions, and protect student identity.

Security Philosophy: Zero-Trust Isolation. Student mini-apps execute within a hardened Android WebView sandbox. They never gain access to raw user credentials, authentication tokens, device storage, or direct payment execution.

1. Mini-App Sandbox Architecture

HustleHub allows verified student developers to publish lightweight web applications that provide utilities and commerce within the campus ecosystem. To prevent cross-site scripting (XSS), data exfiltration, or malicious native execution, all mini-apps run within a hardened container:

2. Zero-Trust JavaScript Bridge (HustleBridge)

Communication between the native Android app and the hosted web mini-app occurs exclusively through a strictly defined JavaScript interface: window.HustleBridge.

Token Isolation Guarantee: HustleHub NEVER exposes Firebase ID tokens, raw JSON Web Tokens (JWTs), passwords, session keys, or encryption keys to the JavaScript context.

The bridge operates on a strict principle of least privilege:

3. Native-Mediated Payment Security

Mini-apps often facilitate campus micro-commerce (event tickets, campus merchandise, club dues, service bookings). To eliminate fraudulent charges, hidden fees, and credential theft:

4. End-to-End Encrypted (E2EE) Campus Messaging

In addition to mini-app security, HustleHub protects student peer-to-peer communication through hardware-backed cryptography:

5. Mini-App Admin Vetting and Lifecycle Moderation

Every mini-app submitted to HustleHub passes through a comprehensive security and quality assurance pipeline:

6. Vulnerability Disclosure & Incident Reporting

We welcome responsible security research from MUST students, white-hat security researchers, and the wider tech community. If you discover a vulnerability or security flaw in the HustleHub Android app, mini-app bridge, or backend infrastructure:

Report Security Issues: Please email our technical security team directly at kotlin.hustlehub@gmail.com with details, reproduction steps, and proof of concept.

We commit to acknowledging vulnerability reports within 48 hours, providing regular remediation updates, and crediting researchers who adhere to responsible disclosure principles.

7. Contact Security Team

Email: kotlin.hustlehub@gmail.com
Team: KDroiders of MUST Innovation Club (Technical & Security Lead)
Institution: Meru University of Science and Technology (MUST), Main Campus, Meru, Kenya