Smart Contracts
Custom Account smart contract implementing __check_auth enforcement for spend caps, rolling windows, allowlists, and dead-man switch.
Prevent prompt-injection and buggy loop wallet drains on Stellar using Soroban's native Custom Account Abstraction (__check_auth).
An autonomous AI agent holding a private key is a single point of failure: one prompt injection attack or one infinite loop can drain all funds.
Stellar Agent Guard fixes this on-chain. The agent's funds remain in its own smart account, and every transaction the account must authorize is intercepted by the contract's __check_auth entrypoint. The transaction is rejected pre-broadcast unless it satisfies an operator-defined security policy: