Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research: Constrictive Delegation Manager Smart Contracts #9

Open
kamescg opened this issue Nov 25, 2024 · 0 comments
Open

Research: Constrictive Delegation Manager Smart Contracts #9

kamescg opened this issue Nov 25, 2024 · 0 comments

Comments

@kamescg
Copy link
Contributor

kamescg commented Nov 25, 2024

Context

The Delegation Framework DelegationManager smart contract has no constraints on what enforcers can be applied to transactions.

While incredibly powerful, also potentially very dangerous. Users can't be expected to validate the addresses/terms of enforcers and understand how they operate at a technical level.

Because of this, it's important/critical for wallet interfaces to properly protect users from unintended risk and malicious enforcers during the authorization signature sequence.

But, we have to ask the question...Is the wallet interface enough?

Hypothesis

A DelegationManager with onchain constraints can considerably lower unintended risk for users.

As an advocate for freedom I understand the openness of the DelegationManager and why it's important to have an implementation without limits.

But for user's who have an incomplete understanding of the security model it introduces hidden risks.

It's a very likely outcome that users will accidentally sign delegations that contain malicious intent via unauthorized enforcers.

Experiment

Develop a DelegationManager smart contract that has support for whitelisted enforcers, plus a governance model for maintaining that enforcer list. It might also be worth exploring a new terms validation system to further constrain interactions with authorized enforcers.

Plus, create a rubric for constrained DelegationManagers that can be applied to different user personas.

For example, a user that expects to only use a wallet for everyday payments can be given a very constrained set of enforcers, compared to a user that expects highly optimized onchain interactions, via triggers and conditions, with decentralized finance (DeFi) protocols.

Goal

Limit users exposure to undesired risk, relative to their expressed goals.

Better understand how to properly secure users at each "stage" of an onchaining experience.

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

No branches or pull requests

1 participant