Our Biggest Security Risk Is Me (and My AI Agent)

Use a password manager. Turn on two-factor authentication. Don't reuse passwords. That's the standard security advice, and it's good advice. We follow all of it.

But when I ask myself where the most dangerous credentials at Freelock actually live, the answer isn't a password manager. It's me. I'm one person with access to everything: every server, every client site, every backup.

Most organizations have someone like me. The founder who set up every account. The office manager who knows all the passwords. The IT contractor who's been around for ten years and still has the keys to everything. That has always been a risk. Now there's a new wrinkle: the AI assistant working on that person's behalf has the keys to everything too.

Your assistant has your keys

An AI assistant connected to your email, your files or your systems can reach whatever you can reach. That's the point: it's useful because it can act for you. When I run an AI agent on my laptop, it can read my server keys and use my logged-in sessions. If I can get to a production server, so can it.

Most of the time that's fine, because the assistant is doing what you asked. The problem is that AI assistants take instructions from whatever they read, and they're not good at telling your instructions from someone else's.

In June 2025, security researchers showed how this plays out in an ordinary office. They found that a single email sent to someone using Microsoft 365 Copilot could carry hidden instructions. Nobody had to click anything. Later, when the employee asked Copilot an everyday question, it read the email along with everything else, followed the hidden instructions and sent internal data out of the company. Microsoft fixed that particular hole. The underlying weakness, an assistant that can't tell a request from its boss from a request planted in an email, hasn't gone away.

Developers have seen the same thing. Researchers at Invariant Labs showed that a malicious comment on a public GitHub project could get a developer's AI agent to copy information out of private projects and publish it. The agent wasn't hacked. It did exactly what it was told, by the wrong person.

Simon Willison calls this combination the lethal trifecta: an assistant with access to private information, exposure to content from strangers, and a way to send things out. An AI assistant in your inbox has all three on day one.

Agents that work while you sleep

This fall, the big platforms started selling assistants that don't wait to be asked. Meta's Muse can read and send your email, fill out forms, book travel and pay for things. OpenAI's Dots connects to your Gmail, your calendar and your files, and works through them on its own. Grok Bot runs long tasks for you around the clock, and plenty of YouTubers swear by it. Meta, for its part, says Muse checks with you before sending email or spending money, and keeps a record of everything it does.

The first few months haven't been reassuring. Within weeks of launch, a writer for Inc. found that Muse had read his private text messages, access he says he had deliberately withheld. In October, researchers found that chats people had shared from Muse could be found by anyone who knew where to look, including loan applications, bank transactions and a company's revenue documents. Meta switched the sharing feature off. In November, Reuters reported that Meta's own employees had caught Muse mixing up data between accounts: one asked about the weather and the tides, and was cheerfully told someone else's bank balances.

Hosted agents also come with the usual risks of renting. When Grok Bot's running costs outpaced its revenue, its owners tightened usage limits, and some users burned through their allowance overnight. An assistant you've built your work around can change its terms whenever its owner's math changes.

Now think about what you're handing over when you connect one of these to your inbox. Email is the master key to the rest of your life. Almost every other account you have, from your bank to your web host to your payroll system, will send a password reset to your email. Whoever controls your inbox can become you almost everywhere else. Attackers know this, which is why so many breaches start with an email account.

An assistant that reads every message in that inbox, including the ones from strangers, and can act on them, is the confused deputy with the keys to the whole building. As convenient as these assistants are, giving one full access to your email, your money and your accounts is a bet that it will never once follow the wrong note.

I'm not immune to the appeal. I've been looking at Hermes Agent, an open-source agent we could run on our own servers for long-running tasks. Self-hosting solves some of the problem: it's our machine, our logs, our rules. It doesn't solve the deputy problem. I'm nowhere near comfortable letting it act on my behalf, and until it can be given a small key ring instead of mine, it won't.

Think like a hotel

Hotels solved this problem a long time ago. Housekeeping gets a key card that opens the rooms on their floor, during their shift. A guest's card opens one room and stops working at checkout. The master key stays with very few people, and the system records every door every card opens. Nobody finds this insulting. It's just how you run a building full of strangers.

That's the model we're moving our own systems toward, for people and for AI assistants:

  1. Assistants get their own key cards. Our AI agents run in their own accounts with their own credentials, and they can't borrow mine. Working with an agent means visiting its room, not handing it my keys.
  2. Look, don't touch. By default, an agent can read logs and check what's running. Changing anything goes through a draft or a proposed change that a person approves, the same way our website works (see door 4).
  3. Keys that expire. Instead of server keys that work forever, our access system can issue keys that expire after a few hours, like a guest card at checkout. Every one is logged: who asked, for which servers, and when.
  4. The master key gets signed out. Access to live systems is requested, not assumed. For people too. Including me.

Our implementation on this plan is still a work in progress - like everything else, we're constantly juggling priorities, often driven by client requirements.

Increasingly, those requirements point the same way. If you take card payments, PCI DSS requires access limited to what each person's job needs, multi-factor authentication for administrative access, and logs of who touched what. ISO/IEC 27001, the most widely used information security standard, has specific controls for privileged access and logging, and SOC 2 audits ask the same questions about who can reach production. Cyber insurance applications ask them too. The newer ISO/IEC 42001 goes further, asking organizations to decide who is accountable for what their AI systems do.

None of these were written with AI agents in mind. They don't need to be. An agent running with your credentials is a privileged user, and any auditor worth their fee will treat it like one.

None of this is exotic. It's the same principle security people have repeated for decades: give every person and every program the least access it needs, for the shortest time, and keep a record. AI assistants just made it urgent.

Why we keep our own keyring

The standard advice on identity and passwords is to outsource it. Let a specialist handle logins and password storage: Okta, Auth0, LastPass, 1Password. The argument is that they can afford security teams you can't, and they do all the right things.

Often they do. They're also among the biggest targets on the internet, because breaking into one of them means breaking into thousands of customers at once.

There's another way. Open-source tools cover nearly all of this: Keycloak for single sign-on, Drupal's Simple OAuth for letting apps and agents log in, Vaultwarden and KeePassXC for passwords, and OpenBao for everything machines need.

We use two of them every day. Vaultwarden, a self-hosted server that works with the Bitwarden apps, holds personal and team-shared passwords. OpenBao, the community fork of HashiCorp Vault we moved to after Vault's license change (we told that story on door 1), is the front desk: it decides who or what gets a key, for how long, and writes down every time it hands one out.

Running your own keyring means that when the next big provider is breached, your secrets aren't in the haul. You're no longer one of thousands of customers in a single target. It also means the rules are yours: who can use which key, when, and with what record.

It isn't free. Self-hosted security software is only as safe as the team keeping it patched, backed up and watched. An unpatched password server on the open internet is worse than any big provider. That's the job: we run this infrastructure for ourselves, keep it current, and do the same for clients who want to own their keys without becoming a security team.

Three questions for your organization

  1. Who has the keys to everything? The founder, the office manager, a long-time contractor? Now ask what an AI assistant working for that person can reach.
  2. What did you connect your AI assistant to? Email, shared drives, your CRM, your website? Each connection is a door it can open, and a place it can read instructions from strangers. Start with your inbox: it resets every other password you have.
  3. If a password leaked today, how long would it work? A key that expires in hours is a bad day. A key that never expires is a bad year.

Next stop

This is the fifth stop on our 2026 Advent calendar, Building for the Long Haul. Tomorrow's door opens at 9:00am Pacific. All aboard!

Not sure who, or what, holds the keys to your site? Let's take a look.

Advent 2026 - 24 days of owning your platform

Door number 23
23
Door number 8
8
Door number 14
14
Door number 9
9
Door number 19
19
Door number 20
20
Door number 15
15
Door number 21
21
Door number 12
12
Door number 16
16
Door number 17
17
Door number 10
10
Door number 18
18
Door number 6
6
Door number 22
22
Door number 11
11
Door number 7
7
Door number 13
13
Door number 24
24

Comments

Skip to content after comments

0 comments

0 total 0 new

Reading settings

Saved for comment discussions across this site in this browser. Apply saves your choices; Cancel discards edits. Selected comments and drafts stay open beyond the chosen depth.

No comments yet.

Add new comment

The content of this field is kept private and will not be shown publicly.

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <blockquote cite> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h1> <h2 id> <h3 id> <h4 id> <h5 id> <p> <br> <img src alt height width>
  • Lines and paragraphs break automatically.