Skip to content

feat: pda kill switch#92

Open
tracy-codes wants to merge 6 commits intomainfrom
tracy/pda-kill-switch
Open

feat: pda kill switch#92
tracy-codes wants to merge 6 commits intomainfrom
tracy/pda-kill-switch

Conversation

@tracy-codes
Copy link
Copy Markdown
Contributor

@tracy-codes tracy-codes commented Aug 14, 2025

The PDA Kill Switch is a new action where a role can have its ability to perform any actions within the swig program simply by mutating some state in an external account.

For example:

  • You are a dApp where your frontend gets compromised, and users who have active swig wallet sessions need to have their sessions stopped until mitigation
  • Your dApp added a kill switch account where the external account's expected data is 0. You then update that account's data to 1, and now all swig roles that have the kill switch pointing at that account will halt.
  • This halts all actions within swig.

@tracy-codes tracy-codes requested a review from austbot August 14, 2025 21:29
@tracy-codes tracy-codes marked this pull request as ready for review August 19, 2025 16:42
@tracy-codes tracy-codes requested a review from santy311 August 19, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants