Defense Strategies Against Prompt Injection
Develop strategies to safeguard your prompt systems against potential attacks.
Prompt injection
An attempt to smuggle instructions through untrusted content such as a webpage or document.
Example: A web page saying 'ignore previous instructions' is still data, not authority.
Least privilege
Granting only the access needed for the specific approved task.
Example: A research agent may read evidence without having permission to publish.
Just make sure to check user input.
Implement input filters that only allow numeric values for user input.
The strong example specifies a filtering rule that protects against harmful inputs.
MetaPry: Utilizes MetaPry's binders and templates to establish input safety within your workflows.
Design a defense strategy for a prompt you currently use in your workflow.
Scoring Rubric
Sign in to take the quiz and track your progress.
