Full-Stack & Systems Engineer architecting mission-critical backend logic, concurrency-safe engines, and high-performance web applications.
Active core contributor across top-tier open-source platforms (PostHog, Better-Auth, Twenty CRM, Chatwoot, Cal.com, Langfuse, Cap), with 30+ production-grade pull requests solving distributed locking, OIDC/OAuth security, race condition remediation, and database optimizations.
| Area | Technologies & Frameworks |
|---|---|
| Languages & Core | |
| Backend & Architecture | |
| Auth, Security & Identity | |
| Databases & Caching | |
| Frontend & Systems | |
| DevOps & Testing |
Active contributor to venture-backed, high-scale open-source ecosystems solving distributed locking, security, race conditions, and architecture:
π‘οΈ Better Auth (The comprehensive TypeScript auth framework, 15k+ β)
- Organization Limit Concurrency Lock: Architected in-process serialization and transactional boundaries (
runWithTransaction) on organization creation endpoints, eliminating TOCTOU race condition bypasses under concurrent burst traffic (PR #12157 β fixes #12149). - OIDC Core Β§3.1.3.3 Compliance: Enforced fail-closed validation for generic-oauth token responses missing
id_tokenwhen discovery or ID token verification is configured, preventing unauthorized identity assumptions (PR #12163 β fixes #12153). - Grant Family Refresh Token Isolation: Restructured refresh token reuse detection to invalidate specific grant families rather than globally wiping every client session (PR #12159 β fixes #12154).
- Delete-User Token Ownership Protection: Prevented token burn when opened by a non-owner session, and added post-consume defense-in-depth verification (PR #12164 β fixes #12139).
- Custom Cookie Attributes: Added
cookieAttributesconfiguration tolastLoginMethodplugin for multi-subdomain architectures (PR #12161 β fixes #12158). - Adapter & Session Hardening: Enabled default JSON/Array support in Drizzle (PR #12143), prevented Prisma duplicate back-relations (PR #12137), and expired session cookies on user deletion (PR #12136).
π¦ PostHog (Product Analytics & LLM Observability, YC / GV funded, 26k β)
- AutoResearch Safety Model Fallback: Built resilient fallback handling when Signals safety model returns an empty reply or provider refusal, holding signals for review rather than dropping them (PR #126803 β fixes #126669).
-
Automated Inactive Inbox Sweep: Designed team-level configurable background tasks for auto-closing stale signal reports after
$N$ days under feature flag gates (PR #126809 β fixes #126697). - AutoResearch Quotas & Limits: Implemented live pipeline caps (PR #126792), daily training run caps (PR #126772), and automatic reaping of training runs stranded by lost sandboxes (PR #126756).
- Warehouse Integrations: Resolved dotted incremental cursor resolution (PR #124910), guarded against disconnecting in-use integrations (PR #124866), and locked workflow broadcasts once sending (PR #122903).
β‘ Twenty CRM (Enterprise Open-Source CRM, YC funded, 25k β)
- Sign-in Infinite Loader Fix: Eliminated infinite loading spinner on sign-in page during public workspace resolution (PR #29316 β fixes #29254).
- Apollo GraphQL Optimistic Sorting: Extended cache manipulation to support multi-criteria secondary
orderByoptimistic edge sorting (PR #28744). - Timeline Activity Diffing: Prevented diff value hard-truncation and enabled accessible tooltips on long field values (PR #29198).
- Enterprise Data Sanitation: Sanitized trailing whitespace on IMAP/SMTP/CalDAV credentials (PR #29163 β MERGED), and bounded HTML nesting in email imports to prevent RangeError crashes (PR #29262).
- Core Merges: Code step outputs sync (PR #28432 β MERGED), record-form error validation (PR #28425 β MERGED by CTO Charles Bochet), and draft collection hash synchronization (PR #28412 β MERGED by CEO FΓ©lix Malfait).
π¬ Chatwoot (Customer Engagement Infrastructure, 23k β)
- Delivery Receipt Race Condition: Eliminated status regression where WhatsApp Cloud delivery receipts arrived before synchronous HTTP send responses resolved (PR #16486 β fixes #16351).
- Snooze Midnight Interpretation: Resolved command bar parsing for phrases like "night 12" and "midnight" (PR #16452).
- Webhook Storm Prevention: Prevented alternating error re-send loops on failed external API inboxes (PR #16413).
- Cookie Domain Isolation: Cleared session cookies with
baseDomainon SDK reset (PR #16445). - Voice Draft Persistence: Resolved voice announcement draft toggle overwrite on unsaved forms (PR #16428 β MERGED).
π Cal.com (Scheduling Infrastructure, $25M+)
- Booking Concurrency & Conflicts: Surfaced 409 conflict detection for concurrent booking attempts and eliminated millisecond UID collisions (PR #30375, PR #30376).
- DST Boundary Shifts: Re-evaluated timezone shifts when instant crossings cross daylight saving time boundaries in overlay calendars (PR #30421).
- Payment & No-Show Fees: Remounted payments router and wired
chargeCardmutation in ChargeCardDialog, fixing broken Stripe no-show fee collection (Issue #30454 Solution).
π Langfuse (LLM Engineering Platform, YC / Lightspeed)
- MCP Error Handling Conformance: Refactored Model Context Protocol (MCP) server tool execution to return errors as valid
isError: trueresults adhering to the JSON-RPC standard specification (PR #19533 β fixes #19528). - Bedrock Cache Write Pricing: Normalized Bedrock / LangChain ephemeral cache-write tokens into canonical TTL pricing, preventing 20-40% underreported LLM trace costs (PR #19446).
π₯ Cap (High-Performance Screen Recorder, 7.5k β)
- Scap Direct3D Frame Pool Stall: Fixed recording stalls at 0 seconds by comparing in-flight frames to allocated buffer pool size rather than dynamic content dimensions (PR #3600 β fixes #3594).
- Developer API & Pagination: Enforced integer coercion and bounds preventing MySQL 500 syntax crashes on negative pagination inputs (PR #3568).
- Toolbar Reactions Auth: Integrated unauthenticated viewer sign-in prompt for reactions (PR #2977 β MERGED by founder Richie McIlroy).
π€ BasedHardware / Omi & Inbox Zero
- OMI Wearable Subscription Upgrades: Unblocked waiting audio transcription pipelines upon subscription plan upgrade and reactivation (PR #24141 β Verified & Approved by Reviewer).
- Inbox-Zero Email Preview: Demanded active mail engine when expanding inline email previews in chat assistant (PR #4395 β MERGED by maintainer
@elie222).
Modular enterprise web client integrated with the Odoo ERP ecosystem.
- Tech Stack: React 19, TypeScript, Vite, Tailwind CSS, Zustand, Framer Motion, Recharts, REST APIs, JSON-RPC.
- Impact:
- Slashed initial page load times by 45% (sub-1.2s LCP) and achieved 100% WCAG 2.1 AA compliance via virtualized data grids and keyboard-navigable ARIA primitives.
- Boosted data visualization render speeds by 50% for 10,000+ records with a dynamic multi-view rendering engine (Kanban, Gantt, editable tables).
- Reduced component re-renders by 65% across nested views with scalable Zustand state slices.
Custom commercial e-commerce solution with automated Salla merchant platform integration.
- Tech Stack: React, Node.js, Express.js, MongoDB, REST APIs, Salla Webhooks.
- Impact:
- Increased online checkout completion by 25% and reduced sync latency by 70% via automated real-time webhooks.
- Saved 15+ hours/week of manual operations through automated catalog and inventory synchronization.
- Achieved sub-200ms API response times and 99.9% uptime with structured MongoDB indexing.
| Platform / Asset | Network | Link / Address |
|---|---|---|
| GitHub Sponsors | Official | sponsor/@ghazy2001 |
| USDC | Solana (SOL) | BaCN1xstTz6ikNi6spW72dHTicDbjZvg82iCpEd2RkSN |
| USDT | TRON (TRC20) | TLXtXNgUQx2mbV2rBRVPrWfgXKLMxvfxYS |
- π§ Email: mahmoudghazy2001@gmail.com
- πΌ LinkedIn: linkedin.com/in/mahmoud-ghazy
- π GitHub: @ghazy2001
- π¬ Discord:
mahmoudghazy6884


