Visitar URL original
ghazy2001 (Mahmoud Ghazy) Β· GitHub
Skip to content
View ghazy2001's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report ghazy2001

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ghazy2001/README.md

Hi there, I'm Mahmoud Ghazy πŸ‘‹

Full-Stack & Systems Software Engineer | Core Open-Source Contributor

GitHub followers GitHub Sponsors Email Status

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.


πŸ› οΈ Technical Skills

Area Technologies & Frameworks
Languages & Core TypeScript JavaScript Python SQL HTML5 CSS3
Backend & Architecture Node.js Express NestJS Django GraphQL REST APIs JSON-RPC Webhooks
Auth, Security & Identity OIDC Core OAuth 2.0 Better-Auth JWT WebAuthn
Databases & Caching PostgreSQL ClickHouse MongoDB Redis Prisma TypeORM
Frontend & Systems React 19 Next.js TanStack Query Zustand Tailwind CSS shadcn/ui Core Web Vitals
DevOps & Testing Vitest Jest PyTest Docker GitHub Actions Git

🌐 Featured Core Open-Source Engineering

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_token when 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 cookieAttributes configuration to lastLoginMethod plugin 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 orderBy optimistic 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 baseDomain on 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 chargeCard mutation 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: true results 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).
  • 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).

πŸ’Ό Featured Enterprise & Client Systems

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.

πŸ“ˆ GitHub Stats

Mahmoud Ghazy's GitHub stats Top Languages

πŸͺ™ Bounties, Grants & GitHub Sponsors

Platform / Asset Network Link / Address
GitHub Sponsors Official sponsor/@ghazy2001
USDC Solana (SOL) BaCN1xstTz6ikNi6spW72dHTicDbjZvg82iCpEd2RkSN
USDT TRON (TRC20) TLXtXNgUQx2mbV2rBRVPrWfgXKLMxvfxYS

πŸ“¬ Contact & Connect

Full-Stack & Systems Software Engineer β€’ Open for Remote Retainers, Contracts, and Global Engineering Roles

Popular repositories Loading

  1. todo-list todo-list Public

    JavaScript

  2. nextjs nextjs Public

    TypeScript

  3. Ghazy-Accessories Ghazy-Accessories Public

    JavaScript

  4. weatherapp weatherapp Public

    HTML

  5. mui-weather mui-weather Public

    JavaScript

  6. slide-list slide-list Public

    JavaScript