The live browser and Electron capture tools had their own copy of the code that hides declared secrets, and only that copy hid two secrets that overlap: in a network recording or a stand-in built from one, `Bearer abc` and `abc123456789` in `Bearer abc123456789` left `123456789` showing. All three now use one implementation, in the analysis crate, which hides overlapping matches as one.
Matching C# source declarations against a .NET program's metadata reported methods as different when they were the same, in four cases: a parameter of a nested type or one written with `global::`; any type or namespace with "ref" in its name (`Preference` became `Pref erence`); a type of the program's own named like a built-in (`App.String` was read as `string`); and arrays of two or more dimensions, which metadata writes as `[0...,0...]` and C# as `[,]`. Each is now read the same way on both sides.
Saving the scripts of a web capture planned two files for URLs that differed only in letter case; on Windows and on a default Mac disk those are one file, so the second script was skipped. Paths are now compared without regard to case. A script whose URL ends in `.JS`, `.MJS` or `.CJS` no longer gets a second `.js` added, and a script captured many times is numbered `.hash.2`, `.hash.3` and so on, where each copy used to add to the last one's name until it was too long to write.
- Update `analysis::web_har::replace_needles_with` to scan each UTF-8 character
boundary for the longest matching needle and merge overlapping matched byte
spans before replacing, closing the suffix leak on partially overlapping
declared secrets in HAR inspection and stand-in builds while keeping distinct
non-overlapping adjacent matches separate for stand-in deduplication budgets.
- Export `encode_query`, `contains_ascii_ci`, and `replace_needles_with` from
`analysis::web_har` and call them directly from `engine::tools::web_common`,
removing the duplicate implementations so all three redactors stay in sync.
- Strip `global::` and convert metadata `/` nested-type separators in `norm_type`
as well as `norm_type_qualified` so method parameters taking nested or
`global::`-qualified types reconcile without mismatch.
- Emit `ref ` only for leading `ref` modifiers followed by whitespace and a type
start, avoiding spurious spaces inside identifiers containing `ref` or on `@ref`
value types.
- Keep non-`System` types named like CLR built-ins (such as `App.String`) distinct
from C# built-in keywords in qualified conversion-target comparisons.
- Collapse multi-dimensional zero-lower-bound CLI array shapes (`[0...,0...]`) to
C# rank commas (`[,]`) while preserving rank-1 `[0...]` and non-zero/sized bounds.
When an app's files named the same library more than once, with a version in one place and without one in another, comparing two versions of the app kept only the last entry. A later entry with no version erased the known one on both sides, so a library upgrade went unreported. Every version found for a library is now kept (several are listed together), and entries without a version no longer replace one.
The same gap as #2053, in the live browser and Electron capture tools: a value declared as secret could still appear when it was written the way a form posts it, with lower-case or mixed-case percent escapes, or in another letter case. Those spellings are now matched without regard to case, longest first, in one pass.
The pseudo-C folded an argument's assignment into the call that follows, even when a register that assignment read had been overwritten in between: `rsi = rdi; edi += 1; f(...)` showed the call taking the new `rdi` where it takes the old one. An assignment whose source register changes before the call is now left as its own statement, and the call is shown taking the assigned register or stack slot. This covers calls, tail calls and Win64 stack arguments.
When a function was scanned before the next function's start was known, it could run on into it; the second, trimmed scan fixed its blocks, but the references the first scan had recorded stayed and still counted against the limit. References are now kept per function, replaced when a function is scanned again, and the overall limit is shared out in the order functions were found, with freed room going to functions that had been cut short.
Reading a link whose target isn't there answers "not found", so a config.toml that is such a link (a synced folder not mounted yet, a drive not attached) loaded as plain defaults, and the next save, or a deferred save recovered at the start, put a file where the link was. "Not found" is a first start now only when nothing is at the path itself. A link without its target loads as defaults that refuse to be saved, naming where it points, and deferred edits aren't merged over it. The note on kept copies said "up to 16"; they are config.toml.broken, then .broken.1 to .broken.15.
Scan every UTF-8 character boundary for the longest declared secret spelling,
merge overlapping or adjacent matched byte spans, and replace each merged span
once so an earlier shorter match cannot expose the suffix of a longer secret.
When two modules recovered from a bundle had the same path, the second was renamed with a `.js` ending whatever it was, so a duplicate `.ts`, `.css` or `.json` module came out as `.js`; the copy now keeps its own extension. A module id is also stripped of at most one `webpack://`, `webpack:` or `file://` prefix instead of every repeated one.
The JavaScript reader remembered a variable's first string, number or required module and kept using it after the variable was assigned again, so a later fetch(url) was reported with a stale address marked as literal, and calls through a re-pointed module alias were reported as the old module's. A straight-line assignment now updates the value; a compound or update operation, a destructuring or loop binding, and a write inside a branch, loop, try/catch or nested function make it unknown for the code that follows.
For ARM32 and Thumb `pop`, `push`, `ldm` and `stm`, only the first listed register was treated as written and the rest as read, so `pop {r0, r1}` looked as if it read r1 and a load's base register looked written. Every register a `pop` or `ldm` loads is now recorded as written, every register a `push` or `stm` stores as read, and the base register as read (and written only with `!`).
SQLite lets table constraints follow each other without a comma (`UNIQUE(v) PRIMARY KEY(id)`) and lets a key column sit in extra parentheses (`PRIMARY KEY((id))`). Both the rowid-alias check and the WITHOUT ROWID key layout now find the primary key in those forms, so rows from such tables show their key values in the right columns.
An indexed source map (one made of sections) always reported 0 sources with embedded content, because only the top level was counted; the count now includes every inline section, nested ones too. A stand-alone map named like `app.map.map` also lost both suffixes when its script name was worked out; only the last `.map` is removed now.
On AArch64, a `cmn` followed by a conditional branch was shown as `if (wzr == 0)`, and writes to the zero register appeared as statements (`wzr = w0 + 1;`). The condition is now shown as `(a + b) <op> 0`, and writes to `wzr`/`xzr` are left out while their flags are still used.
Comparing two versions of a JavaScript app matched each old module against every rule before moving to the next, so an earlier module's weaker match (same structure, or same id) could take a new module that a later one matched exactly, and one new module could be reported twice. Modules are now matched one rule at a time across all of them, strongest first, and each new module is claimed once.
When another app's config.toml wrote its server list inline (`mcp_servers = {}` or `mcp_servers = { other = … }`), setup refused with "exists but is not a table" and the plan was blocked. Setup now writes into an inline table too, keeping the other entries, comments and line endings, and merging into an entry it already owns. A value that is not a table is still refused.
A value the person declared as hidden could still appear in a network capture view or a stand-in when it was written the way a form posts it (spaces as `+` with other characters percent-encoded), with mixed-case percent escapes, or as an encoded form field name. Those spellings are now matched, without regard to letter case, with the longest spelling replaced first.
Follow-up to #2047. GraphQL allows spaces, commas and comments between `@` and a directive's name; a document written that way was rejected and its operations were lost. Those ignored tokens are now skipped in directive annotations and directive definitions.
Follow-up to #2049. A conversion operator whose target type is named `@checked` was read as a checked operator with no target type, because the `@` was lost before the name was compared with the `checked` keyword. The keyword is now recognised only when it was written without `@`.