Skip to content

[Contract-integration note] bridgelet-product-audit/integration-notes/generated-wallet-key-custody.md: Where the secretKey returned by generateNewWallet() is meant to be handled #269

Description

@phertyameen

Contract-integration note: bridgelet-product-audit/integration-notes/generated-wallet-key-custody.md

Purpose:
Document the key-custody question raised by this function's existence and current lack of any caller.

This file should cover:

  • Note that generateNewWallet() returns a raw secretKey string but is not currently called from any app route or component found in frontend/app or frontend/components.
  • Discuss what a safe design would need to specify before this function is wired up: where the secret is stored, whether it's ever transmitted, and how the user recovers it.
  • Frame this as an open design question to resolve before this function gets its first caller, not as a currently-exploitable issue given it's unused.

Scope: documentation-only addition to a new, standalone folder. No changes to frontend/ or mobile/ are needed to close this issue.


Part of the bridgelet-product-audit/ knowledge-base initiative (20/100).

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions