From Dev.to
Your agent's vault checks tx.origin. A malicious contract can pay itself.
Agents are starting to hold money. A common pattern is a small vault: the owner funds it, an AI agent calls pay() when it needs an API or a service, and an allowlist keeps the agent from paying just a...
