DevPrep

All topics › AI-assisted development

Security and privacy when developing with AI

Senior PRO

Essence

AI amplifies two old problems and adds a new one. The old ones are secrets in code and insecure data storage: the model reproduces what was common in its training data, and "paste your API key here" examples are everywhere. The new one: everything you send to a cloud model leaves your machine.

The rest of this answer, with code and interview follow-ups, is in the DevPrep app.

Read the full answer in DevPrep

Practice this before your interview

DevPrep turns these answers into one-minute challenges: what does this code print, find the bug, mock interviews. One challenge a day.

Get DevPrep on the App Store