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

[security] The contract needs to enforce permission restrictions when creating a session. #1530

Open
wow-sven opened this issue Apr 7, 2024 · 0 comments
Labels
area::ideas Application or Feature ideas area::sdk area::security skill::move Need the Move language skill to complete the issue skill::typescript Need the typescript language to complete the issue
Milestone

Comments

@wow-sven
Copy link
Collaborator

wow-sven commented Apr 7, 2024

For instance
Create a new session, replace the auth key, transfer.

If a DApp behaves maliciously, it can circumvent the restrictions imposed by the SDK and manipulate the permission information presented to users. In such a scenario, a session key could potentially obtain access to all operations. Our aim with sessions is to prevent repetitive authorizations, rather than bestow super permissions.

If modifications are required here, it's necessary to thoroughly review all permissions and contract adjustments and then update the SDK.

@wow-sven wow-sven added area::security skill::move Need the Move language skill to complete the issue area::sdk area::ideas Application or Feature ideas skill::typescript Need the typescript language to complete the issue labels Apr 7, 2024
@jolestar jolestar added this to the TBD milestone Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area::ideas Application or Feature ideas area::sdk area::security skill::move Need the Move language skill to complete the issue skill::typescript Need the typescript language to complete the issue
Projects
Status: No status
Development

No branches or pull requests

2 participants