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

RFC Security through user experience #688

Open
moul opened this issue Apr 2, 2023 · 1 comment
Open

RFC Security through user experience #688

moul opened this issue Apr 2, 2023 · 1 comment
Assignees
Labels
🐞 bug Something isn't working help wanted Extra attention is needed

Comments

@moul
Copy link
Member

moul commented Apr 2, 2023

The purpose of this issue is to compile a list of ideas that can not only minimize security risks, but also improve the user experience to make Gno safer and more user-friendly.

Below are some initial ideas:

  • Display contract information (used features, novel/established, dependencies), like GitHub displays repository details. Do it recursively with dependencies.
  • Propose making allowance a native feature of the chain at the contract-side, not grc20 only, allowing pre-approval Approve of contracts and introducing an intermediary level of allowance called OnlyDirectlyIfNoSpecificApproval.
  • Create a p/demo/rules library with well-named helpers to enable end developers to easily select the best policy for each case and simplify review for end users. (See issues RFC Proposal for a new stack/frames management #683 and Utility package to specify general function conditions #301).
  • Implement source code highlighting to emphasize important components.
  • Create an incentivized "security audit DAO" to review and badge compliant contracts.
  • Reuse the same or establish a "Phishing Police DAO" responsible for identifying, blocking and punishing malicious contracts and authors.
  • Display useful vanity metrics to gauge contract reputation, such as total direct/indirect transactions, age, and unique users (similar to NPMJS download counts).
  • Add a warning message to contracts developed by non-registered developers specifically on gno.land. (see feat: r/system/names public functions and checks with AddPackage #384)
@moul moul added help wanted Extra attention is needed 🐞 bug Something isn't working labels Apr 2, 2023
@moul moul added this to the 🚀 main.gno.land milestone Sep 6, 2023
@kristovatlas
Copy link
Contributor

@moul how about transaction simulation to try to predict the outcome of transactions prior to signing? This is becoming a popular feature in Etheruem wallets now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working help wanted Extra attention is needed
Projects
Status: 🚀 Needed for Launch
Development

No branches or pull requests

2 participants