Skip to content

[MEDIUM] Frontend SDK has no AbortController on API fetch in useIdentity hook #26

Description

@Junman140

File: rontend/zk-comply-frontend/src/hooks/useIdentity.ts, lines 50-82
Severity: MEDIUM

useEffect dependency is [apiKey]. If parent re-renders with same value or apiKey changes rapidly, stale responses may update state. No AbortController.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions