Skip to content

fix: close the r7-nx12 numeric-key and RegExp statics holes - #473

Merged
Sorte1 merged 2 commits into
mainfrom
fix/r51-nx13
Nov 21, 2026
Merged

Sorte1 merged 2 commits into
mainfrom
fix/r51-nx13

Conversation

@Sorte1

@Sorte1 Sorte1 commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Fixes the three findings in review/r7-nx12.md.

  • The numeric-key proof no longer accepts a binding named arguments, a top-level binding with a host-provided name (exports, module, require, ...), or a var that an Annex B block function may overwrite. This also covers the direct-eval unfold and the spread untranspile.
  • The self-defending removal now treats any read that may hit a RegExp legacy static (RegExp[q], /x/.constructor.$1, a key it cannot resolve) as observing the callback's searches, and keeps the block with the unproven note. README documents the matching --unsafe premise.

Rows: crates/untwist/tests/review_r7_nx12_rows.rs (64 probes, both lanes vs node) and builtins_numeric_keys.rs.

Full sweep vs main c9ceaba: no verdict changes in either lane. Krunker gate byte-identical in both lanes. BASELINEs unchanged.

@Sorte1
Sorte1 merged commit 801abba into main Nov 21, 2026
9 checks passed
@Sorte1
Sorte1 deleted the fix/r51-nx13 branch November 21, 2026 02:00

This branch was successfully deployed

1 active deployment
preview — 59859035 Deployed Nov 21, 2026 by Sorte1 via deploy #1375
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant