zames_pro 2.90.1 → 2.90.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.90.2] - 2026-10-28
11
+
12
+ ### Fixed
13
+
14
+ - **web:** treat the IPv4-translated ::ffff:0:a.b.c.d literal as private
15
+
10
16
  ## [2.90.1] - 2026-10-28
11
17
 
12
18
  ### Fixed
@@ -437,7 +443,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
437
443
 
438
444
  ### Fixed
439
445
 
440
- - **mcp:** a schema property named __proto__ becomes a real parameter
446
+ - **mcp:** a schema property named **proto** becomes a real parameter
441
447
 
442
448
  ## [2.82.123] - 2026-10-24
443
449
 
@@ -1486,7 +1492,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1486
1492
 
1487
1493
  ### Fixed
1488
1494
 
1489
- - **commands:** keep an unsupplied position as written in a custom command
1495
+ - **commands:** keep an unsupplied position as written in a custom command
1490
1496
  - **subagent:** count a subagent run only once it actually starts
1491
1497
  - **attach:** do not cut an inlined @file inside a surrogate pair
1492
1498
  - **checkpoint:** a bare out-of-range rewind index no longer matches a stamp prefix
@@ -1606,7 +1612,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1606
1612
  - **changelog:** keep drafted group headings on their own line
1607
1613
  - **tui:** decode modified and release wheel reports correctly
1608
1614
  - **shell:** normalize an invalid Bash timeout instead of crashing the tool
1609
- - **cost:** keep per-tool stats safe for __proto__/constructor tool names
1615
+ - **cost:** keep per-tool stats safe for **proto**/constructor tool names
1610
1616
  - **tui:** mark blocked/aborted tool calls as errors in the result icon
1611
1617
  - **mcp:** do not split a surrogate pair when truncating an MCP result
1612
1618
  - **context:** discover skills at the documented 3 levels deep
package/dist/web.js CHANGED
@@ -263,6 +263,20 @@ export function isPrivateIp(ip) {
263
263
  '.' +
264
264
  (v6[7] & 0xff));
265
265
  }
266
+ // IPv4-TRANSLATED ::ffff:0:a.b.c.d (RFC 2765): the embedded IPv4 sits in
267
+ // the LAST two groups with one extra zero group between `ffff` and it.
268
+ // Only the mapped form above was judged, so `::ffff:0:7f00:1` (= 127.0.0.1)
269
+ // stayed "public" and WebFetch could reach localhost/metadata through it.
270
+ const translatedV4 = v6.slice(0, 4).every((g) => g === 0) && v6[4] === 0xffff && v6[5] === 0;
271
+ if (translatedV4) {
272
+ return isPrivateIp((v6[6] >> 8) +
273
+ '.' +
274
+ (v6[6] & 0xff) +
275
+ '.' +
276
+ (v6[7] >> 8) +
277
+ '.' +
278
+ (v6[7] & 0xff));
279
+ }
266
280
  }
267
281
  if (low === '::1' || low === '::')
268
282
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.90.1",
3
+ "version": "2.90.2",
4
4
  "description": "Terminal coding agent that drives a real browser to chat with DeepSeek, Qwen or GLM — no API key required. Reads and edits files, runs commands, commits to git, like Claude Code / Codex CLI.",
5
5
  "type": "module",
6
6
  "bin": {