Evidence · DiggingBeagle record
BaaRai ARTEX advisory: SQL operator precedence breaks agent task-asset isolation
Fork maintainers identified an OR/AND grouping mistake in the asset query DSL; code-reviewed and patched v0.7.0.
- Source role
- primary disclosure
Evidence record
Claim-level citations (3)
- supportsARTEX asset-query OR expressions could escape mandatory per-task filters: The advisory derives the failure from QueryDSLInScope and related query functions during source review. It explicitly says no vulnerable deployment was tested, so cross-task data disclosure remains a code-supported possibility rather than a documented production read.
Primary advisory or study: reproduction, results and limitations
- supportsARTEX asset-query OR expressions could escape mandatory per-task filters: The agent-accessible asset DSL joined untrusted OR expressions without enclosing parentheses and then appended a mandatory task_scope predicate using AND. Standard SQL gives AND higher precedence than OR, allowing an earlier OR branch to select records outside the task even though the final query text visibly contains a task filter.
Primary advisory or study: technical mechanism and affected component
- supportsARTEX asset-query OR expressions could escape mandatory per-task filters: The agent-accessible asset DSL joined untrusted OR expressions without enclosing parentheses and then appended a mandatory task_scope predicate using AND. Standard SQL gives AND higher precedence than OR, allowing an earlier OR branch to select records outside the task even though the final query text visibly contains a task filter.
GHSA-fjhc-prxm-c237: QueryDSLInScope, OR clause assembly and appended task_scope predicate