Skip to content

bug(directory): PostgreSQL adapter uses manual SQL escaping #851

@willgriffin

Description

@willgriffin

Problem

The PostgreSQL directory adapter uses manual string escaping for SQL queries instead of parameterized queries. This is a potential SQL injection risk.

Additionally:

  • Orchestrator interface is declared but not implemented
  • AWS account creation is async (must poll) with no helper for polling

Found during

CLAUDE.md audit — packages/directory/src/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions