AI Agent Security: Why Your Agent Needs a Confidential VM

AI agent security starts with where your agent runs. Seven tips to protect keys, prompts and memory with a confidential VM. Read the checklist.

Hippius Team
Uploaded on:
Est. Read time:
8 min
AI agent security header: secure the agent, then the machine, above a Hippius confidential VM

AI agent security advice usually focuses on what the agent is allowed to do, and almost never on who can read the machine while it does it. A confidential VM on Hippius answers the second question: the processor encrypts the agent's memory, so the API keys, wallet keys, files and conversations it holds aren't readable by whoever owns the server. Pair it with a private model on SayGM and the prompts are covered too.

That matters because agents have quietly become the most credential-heavy software many people run. Below are seven practical ways to secure an AI agent, starting with where it runs.

What does your agent hold that's worth stealing?

Make a list of what your agent can touch and it gets long quickly. API keys for one or more model providers. Tokens for email, Slack, Telegram or Discord. Cloud credentials. Sometimes a crypto wallet. Then the content: documents it has read, messages it has drafted, and a growing memory of your preferences, contacts and habits.

As TechRadar put it in a piece on OpenClaw, someone who steals an agent's config doesn't just get your credentials; they get a working agent they can run as you. That's true of any agent framework, not just one.

Why isn't disk encryption enough?

Most cloud servers already encrypt disks and network traffic. The gap is data in use. When the agent is running, its keys and working data sit in memory in readable form, and on a standard VM the host controls that memory. A hypervisor can inspect it, a snapshot can capture it, and an administrator with host access can, in principle, read it.

Confidential computing closes that gap with hardware. On AMD SEV-SNP, the technology Hippius uses, the processor encrypts each VM's memory with a key held inside its own secure processor, and adds integrity protection against a malicious hypervisor. AMD's SEV page covers the details. The host can still run, pause or stop the VM, but it can't see inside.

Diagram of data at rest, in transit and in use, showing a confidential VM encrypting memory in use

Seven ways to secure an AI agent

1. Run the agent in a confidential VM

Start with the foundation. Every Hippius VM is a confidential VM, so there's no extra tier to pick or flag to set. The agent's memory is encrypted by the processor, its disk is encrypted inside the VM, and when you delete the VM its disk is crypto-erased. That matters on a distributed network, where the physical machine belongs to someone you've never met.

Spin one up from the Hippius console and install your agent the way you would on any Linux server.

2. Check the attestation before you hand over secrets

A confidential VM is only useful if you know it's really running in confidential mode. That's what attestation is for: the processor signs a report of what booted, and on Hippius the disk key is released only after that report passes a set of checks. A VM that fails never unlocks its disk.

Before you paste in API keys, open the VM's Confidential Compute panel and confirm the verdict, or pull the raw AMD report through the API and check the signature yourself. The Confidential Compute docs show both routes.

3. Keep the model call private, not just the server

A confidential VM protects the agent. It doesn't protect what the agent sends to its model, and every request carries context. There are no GPUs on Hippius VMs, so the model call always leaves the machine, and the route it takes becomes part of your security.

SayGM processes every request inside an Intel TDX enclave, sealed from its own operators. For frontier models, the maker still receives the prompt under its API terms. For models marked confidential, inference also runs inside an attested TEE and the prompt isn't sent to the maker. SayGM's privacy page sets out each level. With a confidential model, the agent on a confidential VM is fully private from end to end; with a frontier model, the agent is still protected but that prompt isn't. A sensible split: confidential models for anything involving keys, personal data or private documents, frontier models for the rest.

4. Don't publish the agent's dashboard to the internet

Many agents ship with a web dashboard or gateway. Exposed, unauthenticated gateways are one of the most common ways agents have leaked credentials. Keep the dashboard bound to localhost and reach it through an SSH tunnel.

There's a Hippius-specific reason too. Ports you publish on a Hippius VM are terminated at the network edge, which means the edge can read that traffic. A tunnel keeps the connection encrypted all the way to the VM.

5. Give the agent its own keys, scoped narrowly

Don't hand an agent your personal accounts. Create separate accounts and API keys for it, give each key only the permissions the task needs, set spending limits where providers allow, and rotate keys on a schedule. If something does go wrong, a scoped key limits how far it spreads.

6. Keep a copy of the agent's memory off the VM

Crypto-erasing a deleted disk is good for privacy and unforgiving for mistakes. Back up the agent's config and memory somewhere else, such as Hippius VM backups or an S3 Compatible bucket, so rebuilding the agent doesn't mean starting from nothing.

7. Know what a confidential VM won't stop

Being clear about limits is part of good security.

  • It won't stop prompt injection. An agent on encrypted hardware can still follow a malicious instruction hidden in a web page or email.
  • It won't vet plugins or skills. Read what you install.
  • Activity and traffic metadata are still visible to the server owner, including when the VM runs and where its traffic goes.
  • Hippius currently manages disk-key release, and customer-held keys aren't available yet.
  • Processor side channels remain an active research area.

What a confidential VM protects for a secure AI agent and what still needs other controls

Common questions about AI agent security

How do you secure AI agents?

Limit what the agent can reach with scoped keys and separate accounts, keep its dashboard off the public internet, vet its plugins, and run it on hardware that encrypts memory in use. Route sensitive prompts to models that run inside a TEE.

What is a confidential VM?

A confidential VM is a virtual machine whose memory is encrypted by the processor, using technology such as AMD SEV-SNP or Intel TDX, so the host and hypervisor can't read it. Attestation lets you check that the protection is switched on.

How does AI agent security differ from traditional application security?

A traditional app does what its code says. An agent decides what to do at runtime based on what it reads, so it can be steered by content as well as by attackers. It also tends to hold more credentials than a typical app, which raises the cost of any breach.

Can Hippius see inside my VM?

Hippius can't read a confidential VM's memory directly. It does manage the release of the disk key after attestation, and it sees metadata for traffic that passes through its edge. The docs set out exactly what each party can see.

Final thoughts

AI agent security starts with the machine. Policies, scoped keys and audits all matter, but they assume the server underneath is trustworthy. A confidential VM removes that assumption for memory and disk, attestation lets you check it, and a private model keeps the prompts in the same sealed path.

Your agent already knows your keys and your habits. Move it to a Hippius confidential VM and make sure it's the only one that does.

About Hippius

Hippius is a distributed cloud platform built to give users a verifiable alternative to providers like AWS and Google Cloud. Files are encrypted and distributed across an independent network rather than held in a single provider's data center. Every storage claim, payment, and miner action is recorded on Hippius's own blockchain, so instead of asking users to trust the platform, Hippius lets them check it for themselves. On top of that foundation sits a full product suite: personal cloud storage, S3-compatible object storage with no egress fees, confidential compute on secure hardware, and a container and model registry for AI.

Website | Discord | Twitter | LinkedIn | Docs | Blog | Medium | Forum | Github