An AI agent read a real exchange balance without holding the key.
An AI agent read a real Crypto.com balance without ever touching the API key, in a hands-on experiment by Prasanna Kanagasabai. We break down what his work shows and how RayShield.AI makes it possible.
Prasanna Kanagasabai recently published one of the clearest demonstrations we've seen of what a safe AI agent can look like. Checkout - link
The setup is simple. He typed one question to a cloud AI agent: "What's my Crypto.com balance?" The agent found the right API on its own, wrote and ran its own code, and came back with his real balance. The surprising part is that the agent never had access to the account's API key.
His post walks through exactly how that works, and it's worth reading in full. Here is why it caught our attention.
Why this is a hard test
Think of an API key as the key to a safe. The usual way to let an AI agent use a service is to hand it the key and hope it behaves. If the agent gets tricked or simply makes a mistake, whatever the key can open, the agent can open too.
Crypto.com raises the bar further. Its private API needs a fresh cryptographic signature on every single request, so whatever holds the key has to sign each call itself. Normally that means the agent's own code sits right next to the secret, which is exactly where you don't want it.
How RayShield solves the problem
RayShield's answer is simple: the agent never holds the key at all. Think of a bank where the clerk can fill in a withdrawal slip but never goes near the vault. A separate locked room checks the slip and signs it. RayShield splits an AI agent the same way.
- Thinking and doing are kept apart. The AI model plans and decides, but it can act only through tools the platform grants it. Any code it writes runs in a throwaway, sealed virtual machine that can reach only the one service it needs.
- The key stays in a locked room. The real secret lives in a separate signing component with no internet access and exactly one job: signing requests. The agent's code carries placeholder credentials, and the platform adds the real signature on the way out.
- The rules are enforced by the platform, not the prompt. The agent isn't asked to behave; it has no other path. A tricked or confused agent still can't reach the secret or any service outside its list.
- Every action has a name on it. A person starts each run, the run carries a short-lived pass tied to that person, and every call is logged against them.
- Agents see only what they're allowed to use. When the agent looks for services, only approved ones show up. In Prasanna's test, a lookup for anything outside the list was refused before it ran.
The next layer is a policy gate in front of the signer. It will check the actual request against permissions the user set, allowing a balance check while blocking an order, for example, instead of trusting the reason the agent gives. None of this depends on Crypto.com.
RayShield is designed so the same policy follows an agent wherever it runs, whether a laptop, a server or a cloud machine, with a tamper-evident record of every action.
Why it's worth your time
What we liked most is that the post doesn't oversell. Prasanna is clear about what the demo doesn't prove yet, including that the signer currently signs any request it receives. He also credits Cloudflare's Code Mode work as the idea he built on.
That honesty matters, because the use case is a big one. Banks, brokers and exchanges all want customers to be able to ask questions in plain English and have an agent act on their real accounts. Until now, the blocker has been that nobody wants an AI holding the keys. This experiment is an early, working answer to that problem.
If you work anywhere near AI agents or financial services, read the full post. It covers the architecture, the run trace and the limitations in much more detail than we have here.
Book a demo
If your team wants AI agents working on real accounts, systems or customer data without handing them the keys, we'd love to show you how RayShield does it. In a demo, we'll walk you through:
- how an agent can work on your systems while the real credentials stay locked away
- the rules you control, and the audit trail that records every action
- how RayShield fits alongside your existing security and compliance setup
Visit link to get in touch and book a demo with the RayShield team.