Skip to content

No query complexity limits #46

Closed

Description

@adityamukho

File: evaluator.rs:107-117

The recursive rule evaluator has a hardcoded limit of 1000 iterations, but no limit on derived facts per iteration or query result size.

A user who can register rules could craft recursive rules that cause resource exhaustion.

Fix: Add configurable limits for max iterations, max derived facts, and query result size.

Activity

  1. added a commit that references this issue on Apr 3, 2026
    8076c86
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

    enhancementNew feature or requestsecuritySecurity vulnerability

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions