Skip to content

Bound recursive glob traversal depth and resource consumption #191

Open

Description

@hyperpolymath

Problem

Recursive glob expansion has no explicit production depth/resource policy. A sufficiently deep or broad directory tree can consume excessive traversal time and memory.

Scope

  • Define traversal depth, match-count, and/or elapsed-work limits.
  • Return a typed, user-visible error when a bound is exceeded.
  • Decide how symlinks and cycles interact with traversal.
  • Add a positive failure control proving the test can trigger the bound.
  • Add deep-tree, broad-tree, symlink-cycle, and ordinary recursive-glob tests.

Origin

Split from #88 so that the removed TODO marker in security_tests.rs has a durable behavioral tracker.

Activity

  1. added
    enhancement
    performance
    on Aug 27, 2026
  2. added
    priority:p2
    scope:repo
    status:ready
    on Sep 30, 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

    enhancementperformancepriority:p2scope:reposecuritystatus:ready

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions