Skip to content

Glossary: Coding with AI Assistants

Prompt injection

Instructions hidden in a file, web page or error message, such as a README comment telling AI assistants to upload your settings. An agent can mistake them for your orders, so stop it if it suddenly wants to do something you didn't ask.

Where the book teaches it

Related terms

AgentSandbox