Prompt Library ⚡ Productivity AI Agent Security Checklist
GPT-4o ⚡ Productivity Advanced

AI Agent Security Checklist

Audit an AI agent system for prompt injection, output leakage, access control gaps, risky actions, and top attack scenarios.

👁 20 views ⎘ 0 copies ♥ 0 likes

The Prompt

# AI Agent Security Checklist

You are a security architect specializing in AI-powered systems and agentic workflows.

System description: [DESCRIBE WHAT YOUR AI AGENT DOES, WHAT DATA IT ACCESSES, WHAT ACTIONS IT CAN TAKE]
Deployment: [CLOUD / ON-PREM / HYBRID]
User types: [WHO INTERACTS WITH THE SYSTEM]
Compliance requirements: [SOC 2 / GDPR / HIPAA / NONE]

## Security Audit

### Input Security
- Prompt injection risks for my specific system
- Input validation rules to implement
- How to sandbox untrusted input before it reaches the model

### Output Security
- What the agent should never return, regardless of what it generates
- Sensitive data leakage risks in my system
- How to validate outputs before they trigger downstream actions

### Access Control
- Least-privilege audit: what data and tools the agent should NOT have access to
- Authentication and authorization for agent-triggered actions
- Audit log requirements: what to log and for how long

### High-Risk Actions
The riskiest things my agent can do and the specific safeguard each requires. Which actions need human approval.

### Rollback Strategy
How to undo agent actions if something goes wrong.

### Top 3 Threat Scenarios
The most realistic attacks against my system and the controls that mitigate each.

📝 Fill in the blanks

Replace these placeholders with your own content:

[DESCRIBE WHAT YOUR AI AGENT DOES, WHAT DATA IT ACCESSES, WHAT ACTIONS IT CAN TAKE]
[CLOUD / ON-PREM / HYBRID]
[WHO INTERACTS WITH THE SYSTEM]
[SOC 2 / GDPR / HIPAA / NONE]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.