Skip to content
View seotarek's full-sized avatar
🌑
Working from 'Moon
🌑
Working from 'Moon

Block or report seotarek

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
seotarek/README.md
Tarek Mohamed — Principal Software Architect, AI Systems & Security Researcher

Website DOI PyPI npm medorqis Discord

Principal Software Architect · AI Systems & Security Researcher · Systems Engineer
Designing deterministic AI agent architectures, sub-millisecond prompt-injection firewalls, high-performance graphics engines in Rust, and mission-critical distributed platforms across Python, TypeScript, Kotlin, and PHP/Laravel.


🔬 Featured Research & Publications

DOI PyPI Hugging Face Spaces Docs License: MIT

  • Threat Model: Autonomous AI agents executing tool calls via the Model Context Protocol (MCP) and external APIs are critically exposed to Indirect Prompt Injection (IPI), homoglyph evasion, and multi-turn crescendo jailbreaks embedded in untrusted external data streams.
  • Defense Architecture: A sub-millisecond (< 0.1 ms) three-tier security pipeline combining deterministic syntactic isolation, semantic intent heuristics, and a least-privilege execution policy firewall.
  • Empirical Verification: Achieved a 100.0% mitigation rate across adversarial benchmark suites with zero false positives on benign clinical, financial, and developer workflows.
  • Published Artifacts: Permanent DOI 10.5281/zenodo.22731104 · PyPI Package (pip install lightguard-agent) · Interactive Playground · Paper Manuscript

🚀 Flagship Architectures & Agent Ecosystems

PyPI Hugging Face Playground Docs DOI

Sub-Millisecond AI Agent Security Firewall

Universal runtime protection for LLM tool-calling loops and MCP workflows. Defends against indirect prompt injection, unicode homoglyphs, and unauthorized tool escalation with zero external LLM latency overhead.

Python · MCP · AI Security · PyPI · <0.1ms Latency

Skills CLI WCAG 2.2 AAA W3C DTCG BiDi RTL

Deterministic Interface Engineering & Runtime Gate Architecture

Compiler-grade design system governance and static analysis gates for AI coding agents (Claude Code, Cursor, Codex, Antigravity). Enforces WCAG 2.2 AAA APCA contrast, W3C DTCG tokens, CSS Logical BiDi/RTL parity, and finite-state UI completeness.

Python · Agent Skills · WCAG 2.2 AAA · RTL/BiDi · FSM

Live Catalog npm Skills CLI 36/36 Passed

Evidence-Grounded Medical AI Skills Ecosystem

Modular clinical informatics ecosystem featuring 24 risk-stratified medical AI skills (IEC 62304 Class A/B/C), 12 zero-token deterministic clinical calculators (ESC 2024 CHA₂DS₂-VA, CKD-EPI 2021, Bedside Schwartz, NEWS2, HAS-BLED, DDI Engine), epistemic provenance locks, and 126-case multilingual negation benchmarks.

Python · Clinical CDS · MCP Server · ISO 14971 · Skills CLI

Android Kotlin Zero-Knowledge Material 3

On-Device Zero-Knowledge Fraud & Phishing Engine

Privacy-first Android security engine analyzing SMS, links, and social engineering patterns completely on-device with zero cloud telemetry. Built with clean architecture, Kotlin Coroutines, Jetpack Compose, and Material 3.

Kotlin · Jetpack Compose · Android Security · Zero-Knowledge


🦀 Major Open Source Contributions

PhotoCraft Engine — Core Systems Contributor

High-performance, professional digital creative and graphics studio engine written in Rust.

  • Memory Safety & Extreme-Canvas Stability: Hardened high-resolution canvas trimming and multi-layer duplication against out-of-memory panics on ultra-dense canvases exceeding $2^{30}$ (1 billion+) render pixels.
  • Photoshop Actions (.atn) Binary Engine: Architected deterministic binary .atn recording and export pipelines, normalizing active layer references at record time, eliminating dangling numeric identifiers, flushing pending recording buffers on save, and validating complex geometric selections.
  • Compositing & Rendering Mathematics: Eliminated exterior stroke bleeding into opaque glyph interiors across transparent raster/vector surfaces, and engineered dynamic brush-diameter blur sigma scaling for mathematically uniform stroke feathering.
  • Cross-Platform Desktop Runtime: Hardened global snapping and smart guide engines for deterministic view-state synchronization across Linux, macOS, and Windows, and integrated native clipboard support for macOS modal dialogs.

FastMCP (PrefectHQ) — Framework Contributor

The standard framework for building Model Context Protocol (MCP) servers in Python and TypeScript.

  • Content-Negotiation Cache Isolation: Engineered HTTP Accept header cache partitioning for list operations, preventing cross-format cache pollution and decoupling test dependency injection.

🛠️ Production MCP Servers & Developer Tooling

Project Domain Architectural Highlights
mcp-arabic-toolkit Arabic NLP & MCP High-performance MCP server providing Arabic text normalization, morphological processing, diacritization (Tashkeel), and dialect classification for AI agents.
mcp-postgres-guard Database Security & MCP Secure PostgreSQL MCP server featuring read-only transaction sandboxes, AST-level SQL injection prevention, and automated slow-query EXPLAIN auditing.
agentic-rag-faithfulness LLM Evaluation Sub-millisecond evaluation engine measuring RAG groundedness and detecting entity/negation hallucinations across Arabic and English retrieval pipelines.
laravel-llm-router Enterprise PHP / AI Modular Laravel 11 package for multi-provider LLM routing, token budget enforcement, circuit-breaker failover, and semantic response caching.
laravel-pgvector-eloquent Vector Search Native PostgreSQL pgvector integration for Laravel Eloquent with cosine/L2/inner-product distance scopes and automated HNSW index migrations.
prompt-injection-detector-action DevSecOps CI/CD GitHub Action security gate that audits agent system prompts, SKILL.md manifests, and MCP tool schemas for injection vulnerabilities on every pull request.
unified-whatsapp-webhook-gateway Distributed Messaging High-concurrency webhook orchestrator bridging Evolution API and WAHA with multi-tenant CRMs, WooCommerce, and automated AI handoff queues.
zero-downtime-db-sync Data Infrastructure Resilient streaming database migration and verification CLI for zero-downtime synchronization across MySQL, PostgreSQL, and SQLite.

💻 Technical Mastery & Architecture Stack

Engineering Pillar Core Languages, Engines & Frameworks
Systems & Graphics Engineering Rust, C++, WebAssembly (WASM), SIMD Vectorization, Binary Format Parsers (.psd, .atn), egui, Memory-Safe Concurrency
AI Agents, MCP & Security Python, Model Context Protocol (MCP / FastMCP), Agent Skills (SKILL.md), Prompt Injection Firewalls, Clinical CDS, PyTorch
Distributed Cloud & Backend TypeScript, Node.js (NestJS), Python (FastAPI), PHP 8.3+ / Laravel 11, High-Concurrency WebSockets, REST & JSON-RPC 2.0
Data, Vector & Caching Layers PostgreSQL (pgvector), Redis, MySQL, SQLite, Hybrid Dense + BM25 Retrieval, Reciprocal Rank Fusion (RRF)
Mobile & Frontend Systems Kotlin (Jetpack Compose, Coroutines, Material 3), Next.js 15, React, Tailwind CSS, Logical CSS BiDi/RTL, WCAG 2.2 AAA
DevSecOps & Infrastructure Docker Swarm, Traefik v3 Edge Proxies, Linux Kernel & CloudLinux Hardening, Ansible, GitHub Actions CI/CD

🤝 Enterprise Architecture, Research & Consulting

I partner with engineering organizations, healthcare innovators, and technology leaders on:

  • Securing Autonomous AI Agents & MCP Ecosystems: Designing deterministic runtime gates, custom MCP servers, and sub-millisecond prompt-injection firewalls.
  • High-Performance Systems & Distributed Platforms: Architecting Rust engines, multi-tenant SaaS platforms (Next.js / Laravel / FastAPI), and zero-downtime cloud infrastructure.
  • Specialized Domain AI: Building verified, regulatory-aware AI systems for clinical informatics, Arabic NLP, and RTL-first enterprise products.

Start a Project    Discord    Email Me

Pinned Loading

  1. LightGuard-Agent LightGuard-Agent Public

    A lightweight multi-tier defense architecture against indirect prompt injection in tool-calling AI agents and MCP workflows.

    Python

  2. orthotect orthotect Public

    Deterministic Interface Engineering & Runtime Gate Architecture for AI Coding Agents (Claude Code, Cursor, Codex, Antigravity). WCAG 2.2 AAA, DTCG Tokens, CSS Logical BiDi, FSM.

    Python 2

  3. photocraft photocraft Public

    Forked from storytold/photocraft

    PhotoCraft: An open-source, photo editor written by scratch in pure Rust

    Rust 1 1

  4. MedOrqis MedOrqis Public

    MedOrqis — Medical AI Skills Ecosystem: 24 Specialized Clinical AI Skills, Deterministic Safety Guardrails & Zero-Token Calculators

    Python 1

  5. whatsapp-desktop whatsapp-desktop Public

    WhatsApp Web desktop client for Linux with tray integration, native notifications, custom fonts, and Arabic text fixes.

    JavaScript