Skip to content
View WaqarAnwar's full-sized avatar

Block or report WaqarAnwar

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

Muhammad Waqar Anwar

Senior Python Engineer · AI & Security Systems

Building RAG pipelines, LLM tooling, and secure Python backends

LinkedIn · Email · Karachi, Pakistan (UTC+5)


👋 About

  • 🤖 Focused on LLMs, RAG, and hybrid search
  • 🔐 Passionate about AI security and safe, reliable Python
  • 🌍 Open-source contributor to Microsoft PyRIT

🌟 Open Source: Microsoft PyRIT

Merged contributions to Microsoft's toolkit for red-teaming generative AI systems.

S No. PR Contribution Impact
1. #3702 Rewrote ShellCommandOutputScorer's destructive-shell regex to run in linear time using atomic groups Fixed a ReDoS that blocked the event loop: 29 s → 0.4 ms
2. #3697 Applied Git's racy-timestamp rule to the scorer metrics cache Ended stale GUI metrics and a flaky test
3. #3770 Added assert_type regression checks for Registry.get_registry_singleton Locks in correct Self return typing
4. #3830 Made the MetricsType dispatch in from_csv exhaustive, using match plus assert_never. An unhandled new MetricsType now fails type checking instead of silently becoming an objective entry.
5. #3959 Swapped asyncio.gather for asyncio.TaskGroup in the Anthropic evals file fetches One failed fetch now cancels the rest and surfaces the original error
6. #3983 Made runtime shutdown, live apply, evals fetches and scenario error reporting handle every failure in an exception group Shutdown still cleans up on mixed cancel/error groups, and every failure in a group is now reported
7. #4038 Made the scenario queue handoff start a queued run when a retry finds the run already saved as IN_PROGRESS with the start time the scheduler gave it. It now compares start times as datetimes, and cancelling a queued run also cancels an IN_PROGRESS row Queued scenario runs no longer get stuck IN_PROGRESS with nothing running them after a failed handoff, and cancelling one in that window now works (closes #4036)
8. #4535 Added a loader for AI2's WildJailbreak dataset. By default it loads the 2,000 adversarial harmful prompts, and the large training set can be added if you ask for it PyRIT users can now test models against real-world jailbreak prompts in one call (closes #4511)

🚀 Projects

LogBrief — Query application logs in plain English

Hybrid retrieval (FAISS + BM25 + RRF), local LLM answers via llama-cpp-python, Drain3 clustering, stack-trace parsing across 13 languages, and live log tailing.

SkillScope — Job-market intelligence pipeline

Scrapy spiders with polite crawling, NLTK skill extraction, scikit-learn role clustering, a multiprocessing MapReduce counter, served via CLI and FastAPI.

Resume Flow V2 — Two-stage AI CV ranker

Semantic filtering with sentence-transformers plus LLM fit scoring, streamed live over SSE. Ranks ~3,000 CVs in under 6 minutes.

Infant Cry Detection (FYP 2021) — Real-time audio classifier

Trained on 3,370 labeled samples; best model reached 85% real-time accuracy on live 5-second clips.


🛠️ Skills

Area Stack
AI / ML LLMs · RAG · Prompt Engineering · FAISS · BM25 · RRF · sentence-transformers · llama-cpp-python · OpenAI API · NLP · Drain3 · scikit-learn
Security Secure SDLC · Code Review · Malicious Code Detection · JWT · RBAC · Rate Limiting
Languages Python · Go · JavaScript
Backend Django REST Framework · Django · Flask · FastAPI · Celery
Data PostgreSQL · MySQL · pandas
DevOps Linux · Docker · AWS S3 · CI/CD · Git
Other CLI Tools · Python Libraries

🎓 Education

B.E. Computer Engineering · Bahria University, Karachi · 2021


⭐ Open to collaborating on AI security, RAG, and open-source Python.

GitHub Stats

Popular repositories Loading

  1. Audio_Denoiser_from_Video-Python_AI Audio_Denoiser_from_Video-Python_AI Public

    A very basic audio denoiser from a video using AI technology DeepFilterNet

    Python 6 2

  2. Task-Manager-CRUD-Angular15-MEAN-Stack Task-Manager-CRUD-Angular15-MEAN-Stack Public

    A basic Task Manager Web Application developed on MEAN Stack with Angular version 14.

    TypeScript 4 2

  3. Pharmacy-Management-System Pharmacy-Management-System Public

    Forked from LalanaChami/Pharmacy-Mangment-System

    👨‍💻 🏥 MEAN stack Pharmacy Management system.

    TypeScript 2

  4. Audio_Denoiser_from_Video-Python Audio_Denoiser_from_Video-Python Public

    A very basic audio denoiser from a video

    Python 1

  5. Coursera_Machine_Learning_Specialization_Jupyter_Notebook_Labs Coursera_Machine_Learning_Specialization_Jupyter_Notebook_Labs Public

    These are the Jupyter Notebook Labs (.ipynb) of Machine Learning Specialization on Coursera

    Jupyter Notebook 1

  6. Resume_Flow_AI Resume_Flow_AI Public

    Rank resumes of candidates based on relevancy of the job description using DeepSeek API and Django.

    Python 1