> status: mostly fine. patch anyway.practical AI security 路 est. 2026

Checklist 路 Draft

The Builder's Checklist: Securing AI Agents and Home Labs

Draft by alkizz

Most AI security advice is either a 90-page framework or a warning about the robots coming for us. This is neither. It's a list of things you can check this week.

Each item has a why (one line) and a how (the quick version). The robot uprising is not on the list. Your exposed API key is.

This one is for builders: home labs and small teams running agents. Running a company? See The Business Checklist.


You've got Ollama or LM Studio humming, an agent harness with shell access, a Discord bot wired to it, and four MCP servers you installed because a README said so. Good. Let's make sure it's your agent.

Secrets & Keys

1. Get API keys out of your prompts, repos, and dotfiles.

2. One key per tool, with a spend cap.

3. Treat your chat-bot token like a root password.

Tool Permissions & Sandboxing

4. Run the agent as a nobody, in a box.

5. Default-deny tools; require a human for anything destructive or outbound.

6. Break the "lethal trifecta."

Network Exposure

7. Make sure your local model server is actually local.

8. Keep the model runtime patched.

9. Restrict the agent's egress.

Prompt Injection

10. Assume every web page, email, issue, and file the agent reads is hostile.

11. Don't trust the output either.

Plugins / MCP Supply Chain

12. Vet MCP servers like you'd vet a stranger's shell script, because that's what they are.

13. Scan tool descriptions, and watch for "rug pulls."

Logging & Kill Switch

14. Log every tool call, with arguments.

15. Have a kill switch you've actually tested.

馃О If You Only Do Five

  1. Rotate and scope your keys. Per-tool keys, spend caps, nothing in git. (Items 1-2)
  2. Close the ports. Model servers on localhost or behind a VPN, never raw on the internet. (Item 7)
  3. Sandbox and default-deny. Agents in containers, minimal tools, a human approves destructive or outbound actions. (Items 4-5)
  4. Pin and vet your MCP servers/plugins. Official sources, exact versions, read the diff. (Item 12)
  5. Have a kill switch you've actually tested. One command to stop the agent, revoke its keys, and disconnect the bot. (Item 15)

The Closer

None of this is exotic. It's least privilege, patching, egress control, supply chain hygiene, and "call them back before you wire the money," applied to a new kind of software that happens to take instructions from anything it reads. The models will keep getting better. The basics will keep mattering more.

Start with the five. Then come back for the rest. And if you're also on the hook for a company's AI, keep going with The Business Checklist.