Hasnain Lakhani

Software Engineer at Facebook

I am an engineer who's extremely passionate about people: nothing makes me happier than mentoring people and seeing them grow. I like to bring this passion into what I do at work, and write innovative software systems which help people improve their knowledge and skills, in a friendly, understandable manner. Several years of experience (across research and industry) have taught me to focus on the basics: If what we build isn't easy to use, or doesn't excite people, it won't get utilized. I brought that into my current role: I work on a team of incredibly smart engineers who are building easy-to-use, scalable dynamic analysis tooling to revolutionize how teams at Facebook approach software security.

Software Engineer, Dynamic Analysis

Tech lead for the dynamic analysis team. Working with teams to adopt fuzzing, building and scaling our infrastructure, and finding ways to get better fuzzing results.

Engineering Manager, Dynamic Analysis
SEP 2018 - MAR 2021

Tech lead + manager, grew the team from 1->7 engineers as we built out a new fuzzing platform to meet growing internal demand. Primarily focused on career growth, supporting people, and hiring; spent the rest of my time on technical direction and collaboration.
Ended up building the team I always dreamed of working on as an engineer, and realized I wanted to be more hands on, so I transitioned back to being an engineer.

Software Engineer, Dynamic Analysis
JUN 2016 - SEP 2018

First engineer on the Dynamic Analysis team. I was the primary engineer responsible for Invariant Detector, which automatically learnt privacy rules and enforced them; along with another internal auditing and alerting system. Eventually lead a small team focusing on various analysis projects to discover security bugs; moving on to build Facebook's fuzzing infrastructure to help find security bugs in native (C/C++) code.

Software Engineer, Ads Reporting Backend
OCT 2014 - JUN 2016

Worked on the ads and pages reporting backend team to deliver high quality realtime insights to advertisers. I owned large scale data migrations from a legacy backend to a next-generation one, and focused on scaling challenges.

SRI International
Software Engineer
OCT 2013 - OCT 2014

Designed and implemented of usable, efficient security protocols for next-generation content-centric mobile networks. Developed, tested, evaluated, and simulated code across physical and virtual devices. Wrote integration testing frameworks of code from various teams and was the owner for released. Created scriptable analytics frameworks for testing and experiment analysis. This work lead to four conference publications, and the code was open sourced. Prototyped LLVM based application specialization.


  • Researched computer networks, systems, and data provenance at LUMS from June 2011 to June 2013.
  • Studied authorization protocols as an International Fellow at SRI International from Aug 2012 to Jan 2013.
  • Part-time CTO for Anahata Solutions from June 2010 to May 2013. I developed the initial line of apps.
  • Teaching assistant for Discrete Mathematics (Fall 2011), Data Structures (Spring 2012) and Network Security (Spring 2013) at LUMS from August 2011 to May 2013.