Command replay (a class of call, not one reported incident)
Stop an agent trying to destroy a Fly app or volume
What happens
Fly.io volume destroy. The call below tries to destroy a Fly app or volume. The agent sends it through its Bash tool, and it involves Fly.io.
The call
fly volumes destroy --yes
Tool: Bash. The replay uses placeholder tokens and hosts only.
Fix it without us
Keep copies of the volume data outside Fly, for example a scheduled dump to object storage. An app-scoped deploy token (fly tokens create deploy) limits the damage of a misused token to one app, but it does not stop a volume destroy.
What KYA does
Replay result: Stopped. In the replay test, the local hook denies the call and names the rule.
Rule fly-destroy, first stopped in version 0.35.0.
The hook is local and advisory. It fails open: if kya breaks or times out, the call goes ahead.
Install
For Claude Code, the host this replay ran on:
/plugin marketplace add The-Pixel-Boys/shield-kya
/plugin install kya@shield-kya
For any host:
npm i -g @shield-agent/kya@latest && kya start