Skip to content
View alirafiqmalik's full-sized avatar

Highlights

  • Pro

Organizations

@KhwarizmiLab

Block or report alirafiqmalik

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

Google Scholar LinkedIn Email Website

Formal methods, security, and research systems - from models to reproducible evidence

Hi, I'm Ali 👋

Ali Hamza Malik · PhD Candidate at UMass Amherst · Formal methods, security & research systems

I investigate how banking, quantum, and communication systems can fail - and build tools to check their behavior. At the Khwarizmi Lab, I work with Muhammad Taqi Raza on security verification. My projects span theorem proving, protocol analysis, agent evaluation, local inference, and the hardware I started with.

Research · AI & HPC · Tools · Hardware · More projects

Start here

  • 🔬 Certified Confinement - Lean 4 proofs and reproducible checks for tenant confinement in quantum-cloud circuits. Paper.
  • 🏦 Credit Without Debit - the ACM CCS 2026 banking-protocol artifact: executable ACH models, invariant checks, and counterexamples.
  • 🖥️ unity-hpc-controller - submit reproducible Slurm campaigns, recover interrupted attempts, and retrieve results incrementally.
  • 🔀 local-model-router - one local chat API for Ollama and Hugging Face, with heuristic routing, streaming, and a resource dashboard.
  • 🧪 agent-eval-hpc - configurable agent trials using Harbor, Apptainer, and local model serving, with inspectable trajectories and scoring artifacts.
  • 📲 esim-research-tools - inspect Android eSIMs, capture provisioning flows, generate protocol diagrams, and explore a local ecosystem simulator.
  • 🔍 logic-locking-lab - gate-level circuit transformations, BENCH/Verilog conversion, and oracle-guided SAT attacks from my final-year research.

Research & security

Formal verification & quantum systems

  • 🔬 Certified Confinement - check transpiler output against device connectivity and forbidden qubit regions, with a Lean-checked soundness theorem. Structural confinement; physical crosstalk is outside the guarantee.
  • 🏦 ACH Model Checking - nuXmv, IC3, and bounded model checking for payment invariants, with reproduction scripts and saved reference results.
  • ⚛️ Tamarin Quantum Protocol Bench - assemble symbolic quantum-protocol models, inspect generated theories, and check lemmas; a PQQS 2026 demo.
  • 🔐 Beyond the Quantum Promise - interactive web companion to my IEEE QCE 2026 talk, explaining QKD's classical control plane through an attack walkthrough.
  • 🧮 FV_GPU - experimental formal-verification workspace containing a Python SMT translation prototype and upstream prover sources.

Communication & network security

  • 📲 eSIM Research Tools - inspect Android eSIMs, capture provisioning flows, generate protocol diagrams, and explore a local ecosystem simulator.
  • 📶 Bluetooth Testbed - investigate multipoint audio switching with capture tools, SAPIC+ models, and device experiments.
  • 📡 NAS/RRC Control-Plane Monitor - capture and decode cellular signaling on a supported rooted Pixel; inspect measurement reports and handovers.
  • 🛡️ SDN Intrusion Detection - machine-learning experiments for network intrusion detection using Mininet, Ryu, and CloudLab.

Hardware security

  • 🔒 ENIGMA - logic-locking framework for Verilog circuits, with netlist parsing, locking transformations, and verification tools.
  • 🔍 Logic Locking Lab - gate-level circuit transformations, BENCH/Verilog conversion, and oracle-guided SAT attacks from my final-year research.

AI & research computing

  • 🖥️ Unity HPC Controller - Python/Slurm orchestration with frozen source bundles, GPU-aware placement, a durable SQLite journal, and CLI/MCP interfaces.
  • 🧪 Agent Eval HPC - configurable agent trials using Harbor, Apptainer, and local model serving, with inspectable trajectories and scoring artifacts.
  • 🔀 Local Model Router - one local chat API for Ollama and Hugging Face, with heuristic routing, streaming, and a resource dashboard.
  • 🧠 LogicTune - experimental DPO fine-tuning of control policies using formal-verifier feedback; includes a measured run and analysis of its lack of improvement.
  • 📚 NeetCode GPT - a GPT implementation assembled from my ML coursework, from neural-network fundamentals to attention and text generation.

Developer & research tools

  • 🧩 FSM Visual Tool - Svelte/TypeScript editor for Mealy, Moore, and communicating machines, with Graphviz layouts and portable diagram exports.
  • 📄 PDF Tutor - study PDFs with page summaries, quizzes, and notes, built with Cloudflare Workers AI and R2.
  • 📝 ResumeBuilder - generate LaTeX resumes from YAML, choosing content, layouts, and themes for different roles.
  • 📅 Security Deadlines - adapted conference-deadline site with topic filters and venue submissions, based on the community deadline projects.
  • 🌐 Personal Website - my Jekyll portfolio, with publications, project filtering, and dark mode. Visit.

Hardware & embedded systems

My earlier engineering work includes individual and team projects in digital design, robotics, and signal processing.

  • ⚙️ RV32I Processor on FPGA - undergraduate Verilog processor project for Intel Cyclone V, with datapath documentation and CoreMark integration.
  • 💻 Nucore Microprocessor - Verilog processor coursework with ALU, register-file, control, and instruction-memory modules.
  • ⭕ Bresenham Circle Accelerator - FPGA circle rendering with Verilog modules, VGA output, and testbenches.
  • ✏️ CNC Drawbot - Arduino-based drawing machine that translates G-code into stepper-motor motion.
  • 🚁 Event-Driven Swarm Configuration - collaborative UAV swarm-coordination project from my robotics research.
  • 🦾 Robotic Arm - microcontroller project with separate transmitter and receiver firmware and Proteus design files.
  • 🚨 ESP32 Fire-Alarm Detector - FFT-based sound detection with an ESP32-hosted web display.

More projects

This README links all 66 public repositories on my account as of October 27, 2026. Expand the groups below for earlier projects, research references, forks, and supporting repositories. Browse the latest inventory.

Earlier software, signal processing & coursework
  • 🕰️ Assembly Clock - graphical analog clock in x86 assembly, designed to run in DOSBox.
  • ☎️ DTMF Encoder/Decoder - MATLAB tone generation, filtering, and digit decoding.
  • 📊 FFT Display - signal-visualization coursework with MATLAB and Processing scripts.
  • 🎵 Music Player - MATLAB audio player with filtering and sound effects.
  • 💧 Water Flow Management System - digital-logic project with a Proteus design, report, and presentation.
  • 🔊 TCP Audio Transfer - C client/server code for transferring audio files over TCP.
  • 💬 CodeFest '21 Chatbot - intent-based chatbot project with Python model code and a PHP web interface.
  • 🎮 Tic-Tac-Toe AI - browser game with a JavaScript opponent.
  • 📑 Plagiarism Checker - small C++ text-comparison exercise.
  • 🌳 Data Structures & Algorithms - C++ exercises in stacks, expression evaluation, search trees, and sorting.
  • 🎓 TUKL Internship - text-classification experiments with embeddings, sequence classifiers, SVM, and Naive Bayes.
  • 📥 Data Scraping - Python document-download scripts, including a multiprocessing PDF downloader.
  • 🕸️ Web Scraping - Python/JavaScript scripts and notebooks for collecting web text, images, and links.
Research references, reproductions & archived notes

These repositories collect reference implementations, upstream code, and exploratory work. See each repository for its original credits and scope.

  • 🔐 KEMTLS / TLS 1.3 Tamarin - reference copy of KEMTLS protocol models derived from TLS13Tamarin.
  • 🔒 neos - copy of Kaveh Shamsi's netlist obfuscation/deobfuscation suite.
  • 🧮 SAT Sources - SAT-tool source and build workspace with logic-locking benchmarks and solver dependencies.
  • 🔗 Repeater Chain Optimisation - quantum-repeater protocol optimization code with paper-reproduction configurations.
  • ⚛️ simQKD - collection of QKD simulator resources, source references, and documentation.
  • 🖼️ MMSegmentation for Kaggle - my copy of OpenMMLab's semantic-segmentation toolkit for Kaggle work.
  • 📓 QKD Formal-Verification Notes - archived models, experiments, and notes from earlier quantum-protocol work.
Public forks

Forks of other teams' projects, listed separately from my own work; inclusion here does not imply an upstream contribution.

Profile, site history & placeholders

GitHub stats

GitHub overview: public repositories, non-fork repositories, stars on non-forks, and followers. Language chart covers six selected projects. Counts and collection date appear in the card; the linked snapshot contains all values.
About the numbers · sources & scope

Account totals cover public repositories; stars exclude forks. Non-forks can include upstream copies. The language chart covers Certified Confinement, ACH Model Checking, Unity HPC Controller, Agent Eval HPC, Local Model Router, and eSIM Research Tools. Percentages use GitHub-reported code bytes, including any counted vendor code, and describe repository composition rather than personal contribution.

The card refreshes weekly. Snapshot data · Generation script


Interested in formal verification, protocol security, or research infrastructure? Let's connect.

Pinned Loading

  1. LogicTune LogicTune Public

    Fine-tune LLMs to write autonomous-driving controllers that pass formal verification. Responses are parsed into automata, model-checked against 15 LTL specs with nuXmv, and ranked for iterative DPO…

    Python

  2. ENIGMA-Logic-Locking-Framework ENIGMA-Logic-Locking-Framework Public

    Verilog

  3. Bresenham-Circle-Algorithm-Hardware-Accelerator Bresenham-Circle-Algorithm-Hardware-Accelerator Public

    Verilog

  4. cf_ai_mini_pdf_tutor cf_ai_mini_pdf_tutor Public

    JavaScript 1

  5. SDN-Based-Machine-Learning-IDS SDN-Based-Machine-Learning-IDS Public

    Python

  6. Assembly-Clock Assembly-Clock Public

    Assembly