About Viraj Rana
Hi, I'm Viraj, and I work as an AI Engineer. Over the past 6 years I have worked across artificial intelligence and software engineering, from training and evaluating models to shipping LLM-powered products to real users.
Most of what I write is motivated by problems I run into in practice. I like to read the paper or the source, build a small working version, and then figure out where it breaks. Working code doesn't lie, and it usually exposes details that are easy to miss in a diagram.
Lately, a lot of my attention has gone to the security side of AI-assisted development: what kinds of vulnerabilities coding assistants and agents introduce, how to review AI-generated code effectively, and how to put guardrails around agents that can read, write, and execute code.
Where to start
If you are new here, start with Security Vulnerabilities in AI-Generated Code, a practical guide to the most common flaws assistants introduce and how to catch them. All other articles are listed in the Blog Archive.
Elsewhere
Most of my open-source code is on GitHub. My site is at viraj-rana.github.io/site, and you can reach me at hackteck404@gmail.com.