OWASP identifies two primary prompt injection types: Direct Prompt Injection, where attackers explicitly embed malicious instructions in user input, and the more dangerous Indirect Prompt Injection, where hidden commands are embedded in external content like documents or webpages processed by the LLM.