Skip to content

Constrain benchmark dataset and manifest paths to their roots #1903

Closed as not planned

Description

@phernandez

Problem

Follow-up from the reviewed CodeRabbit deep scan (K24 K27 K48). This ticket tracks one distinct fix; duplicate scan rows are consolidated here.

Reviewed evidence and scope

Fix and validation

  • Constrain benchmark dataset and manifest paths to their roots.
  • Recheck current callers and supported behavior before choosing the smallest complete fix.
  • Add a bounded regression at the affected public or service boundary; demonstrate it fails without the fix.
  • Preserve legitimate inputs and tenant/project boundaries. Run focused tests plus repository static/type checks.

The scan/review establishes the code-level concern described above; it does not establish production exploitation. Conditional branches and local/tooling-only exposure must retain that scope.

Activity

  1. added
    security
    on Oct 28, 2026
  2. claude commented on Oct 28, 2026

    @claude
    Contributor

    Claude finished @phernandez's task in 11s —— View job


    Triage

    • Type: Bug (path-containment gap in benchmark tooling), labeled bug and security

    • Component: Testing / benchmarks (benchmarks/). This is not Cloud behavior, so no cloud label.

    • Priority: Low. The scan review rates it Low tooling. The affected code is local benchmark tooling and no production exposure was established.

    • Complexity: Simple. It needs ID/group validation or a resolved-path ancestry check at three call sites:

      • converters/longmemeval_to_corpus.py (dataset ID joined into the output path)
      • providers/supermemory_local.py (group/path)
      • agent_tasks/driver.py (manifest group used as a copy source/destination)

      Ideally these share one small helper, plus a regression test per boundary that fails without the fix.

    • Duplicates: A search for related benchmark path issues found none. K24, K27 and K48 are already consolidated here.

    The issue is well specified, so I have no clarifying questions. This pass was triage only and I made no code changes.

  3. added
    bug
    on Oct 28, 2026
  4. added
    low-priority
    on Oct 28, 2026
  5. phernandez commented on Oct 29, 2026

    @phernandez
    MemberAuthor

    Reviewed. This is benchmark tooling that only maintainers run on their own machines against their own data. The shared-/tmp and multi-user attacker conditions the scan assumes do not apply there, and no shipped package or hosted service reaches this code. Closing as not planned; we'll revisit if benchmarks ever run in a shared or hosted environment.

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

    buglow-prioritysecurity

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions