Skip to content
View Mehdi-Abidi's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report Mehdi-Abidi

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. 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
mehdi-abidi/README.md

Mehdi Abidi

Typing intro

Portfolio LinkedIn Email LeetCode CV

Profile views Followers Stars

About me

I'm Mehdi, a CS graduate from FAST NUCES Karachi working on AI security. Most of my time goes into runtime guardrails for LLM agents. That means stopping prompt injection, keeping tool calls inside policy and making sure every model request can be traced back to whoever sent it. Lately I've also been looking at attacks that hide in places a text filter never sees, like code-mixed prompts and words written inside images.

I finished my degree in eight semesters with a 3.85 CGPA, four gold medals and four spots on the Rector's list.

  • Working on: guardrails, policy engines and LLM routing for production agents
  • Researching: multilingual jailbreak detection, typographic attacks on vision-language models and AI coding assistant governance
  • Leading: IEEE FAST NUCES student branch as President (2025 to 2026)
  • Teaching: TA for Computer Networks, Theory of Automata, Discrete Structures and COAL
  • Open to: research collaborations in LLM security and AI safety

Featured projects

Project What it does Built with
LangCode 2027 Task 2 Flags unsafe prompts written in code-mixed and transliterated text across 10 scripts, for the NAACL 2027 LangCode shared task. A logistic probe on the frozen hidden states of Qwen3-8B lifts the Safety Score from 44.55 (zero-shot) to 79.03, with no fine-tuning. Qwen3-8B, PyTorch, Transformers, scikit-learn, Kaggle
PixelGuard A controlled study of text written inside images. It asks whether blur, JPEG and OCR inpainting protect vision-language models against false labels as well as they do against injected commands, and what those defences cost. Qwen3-VL, SmolVLM, OpenCV, COCO, TextVQA
SecureSphere-LLM Security middleware between VS Code and AI coding assistants. It catches prompt injection, jailbreaks and leaked secrets, redacts PII and logs every request. Final year project, nominated for Best FYP. Node.js, NeMo Guardrails, Presidio, FastAPI, React
JComit Private finance agent for the Nebius x NVIDIA hackathon. It redacts your statements locally and runs Nemotron inside a sandbox that can reach nothing else. Python, NVIDIA Nemotron, OpenShell, Docker
Hybrid Job Recommender Two tower retrieval, LambdaMART ranking, then an LLM that reorders the shortlist and explains each match. PyTorch, FAISS, XGBoost, Llama 3.1, FastAPI, Next.js
PathoChat 2.0 Pathology assistant that answers only from its textbooks and says "I don't know" otherwise. Later rebuilt as an n8n agent. LangChain, Mistral-7B, FAISS, n8n, Pinecone
Fingerprint Matcher Identifies a person from a phone photo of their thumb, with a Kotlin Android app. U²-Net, OpenCV SIFT, Flask, PostgreSQL, Kotlin
AQI Predictor Forecasts Karachi's air quality 72 hours ahead, with hourly features and daily retraining on Actions. scikit-learn, Hopsworks, GitHub Actions, SHAP
BotTax and US TaxPatriot Voice enabled GPT-4 tax assistants that cite the document and page behind each answer. GPT-4, LangChain, Pinecone, Streamlit

Research in progress

  • Script-invariant intent probing: our LangCode 2027 Task 2 entry on multilingual adversarial prompt detection. A probe on layer 24 of a frozen Qwen3-8B reaches 79.03 on the dev set. Paper due February 2027.
  • Typographic context vs instruction: do cheap image defences protect VLMs against both? It covers 200 COCO images, three open VLMs, six defences and an attacker who knows the defence. Draft due 28 November 2026.
  • SecureSphere-LLM: an identity aware interception proxy with programmable guardrails for AI coding assistants. It blocks 31 of 31 attack prompts at a 66 ms median. Targeting the NAACL 2027 LangCode workshop.
  • NexusHire: a candidate side decision support layer over a five stage job recommendation cascade covering 123K postings. Targeting ACM RecSys 2027.

Honours

  • Four time gold medalist at FAST NUCES, Rector's list four times, Dean's list three times
  • Top 5 teams at the AgentX Hackathon (Astera Software, California)
  • Nebius x NVIDIA Global AI Hackathon 2026 entry with JComit
  • Special honour in the International Computer Science Competition 2026 qualifier
  • Perfect 50 out of 50 on the Data Structures and Algorithms final
  • Stanford Supervised Machine Learning (99.66%) and DeepLearning.AI CNNs (98.87%)

Tech stack

AI and LLM security

LangChain LangGraph NeMo Guardrails Presidio OpenAI Anthropic Hugging Face MCP Temporal n8n Pinecone FAISS pgvector

Machine learning

PyTorch TensorFlow Keras scikit-learn XGBoost OpenCV Pandas NumPy Jupyter Streamlit

Languages, web, data and cloud

Languages and tools

GitHub stats

Profile details

Stats Productive time

Repos per language Most commit language

GitHub streak

Trophies

LeetCode

LeetCode stats

Contribution snake

Contribution snake

Popular repositories Loading

  1. Navigator-Hub Navigator-Hub Public

    A React-based portfolio website utilizing React Router for navigation and GitHub API for dynamic content. Demonstrates skills in HTML, CSS, JavaScript, React, Bootstrap, Tailwind, and Vite, with a …

    JavaScript 3

  2. TetrisGame-in-C-language TetrisGame-in-C-language Public

    C 2

  3. mehdi-abidi mehdi-abidi Public

    2

  4. Multi-Single_Player_SnakeGame Multi-Single_Player_SnakeGame Public

    A classic Snake game implemented in C++ with both single-player and multiplayer modes. The game features three unique levels, customizable settings, and a scoreboard to track high scores. It uses A…

    C++ 2

  5. Memory_Matching_Game-in-C- Memory_Matching_Game-in-C- Public

    A console-based Memory Matching Game in C++ with randomized card placements and score tracking. Players match card pairs within limited attempts. Features include multiple rounds, increasing diffic…

    C++ 2

  6. PingPong-In-Assembly-Language PingPong-In-Assembly-Language Public

    A console-based Ping Pong game implemented in x86 Assembly language using Irvine32.inc. Features include two-player controls, adjustable difficulty levels, and real-time game statistics. Demonstrat…

    Assembly 2