Menu

I built a spending guard for AI agents that asks my phone before they pay
📰

I built a spending guard for AI agents that asks my phone before they pay

DEV Community: security·uuu·11 days ago
#kDLAeQ1i
#devtosecurity#devto#dev#agent#saifuban
Reading 0:00
15s threshold

I've been letting AI agents do more on their own, and at some point I realized that if one decided to buy something or upgrade a plan, nothing would stop it. So I built Saifuban ("wallet keeper" in Japanese).

https://ut181749ut.github.io/saifuban/

What it does

Before spending money, the agent asks Saifuban whether the payment is OK. Saifuban answers using rules you set:

Small amounts under your threshold are approved right away.

Anything larger sends a push notification to your phone. You tap Approve or Reject.

Payments over the daily budget or the per-payment limit are refused, as are merchants you haven't allowed.

A kill switch stops everything at once.

Rules are per agent, so a research agent can have $5/day while a coding agent gets more. Saifuban never handles card details or moves money.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.