13 AI agent prompts for Security

Copy-paste, beginner-friendly prompts to help you triage alerts, review access and write security policies in plain English. Each one is based on a real-world example and works with ChatGPT, Claude or an AI agent. 6 are free below, and 7 more are in AgentPlaybook Pro.

Open Security in the interactive library →

Free Security prompts

Draft a malware reverse-engineering brief

Have an agent produce a structured first-pass reverse-engineering brief on a malware sample so researchers can compare more threats faster, like SentinelOne using OpenAI Daybreak to cut deep malware analysis from weeks to roughly eight hours while keeping humans accountable for decisions.

Produce a first-pass malware reverse-engineering brief for human researchers. Sample / hash / sandbox report: [paste or attach]. Environment notes: [lab constraints]. Cover: (1) high-level behavior summary, (2) persistence and execution mechanisms, (3) network indicators and C2 patterns if present, (4) notable code or packing tricks, (5) similarities to known families if evidence supports it, (6) open questions and recommended next analyst steps, (7) IOCs in a clean table. Label confidence on every claim and never invent hashes or C2 hosts. Don't detonate samples outside the approved lab, don't block or hunt in production, and leave containment decisions to me.

Decide which accounts your AI agent may log into and which actions still need your OK, before you hand over any passwords

People are starting to let AI agents book trips, shop and handle accounts for them, and the quick shortcut is pasting a password into the chat, which leaves a copy of it somewhere you no longer control. A safer setup is to list which accounts an agent really needs, approve each login yourself, and set rules for which actions always need your OK. TechCrunch reported on Oct 22, 2026 that 1Password launched 1Password for Agents, which lets agents such as Claude Duet, ChatGPT, Grok Bot and Meta's Muse request a login; you get an alert and approve it, and 1Password fills in the credentials so the agent never sees them. The same day, TechCrunch noted, Axios reported that U.S. banks have begun detecting agent activity inside customer accounts, and a Chase spokesperson said customers should not give their usernames and passwords to anyone.

I want to use an AI agent for these tasks: [list, e.g. reorder groceries, book flights, pay utility bills, update my store listings]. Accounts I have: [list sites and apps, no passwords]. My password manager: [name, or 'none']. 1) For each task, list the minimum accounts the agent actually needs and mark any it doesn't need. 2) Sort those accounts into three groups: OK to let the agent log in with my approval each time, OK only for viewing, and never (for example banking, email recovery, government ID). Explain each choice in one line. 3) For each allowed account, list the actions that must always ask me first, such as paying, sending messages, changing addresses or deleting anything, and suggest a spending cap. 4) Give me step-by-step setup instructions that never involve typing a password into the chat, using my password manager's agent or sharing features if it has them. 5) Give me a monthly 5-minute checklist to review what the agent did and remove access I no longer need. Only use what I listed; don't guess about features my apps may not have.

Run a 15-minute personal security checkup: let an AI interview you about your email, bank, phone and connected AI agents, then hand you a ranked fix list

With a wave of account hacks in the news this week, Joe Fambro shared on X (Oct 2026) a prompt to paste into Grok, ChatGPT or Claude before the weekend: the AI acts as your personal security auditor, asks one question at a time about your email, bank, phone, password manager and any apps or AI agents you've connected, never asks for passwords or codes, and ends with a fix list ranked by today, this week and this month. His 10-minute version: turn on auto-updates, swap SMS codes for passkeys or an authenticator app, use a password manager, check which apps and agents can read your email, and make sure your recovery email is one you actually check.

Act as my personal security auditor. Ask me one question at a time, in plain language, about: my main email account, my bank and payment accounts, my phone, how I store passwords, and any apps or AI agents I've connected to my email, calendar, files or bank. Never ask me for a password, code, PIN or account number, and tell me to stop if I start typing one. Wait for each answer before the next question. When you're done, give me a ranked fix list in three groups: Today (under 10 minutes each), This week, and This month. For each fix say why it matters for me specifically and the exact setting to look for. Always check these basics: auto-updates on, passkeys or an authenticator app instead of SMS codes, a password manager, which apps and agents can read my email, and a recovery email and phone I actually check.

Take the server your AI agent runs on off the public internet: put it behind Tailscale or a Cloudflare Tunnel so only you can reach it

Lots of people now run AI agents around the clock on a rented server (a VPS). On Oct 23, 2026, as reports of hacks spread, Pieter Levels (@levelsio) reposted his advice to get any VPS off the public internet and into a Tailscale network and Cloudflare Tunnel, noting that SSH key login alone doesn't protect you from exploits and vulnerabilities; the post drew hundreds of thousands of views and thousands of bookmarks. This prompt has an AI walk you through it step by step, checking each step before you close the old door so you don't lock yourself out.

I run an AI agent (or other apps) on a rented Linux server: [provider, e.g. Hetzner/DigitalOcean], [OS, e.g. Ubuntu 24.04]. Right now I reach it by [SSH on a public IP / a public web address]. Services on it: [list, e.g. agent dashboard on port 3000, n8n on 5678]. Help me take it off the public internet using Tailscale for my own access and, only if something must stay public, a Cloudflare Tunnel. Give me one step at a time with the exact command, what I should see if it worked, and wait for me to confirm before the next step. Order it so I can't lock myself out: install and test Tailscale access first, then close public ports in the firewall last, and tell me how to get back in through my provider's web console if something goes wrong. Finish with a short checklist to confirm nothing is still reachable from the public internet. Don't ask me for passwords or keys; tell me where to enter them myself.

Keep the computer your AI agents run on patched every morning: one bot watches for new security advisories, another checks what's installed, applies only verified small updates and holds anything bigger for your OK

New CVEs and actively exploited bugs keep coming, and the machine your agents run on needs patching to keep up. Ken Reiners (@Ken_LinkWell), a former NASA security engineer and Navy veteran, shared his setup on X (Oct 23, 2026). A watcher bot follows X for new CVEs and zero-days, a builder bot checks the agents' computer read-only first, and a 9 a.m. routine applies only checksum-verified patch-level updates. Bigger changes (repo PRs, major versions, secrets) wait for his approval. That morning, advisories covered LiteLLM, Node, Next.js, Pillow, Go, certifi, PHP and WordPress. The builder updated Node, Go, Pillow, certifi and Python packages, found nothing compromised, and skipped software that wasn't installed.

Every morning at [TIME], act as the patch manager for the computer my AI agents run on. 1) Collect the last 24 hours of security advisories (new CVEs, zero-days, actively exploited bugs) from [SOURCES, e.g. official vendor advisories, the CISA Known Exploited Vulnerabilities list, trusted security accounts on X]. 2) Read-only first: list what's actually installed on this machine (OS packages, language runtimes like Node, Python and Go, pip/npm packages, containers) and match each advisory to installed software. Ignore advisories for software that isn't installed and say so. 3) Apply on your own ONLY patch-level updates from official sources, and verify each one against its official checksum or signature before installing. 4) Do NOT apply major-version upgrades, changes to code repositories, anything touching secrets or keys, or anything that needs a restart of [CRITICAL SERVICES]. List those for my approval with the risk of waiting. 5) After updating, check that [KEY SERVICES/AGENTS] still run. Report: advisories reviewed, what applied to me, what you patched (old to new version, checksum verified), what's waiting for my yes, and any sign of compromise you noticed.

Hunt for security bugs like a team: give Claude Code a playbook built from 700+ real disclosed reports, and only test targets you're authorized to test

Asking an AI to "find bugs" gets noise. A free open-source kit, Claude-BugHunter, packs 83 security skills and 700+ patterns from real disclosed bug reports into Claude Code, and walks a set path: confirm scope, map the attack surface, hunt by vulnerability type, reproduce and kill false positives, then write a report triage teams actually read. Payouts aren't guaranteed, and testing anything outside an authorized program's scope is illegal.

I'm doing authorized security testing. The program is [bug bounty program or my own app], and its scope rules are: [paste in-scope targets, out-of-scope items and testing rules]. Work in this order and stop to ask me before any step that could change data or send many requests. 1) Restate the scope and list anything you will NOT touch. 2) Map the attack surface from what I give you (URLs, API docs, JavaScript files, features): list features worth testing and why. 3) For each, name the likely vulnerability types (for example access-control mistakes, injection, SSRF, auth bypass) and a safe, low-impact test. 4) When I paste a result, decide: real issue, false positive or needs more proof, and say what evidence is missing. 5) For confirmed issues, write a report: title, severity with reasoning, affected endpoint, steps to reproduce, impact, evidence and a suggested fix. Never test outside scope, never access other users' real data beyond what's needed to prove the issue, and never run denial-of-service tests.

More in AgentPlaybook Pro

See Pro pricing →

Get the free Solo Founder Stack pack

32 copy-paste agent prompts (PDF) plus 5 new prompts every week.

Get it free

Guides that include Security prompts

Free AI agent prompts for small business (beginner-friendly)106 promptsChatGPT prompts for business email, replies and follow-ups47 promptsAI prompts to summarize meetings, notes, documents and reports39 promptsAI prompts for writing SOPs, reports, policies and checklists46 prompts

Other categories

Operations50 promptsCustomer Support35 promptsSales35 promptsFinance33 promptsPersonal Productivity26 promptsMarketing24 promptsCoding24 promptsBusiness Strategy17 promptsEcommerce15 promptsHR & People14 promptsIT & Internal Help12 promptsLegal & Compliance10 promptsContent8 promptsResearch8 promptsEducation3 prompts