Skip to content

Block PostgreSQL COPY ... TO/FROM PROGRAM and pg_read_file() RCE vectors in STRICT tier #69

Open

Description

@divyanshujethi

Add explicit AST/lexical rules and adversarial unit tests ensuring COPY ... FROM PROGRAM, COPY ... TO PROGRAM, pg_read_file(), pg_ls_dir(), and lo_import() are unconditionally blocked in STRICT and BALANCED safety tiers.

Starting Points

  • src/guard/
  • tests/

Activity

  1. added
    good first issue
    security
    on Nov 18, 2026
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

    good first issuesecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions