The community hub for crowd-sourced system prompt leak verification. CL4R1T4S!
LeakHub is an open-source platform where the community can submit, verify, and browse leaked AI system prompts. The platform uses a consensus-based verification system to ensure authenticity and rewards contributors with a points-based leaderboard.
- π System Prompt Library - Browse verified AI system prompts organized by provider
- π Submit Leaks - Contribute system prompts for AI models, apps, tools, agents, and plugins
- β Community Verification - Leaks require 2 unique users to verify before becoming "verified"
- π Leaderboard & Points System - Earn points for contributions and climb the rankings
- π― Requests System - Request specific AI system prompts from the community
- π GitHub OAuth - Secure authentication via GitHub
- β‘ Real-time Updates - Instant updates powered by Convex
| Action | Points |
|---|---|
| Submit a leak that gets verified (first submitter) | +100 |
| Verify someone else's leak | +50 |
| Create a request that gets verified | +20 |
- React 19 - UI library
- Vite - Build tool and dev server
- React Router v7 - Client-side routing
- Tailwind CSS v4 - Utility-first CSS framework
- Radix UI - Accessible component primitives
- Lucide React - Icon library
- Convex - Real-time backend (database, server functions, file storage)
- Convex Auth - Authentication with GitHub OAuth
- Cloudflare Pages - Edge deployment via Wrangler
leakhub/
βββ convex/ # Convex backend
β βββ _generated/ # Auto-generated types and API
β βββ auth.config.ts # Auth configuration
β βββ auth.ts # Auth handlers
β βββ github.ts # GitHub API integration
β βββ http.ts # HTTP endpoints
β βββ leaderboard.ts # Leaderboard queries
β βββ leaks.ts # Leak mutations and queries
β βββ requests.ts # Request mutations and queries
β βββ schema.ts # Database schema
β βββ users.ts # User mutations and queries
βββ src/ # React frontend
β βββ components/ # Reusable UI components
β β βββ ui/ # Shadcn/Radix UI components
β β βββ leakLibrary.tsx # Leak browser component
β β βββ navbar.tsx # Navigation bar
β β βββ submitLeakForm.tsx # Leak submission form
β βββ pages/ # Page components
β β βββ Dashboard.tsx # User dashboard
β β βββ Leaderboard.tsx # Points leaderboard
β β βββ Requests.tsx # Leak requests page
β βββ lib/ # Utility functions
β βββ App.tsx # Main app component
β βββ main.tsx # Entry point
β βββ index.css # Global styles
βββ public/ # Static assets
βββ dist/ # Production build output
βββ package.json # Dependencies and scripts
βββ vite.config.ts # Vite configuration
βββ tsconfig.json # TypeScript configuration
βββ wrangler.jsonc # Cloudflare deployment config
-
Clone the repository
git clone https://github.com/yourusername/leakhub.git cd leakhub -
Install dependencies
npm install
-
Set up Convex
npx convex dev
This will prompt you to log in and create a new Convex project.
-
Configure GitHub OAuth
Set up GitHub OAuth credentials in your Convex dashboard and configure the environment variables.
-
Start the development server
npm run dev
This runs both the Vite frontend and Convex backend concurrently.
| Script | Description |
|---|---|
npm run dev |
Start frontend and backend in development mode |
npm run dev:frontend |
Start only the Vite dev server |
npm run dev:backend |
Start only the Convex dev server |
npm run build |
Build for production |
npm run preview |
Preview production build locally |
npm run deploy |
Build and deploy to Cloudflare Pages |
npm run lint |
Run TypeScript and ESLint checks |
Stores system prompt leaks with verification status.
| Field | Type | Description |
|---|---|---|
targetName |
string |
Name of the AI system |
provider |
string |
Provider/company name |
targetType |
enum |
Type: model, app, tool, agent, plugin, custom |
leakText |
string |
The actual system prompt |
leakContext |
string? |
Additional context |
url |
string? |
Source URL |
isFullyVerified |
boolean |
Verification status |
submittedBy |
Id<users>? |
Submitter reference |
verifiedBy |
Id<users>[]? |
Verifiers references |
requiresLogin |
boolean? |
Access requirements |
isPaid |
boolean? |
Paid service flag |
hasToolPrompts |
boolean? |
Has tool/function prompts |
Stores community requests for specific system prompts.
| Field | Type | Description |
|---|---|---|
targetName |
string |
Requested AI system name |
provider |
string |
Provider/company name |
targetType |
enum |
Type: model, app, tool, agent, plugin, custom |
targetUrl |
string |
URL to the target |
closed |
boolean |
Whether request is fulfilled |
leaks |
Id<leaks>[] |
Associated leak submissions |
submittedBy |
Id<users> |
Requester reference |
User profiles with points tracking.
| Field | Type | Description |
|---|---|---|
name |
string |
Display name |
image |
string |
Profile picture URL |
email |
string |
Email address |
points |
number |
Accumulated points |
leaks |
Id<leaks>[]? |
Submitted leaks |
requests |
Id<requests>[]? |
Created requests |
LeakHub uses a consensus-based verification system:
- Submission - Users submit leaks linked to requests
- Similarity Detection - Text similarity is calculated using:
- Shingle-based cosine similarity (fast filter)
- Levenshtein distance (precise matching)
- Consensus - When 2+ unique users submit similar content (β₯85% similarity), the leak is verified
- Rewards - Points are distributed to submitter, verifiers, and request creator
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE.txt file for details.