Stripe

CLIstripe

An agent with stripe on its PATH can move money. Memnox wraps the binary, reads the command before it runs, and matches it against the table below. Nothing here is a list of what we support: it is what the runtime already classifies, and the strings are the ones a rule matches on.

What it reads to authenticate

Discovery records that these exist and hashes them. It never reads a value, so a scan can say three agents reach this file and never what is inside it.

! ~/.config/stripe/config.toml! STRIPE_API_KEY

What it cannot undo

1

Every one of these carries the alternative a refusal names, which is why an agent takes the alternative and finishes the task instead of stopping.

stripe customers delete **stripe.customers-delete

What it changes

2

Allowed by default, and the obvious first thing to put behind ask.

stripe refunds create **productionstripe.refunds-create
moves money
stripe charges create **productionstripe.charges-create
moves money

What it only reads

2

Matched so a rule can say read is fine, rather than leaving it unspoken.

stripe listen **stripe.listen
stripe get **stripe.get

The rule this writes

[[rules]]
name = "stripe-destructive-asks-first"
match.actions = ["stripe.customers-delete"]
decision.effect = "ask"
decision.reason = "This cannot be undone."

memnox protect --for stripe writes this into memnox.policies.toml from the table above. You can edit it, and the file is yours.

Run npx memnox to find out whether Stripe is actually reachable from your machine. It reads your own disk and needs no account.