EN

Safe scopes and the first version

4 minDifficulty Checked 2026-11-10
Key takeaways
  • Prefer granular permissions. A whole transaction type like Payment is a wide grant.
  • DelegateSet replaces the whole list. An empty list removes the delegate.
  • The original PermissionDelegation was disabled in rippled 2.6.1. It never ran on mainnet.

Delegation is a tool for limiting damage. It only works if the grants are small.

Habits that keep it small

  • Pick a slice over a whole type. "Approve trust lines" is safer than "send any TrustSet".
  • Think hard before granting Payment. A delegate with it can send your funds anywhere.
  • One job, one delegate. Do not pile ten permissions on one online key.
  • Check your list now and then. Remove delegates you no longer use.
  • Remember that an update replaces the list. Send the full list each time, or you drop permissions by accident.

To remove a delegate, send the same transaction with an empty list.

It changes what "locked forever" means. Some token issuers give up all their keys so nobody can ever mint more. That is called a blackholed account. An account that still has a delegate is not blackholed. Someone can still act for it. Anyone checking an issuer now has to look for delegates too.

The first version never went live. Delegation first shipped in June 2025 and went to a validator vote. In September 2025, a community member testing on Devnet found a flaw. An attacker could make a victim's account pay transaction fees for transactions the victim never signed. Repeat that with high fees, and the victim's XRP drains away.

The feature was still in voting, so mainnet was never exposed. Validators voted No. The old amendment was switched off in the next release. A corrected one took its place and went live on 2026-10-08.

Check yourself3 questions
1. What could the bug in the original PermissionDelegation do?
2. You send DelegateSet for an existing delegate with one new permission listed. What happens to its old permissions?
3. Why does an account with a delegate not count as blackholed?
Next moduleSponsored fees and reservesT12 · 12 min