Skip to content

REPO-008 [HIGH] Hash all legacy plaintext API keys and drop plaintext column #10

Description

@kilodesodiq-arch

ApiKey.key column stores plaintext API keys. The guard accepts plaintext comparison. File: schema.prisma line 387, api-key.guard.ts line 48. Risk: all keys compromised on DB breach. Migrate to hash-only storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    highHigh severity issuessecuritySecurity vulnerabilities and hardening

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions