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
{{ message }}
Repository navigation
[soundness] hy-check: builtin delete and append accept untyped nil for non-nilable key and element types (Row 13 BUILDABLE) #3518
cannot use nil as int32 value in argument to delete
cannot use nil as string value in argument to delete
cannot use nil as bool value in argument to delete
cannot use nil as point value in argument to delete
cannot use nil as int32 value in argument to append
cannot use nil as string value in argument to append
cannot use nil as bool value in argument to append
cannot use nil as point value in argument to append
Claimed severity
P0 — data race reachable in the checked subset (Row 13 BUILDABLE soundness violation)
Anything else
Under compiler/crates/hy-check/src/buildable.rs:
In delete: OpKind::Map(k_expected, _) checks kk != OpKind::Unknown. Untyped nil resolves to OpKind::Unknown, bypassing the key check. Similarly on set[T], kinds_conflict(&want, &got) returns false when got is OpKind::Unknown.
In append: check_append_elements checks kinds_conflict(&elem, &got). Untyped nil resolves to OpKind::Unknown, bypassing the non-nilable element check.
Activity
seenorht commentedon Nov 3, 2026
/claim #3518
Settlement wallet (Base USDC):
0x2fbD90378ACb304b4c474B433bf1Ea041EcB4290Working on a complete fix with comprehensive regression tests across both
deleteandappend. PR incoming.jpereyra243-byte commentedon Nov 3, 2026
/claim #3518
Settlement wallet (Polygon USDC): 0xC175c34c256598C7e1AD5B15503cFcED7Ed67e10
Investigating and preparing PR now.
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
2 remaining items
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
fix(hy-check): reject untyped nil in delete non-nilable keys and appe…
Merge PR limitlessprojects#3519: hy-check — reject untyped nil in del…
fix(limitlessprojects#1681): defer append-element nil rejection to up…
fix(limitlessprojects#1681): defer append-element nil rejection to up…
fix(limitlessprojects#1681): defer append-element nil rejection to up…