Lazo Lab Sign up

Git, AI Tools & Your Career / Coding with AI

Lesson 19 of 32

AI and security

Never paste passwords, API keys or private data into AI tools. Watch out for prompt injection, where hidden instructions in web pages or files try to hijack an AI.

Key points

  • Keep secrets out of prompts
  • Prompt injection is a real attack
  • Treat AI output as untrusted input
Watch a video on thisOpens YouTube search results for “AI and security” in a new tab

Quiz · +10 XP

What should you never paste into an AI chat?

Log in to save progress and earn XP.