The Demise of a Unicorn

It’s heartbreaking to see a successful company falling apart as fast as Lacework (shortened to LW in this article). In this blog, I’ll analyze the demise from the following aspects: Reasons for the downfall Early warning signs (aka “what could have told me as a new hire that this would be an issue”) What I could have done to stop the downfall If the answer is no, what were early signals of a downfall Note, The Information has an excellent report on Lacework’s fire sale. Unfortunately, it’s behind a hefty subscription wall. ...

March 8, 2025 · 8 min · 3630 words · Ao Zhang

Lessons from a Recent Job Hunt

It’s been humbling 3.5 months during my recent job hunt. I finally landed a job, and this is what I learned about interviews from a candidate’s experience. My Background I brought 9 years of experience: 8 at a FAANG company and 1 at a Series D startup. After the startup’s acquisition, I took a break before job hunting. I focused mainly on Engineering Manager (EM) and Tech Lead Manager (TLM) roles in security, with one exception. ...

December 18, 2024 · 3 min · 1042 words · Ao Zhang

Engineering Manager Interview: People Management

People management interviews for engineering managers test your ability to lead, mentor, and grow high-performing engineering teams. These interviews assess how you handle scenarios ranging from performance management and career development to conflict resolution and team building. While sample questions are readily available online, this guide focuses on analysis and preparation strategies based on real experience. Key Interview Areas and Sample Questions Talent Growth and Management Interviewers assess how you develop and manage talent across different performance levels. They typically focus on: ...

December 10, 2024 · 2 min · 977 words · Ao Zhang

Engineering Interview Prep: Questions for the interviewer?

So you’ve aced the interview and the interviewer was visibly happy about your performance. Here comes the last part of the interview. Interviewer: “Now it’s your time. Any question for me?” Sure you can probably spin something up on the spot, but you are deciding whether you are going to (typically) spend the next few years of your precious career at a company, and before you make that decision, you are offered an opportunity to learn about it from an internal perspective. Why squander away that opportunity due to sheer unpreparedness? ...

October 3, 2024 · 3 min · 1013 words · Ao Zhang

Engineering Interview Preparation Guide: Behavior

Disclaimer This post is based entirely on my understanding of what makes an ideal candidate. Different companies will have their own definitions and consequently questions. For example, a classic behavioral question is: Why do you want to work at ? I’ve used this question in some of my early interviews, but I don’t think it yielded great results. The main issue is that it prompts candidates to focus too much on the company they’re applying to (e.g., “ is a world leader in industry X”) rather than on themselves (e.g., “I’ve done A, B, and C, which are exactly what you need”). Another classic question I’m not fond of is: ...

September 6, 2024 · 4 min · 1801 words · Ao Zhang

ProdSec Interview Prep Guideline: Coding

Security engineering is a hybrid discipline that blends bug finding with coding. While security engineers are typically expected to have coding skills, the bar is often lower than that set for software engineers. That said, I’ve seen many security engineers who write exceptional code, and my own coding ability proved invaluable during my time in SecEng. However, you don’t need to excel at every tough Leetcode problem to succeed in a security engineer coding interview. What’s more important is demonstrating that you can write effective scripts for practical, everyday scenarios, such as: ...

September 4, 2024 · 4 min · 1727 words · Ao Zhang

ProdSec Interview Prep Guideline: Code Review

This type of interview is intended to test your code review skill. You will be presented with a piece of codes, review them, identify security vulnerabilities, and suggest fixes. Evaluation usually happen on 4 aspects: Code Navigation: speed: can you read codes in reasonable speed understanding: can you explain what those codes do methodology/habits: do you have a finely tuned method for code review Bug Identification: comprehensiveness: can you identify most, if not all, security vulnerabilities exploitation: can you explain how those bugs can be exploited Fix suggestion: resourcefulness: can you suggest bug fixes, sometimes in more than one way automation: can you suggest how those bugs can be auto detected and/or prevented Communication explanation: can you explain all those to a developer who has little security experience Those 4 aspects tend to have the same weight, although the hiring manager may also have their own heuristics for different levels. Here’s an example heuristic I’ve used before: ...

August 30, 2024 · 5 min · 2026 words · Ao Zhang

Bypassing the Great Firewall: A Case Study in VPN Deployment and Limitations

China’s Great Firewall (GFW) is a formidable barrier, effectively restricting domestic access to external internet resources. While the broader implications of this censorship are beyond the scope of this post, I want to share a recent experiment that highlights some challenges in circumventing it. The premise was straightforward: deploy a VPN server on an EC2 instance with a public IP address, and use that IP address within China to bypass the GFW. To expedite the process, I utilized a well-regarded repository for setting up an IPsec VPN: GitHub – hwdsl2/setup-ipsec-vpn. Using their CloudFormation template, I launched a t2.micro instance in the ap-southeast-1 region. The deployment was seamless, and the output included a .mobileconfig file, easily importable into MacOS for VPN configuration. ...

August 25, 2024 · 1 min · 414 words · Ao Zhang

The basics: Primer on C++ Type Casting

In C++ we usually deal with 6 types of type casting: implicit type cast explicit type cast static_cast dynamic_cast reinterpret_cast const_cast For the sake of my discussion, I’ll exclude const_cast upfront. const_cast sets/unsets the const-ness of a pointer, and it has limited security implication. For the remaining 5 types of casts, it’s useful to put them in a table for easy reference: Now let’s dive into each: ...

July 8, 2024 · 2 min · 753 words · Ao Zhang

Top 3 communication mistakes in interviews

Not answering the interviewer’s question Remember? The interviewer asked you a question and you didn’t know the answer, so you danced around it and rambled about other topics with lots of made-up enthusiasm. Remember? You were too excited for a question because you had loads of tales to tell. You started elaborating the prehistory of the topic, the gossips you’ve heard in micro-kitchen, and the funny story that came along the ...

June 26, 2024 · 2 min · 678 words · Ao Zhang

Product Security Engineering Interview Preparation Guideline: 0/N

A little bit about myself: I’ve spent 10 years in the security industry and hiring has always been my passion. I’ve conducted over 500 interviews in both FAANG and startup environments, was part of hiring committees for my team and other teams, and built hiring pipelines for specialist roles. Here I’m creating a series for security engineering interview preparation, in the hope that it can help you to prepare better for interviews. ...

June 26, 2024 · 1 min · 211 words · Ao Zhang