Lion Cipher Lab

Check before you paste: a ten-second secret and personal-data check for anything you send to an AI chat

Why it matters

The most common way secrets reach an AI service is not an attack: it is a person, stuck on a problem, pasting an error message or a config file that happens to contain a key, an address or someone's email. OWASP's guidance on sensitive information disclosure says users may unknowingly submit sensitive data and recommends scrubbing and validating input. Companies can add controls on their side, but the cheapest control is the moment before you press paste. A short script that looks for the obvious things takes ten seconds and catches the careless mistakes that cause most leaks.

What you'll learn

Steps in this lab

  1. How secrets end up in chats
  2. Make a messy draft and a clean one
  3. Write the checker
  4. Run it on both drafts
  5. Find what it misses
  6. Make it a habit
  7. Clean up

Open the full interactive lab →

Keep learning