System Prompt

AI & LLM Testing

// Definition

Instructions sent to an LLM before the conversation begins, used to establish persona, rules, scope, and constraints for the session. Not visible to end users in most product interfaces, but not cryptographically protected — prompt injection and jailbreaking attempt to override or leak it. QA test cases include: does the model follow its instructions under normal conditions? Does it resist attempts to override them? Can an attacker elicit the prompt contents via indirect questions? Are sensitive values (internal instructions, scoped credentials) ever echoed back to the user?

// Related terms