Skip to content

Series

Prompt injection in LLM applications

What happens when the content an LLM application reads tries to give it orders, and how to keep it in check: first by keeping instructions apart and guarding each step of the call, then by having a separate judge read the input before the model does.

  1. Part 1

    Content is not an instruction: prompt injection countermeasures in Laravel AI

    How a line of hidden text in a CV can steer an LLM-based screener, and the countermeasures from LLM Application Engineering that limit it: separate instructions, checks before and after the call, least privilege and approval gates.

  2. Part 2

    Who judges the input: screening prompt injection with Laravel Judgment

    Putting a separate judge in front of an LLM-based CV screener: Laravel Judgment asks Jev whether a CV contains instructions aimed at the machine, and the application decides what to do with the answer.