Skip to content

Add Django ORM connection.execute_wrapper() guardrail helper #24

Open

Description

@divyanshujethi

Add a lightweight Django execute_wrapper middleware blocking unconstrained DELETE/UPDATE and destructive DDL emitted by agent-generated Django ORM calls, with pytest unit tests.

Activity

  1. added
    enhancement
    good first issue
    on Nov 18, 2026
  2. Taranemp commented on Nov 19, 2026

    @Taranemp

    Hey, I'd like to take this one. Plan is a small execute_wrapper that rejects DELETE/UPDATE without a WHERE clause and blocks DROP/TRUNCATE, plus pytest cases for each. Anything you'd want it to allow through by default?

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

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions