You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: enforce record filter client-side — hosted scanner ignores the filter subobject (#59)
The hosted scanner ignores the filter subobject of an OwnedFilter and
returns every record the account owns (verified live 2026-07-16), so
find(program=..., record=...) and find_credits() could return records
from foreign programs — callers would then select records from the
wrong program and hit phantom commitments on chain.
Add enforce_record_filter() to _scanner_common and apply it to the
scanner results in both the sync and async facades (find and the
find_credits at_least=None path; find_credits_records already
enforces credits-only server-side parsing). Covered by new sync and
async tests with mixed-program scanner responses.
0 commit comments