R. Miles McCain

New York & San Francisco

I want to make the world more secure, transparent, and safe. Right now, I’m focusing on AI safety, integrity, and “sociotechnical alignment.”



I worked on election security at CISA/DHS, privacy engineering at Apple, trust and safety at the Stanford Internet Observatory, AI policy in collaboration with OpenAI and the Cornell Tech Policy Institute, and digital infrastructure with some newsrooms.

At Stanford, I taught CS 106S (Coding for Social Good) and I co-directed the Stanford Security Clinic. I’m an alum of the Recurse Center, I had an app (but we sold the business), and I worked on cyber policy for a 2020 presidential campaign.


My projects, research, and commentary have appeared in several outlets including the New York Times, the Washington Post, NBC News, TIME, Foreign Affairs, Brookings TechStream, Lawfare, the Nightly News with Lester Holt, and elsewhere. I’ve also spoken at a few conferences, including DEF CON and RightsCon.

For more information, check out my portfolio.


You can email me at [email protected]. I’m on GitHub and Twitter. Need help with one of my open source projects? Stop by my office hours.

Recent Writing

Hi! If you made it this far, maybe you want to stay in touch. You can follow me on Twitter, subscribe via Atom/RSS, or sign up for my infrequent email letter.

© R. Miles McCain 2024. Content is licensed CC BY-SA 4.0, a Free Culture License. The source code is available under GPLv3. This site collects (minimal) visitor analytics. This page is also available via RSS.