Image unavailablePortrait pending
Chapter 6 of 7
No keys left in the door
“This is the story of how my gran’s website got flooded with spam: I pasted a key into the code and published it. That file has four traps. Find them before you show it to any AI.” PATO
Encrypted transmissionThe video is coming soon. The chapter reads and plays just the same.
Golden rule: never paste a password, a key or personal data into an AI or into your code. Everything here is made up: the places, the code and the keys. Nothing you tick leaves your browser.
// PATO
“Four out of four. And the hidden comment is the sneakiest: text trying to give the AI orders. Remember: what you paste into an AI can leave your house. What you publish definitely does.”
What you take away
- Never paste passwords, API keys or personal data into an AI or into public code.
- If a key has been published, it’s no good any more: it has to be changed.
- Keys belong on the server, never in the HTML or JS everyone can see.
- Text can hide instructions to manipulate the AI; check what you feed it.
- Before publishing, go over the code looking for what shouldn’t be there.