circle-ir-ai 2.9.0 → 2.10.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,94 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.10.0] - 2026-06-16
9
+
10
+ ### Changed — circle-ir 3.52.0 → 3.56.0
11
+
12
+ Drop-in engine bump spanning four upstream feature releases. The
13
+ engine-only changes surface as additional `findings[].type` values
14
+ through the same `analyze()` / mastra workflow output — no API
15
+ breaks, no flag additions on this layer.
16
+
17
+ **3.53.0** (cognium-dev#52 + #87 partial)
18
+
19
+ - **Text4Shell (CVE-2022-42889, CWE-94)** — `StringSubstitutor.replace`
20
+ now fires both via explicit-ctor and the chained
21
+ `createInterpolator()` form.
22
+ - **FreeMarker SSTI (CWE-94)** — `new Template(name, new StringReader(taint), cfg)`
23
+ classified as `code_injection`.
24
+ - **Zip-Slip (CWE-22)** — `ZipEntry.getName` / `ZipArchiveEntry` /
25
+ `TarArchiveEntry` reclassified from sink → source, eliminating
26
+ 3×-per-vuln noise. Exactly one `path_traversal` finding per real
27
+ flow.
28
+ - **Java weak-crypto config** — static / zero IV (CWE-329), hardcoded
29
+ symmetric key (CWE-321), weak RSA key size (CWE-326).
30
+ - **Taint matcher fix** — both `matchesSinkPattern` and
31
+ `matchesSourcePattern` now consult IR-resolved `receiver_type` /
32
+ `receiver_type_fqn` before falling back to name heuristic.
33
+ Unblocks all class-qualified sink/source patterns.
34
+
35
+ **3.54.0** (Sprint 5)
36
+
37
+ - **`jwt-verify-disabled` (CWE-347, pass #93)** — pure pattern pass
38
+ for PyJWT `options={"verify_signature": False}`, jsonwebtoken
39
+ `algorithms: ['none']`, auth0 `Algorithm.none()`, jjwt-0.x unsigned
40
+ `parse(token)`.
41
+ - **`redos` SinkType (CWE-1333)** — taint flow into regex
42
+ compile/match primitives (Python `re.*`, Java `Pattern.compile`,
43
+ JS `new RegExp`, Go `regexp.*`). Severity high (medium for Go —
44
+ non-backtracking).
45
+ - **`format_string` SinkType (CWE-134)** — taint flow into format
46
+ primitives (Java `String.format`/`printf`, Go `fmt.*`, Python
47
+ `ctypes printf`).
48
+
49
+ **3.55.0** (Sprint 6 — completes #86 9-category gap analysis)
50
+
51
+ - **`crlf` SinkType (CWE-113)** — HTTP response splitting via
52
+ `setHeader`/`addHeader` (Java/JS/Go). Re-routed from `xss` for
53
+ header-only sinks. Severity medium.
54
+ - **`mass_assignment` SinkType (CWE-915)** — `Object.assign`,
55
+ `_.merge`/`_.extend`, jQuery `$.extend`. Severity high.
56
+ - **`csrf-protection-disabled` (CWE-352, pass #94)** — explicit
57
+ `http.csrf().disable()`, `csrfTokenRepository(null)`,
58
+ `@csrf_exempt`. Severity critical.
59
+ - **`xml-entity-expansion` (CWE-776, pass #95)** — XXE / billion-laughs
60
+ via `SAXParserFactory.newInstance()` / `lxml.etree.parse` without
61
+ defusedxml or DTD-disable flags. Severity high.
62
+ - **`mass-assignment` pattern (CWE-915, pass #96)** — `User(**request.form)`,
63
+ `{...req.body}`. Complements the taint sink. Severity high.
64
+ - **`canSourceReachSink` coverage matrix** extended for `crlf` and
65
+ `mass_assignment` — without this, inline source-as-argument flow
66
+ (`res.setHeader('X-Tag', req.query.t)`) was silently rejected.
67
+
68
+ **3.56.0** (#87 — Sprint 7, cross-language `weak-crypto` parity)
69
+
70
+ - **Python weak-crypto config** — `modes.ECB()` (CWE-327),
71
+ `AES.new(b"literal", …)` and `algorithms.AES(b"literal")` (CWE-321),
72
+ `rsa.generate_private_key(key_size<2048)` (CWE-326).
73
+ - **Go weak-crypto config** — `aes.NewCipher([]byte("literal"))` +
74
+ `des`/`rc4` siblings (CWE-321), `rsa.GenerateKey(rand.Reader, N)`
75
+ with `N<2048` (CWE-326).
76
+ - Both languages support a regex-fallback literal-binding scan for
77
+ the two-line bind-then-use pattern; function parameters / runtime
78
+ values still ignored (no KMS/Vault FPs).
79
+ - Python plugin emits bytes literals as `b"…"`; the `weak-crypto`
80
+ pass now prefers `argument.expression` over `argument.literal`
81
+ for the inline regex (the `literal` field strips the trailing
82
+ quote).
83
+
84
+ ### Counts
85
+
86
+ Upstream now ships **24 security passes** (was 19) and **8 pattern
87
+ passes** (was 4). Five new `SinkType` values surface through
88
+ `findings[].type`: `crlf`, `mass_assignment`, `redos`, `format_string`,
89
+ plus the existing `code_injection` / `path_traversal` re-routes from
90
+ the Text4Shell / Zip-Slip / FreeMarker fixes. Downstream consumers
91
+ that switch on `SinkType` should pick these up automatically; trust /
92
+ quality / health scoring categories are unaffected.
93
+
94
+ Full test suite: **766/766 passing** (3 skipped), no regressions.
95
+
8
96
  ## [2.9.0] - 2026-06-16
9
97
 
10
98
  ### Added — windowed source/sink batch-verification (cognium-ai#86)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "circle-ir-ai",
3
- "version": "2.9.0",
3
+ "version": "2.10.0",
4
4
  "description": "LLM-enhanced SAST analysis built on circle-ir",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -94,7 +94,7 @@
94
94
  "dependencies": {
95
95
  "@ax-llm/ax": "^20.0.0",
96
96
  "@mastra/core": "^1.18.0",
97
- "circle-ir": "3.52.0",
97
+ "circle-ir": "3.56.0",
98
98
  "minimatch": "^10.2.5",
99
99
  "p-queue": "^9.1.0"
100
100
  },