@cognium/mcp-server 0.9.1 → 0.9.3

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
@@ -6,6 +6,68 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.9.3] - 2026-11-29
10
+
11
+ Tested against `circle-ir` **4.25.0** (was 4.23.0; 4.24.0 was not shipped in
12
+ a server release). The optional module to pair it with is `circle-ir-ai`
13
+ **4.41.0**, built on 4.25.0 (the release train: `npm run check:train`). A
14
+ patch from the 0.9.2 release commit: the pin moves and nothing else, so the
15
+ tool list and every schema are the same as 0.9.2.
16
+ `analyze_dependencies` reading npm projects (#52, on `main`) is still not in
17
+ this release.
18
+
19
+ ### Changed
20
+
21
+ - **`circle-ir` pin 4.23.0 → 4.25.0** (exact). The engine's public API change
22
+ is additive. Answers change with it (circle-ir CHANGELOG [4.24.0]):
23
+ `find_dead_code` lifts a module or class to `may-be-live` when one of its
24
+ members is not dead, and a module-level field follows its module; Python
25
+ graph routes compose Django `include()` prefixes and take DRF verbs in place
26
+ of `ANY`; JS/TS navigation follows `.call` / `.apply` / `.bind`; Java enum
27
+ members are declared in `types`, method references are call sites, and
28
+ calls in field initializers are attributed to `<clinit>` / `<init>`; Maven
29
+ `${property}` versions declared in the same pom resolve, and pom comments
30
+ are ignored; finding ids are stable across re-scans; and a set of Java and
31
+ JS/TS taint fixes, among them `Class.forName` reported once, as
32
+ `code_injection` (CWE-94), no longer also as `deserialization` (CWE-502).
33
+ From circle-ir CHANGELOG [4.25.0]: a request value used as template source
34
+ is reported as `template_injection` (CWE-1336), not `code_injection`
35
+ (CWE-94), while unescaped output in a fixed template stays `xss`; there are
36
+ new sink types `idor` (CWE-639) and `improper_type_validation` (CWE-1287);
37
+ Flask IDOR and an untyped query value cast with `as string` are speculative.
38
+ `@cognium/code-facts` 0.1.0 needs `circle-ir` `>=4.18.0`, so a single
39
+ `circle-ir` is still installed.
40
+ - **Optional peer `circle-ir-ai` `>=4.34.0` → `>=4.41.0`.** A module built on
41
+ another `circle-ir` minor is refused at load, so circle-ir-ai 4.34.0 to
42
+ 4.38.0 (on 4.23.0) and 4.40.0 (on 4.24.0) would silently drop the module's
43
+ tools. **Upgrade circle-ir-ai to 4.41.0 together with the server.**
44
+
45
+ ## [0.9.2] - 2026-11-20
46
+
47
+ Tested against `circle-ir` **4.23.0** (was 4.21.0; 4.21.1 and 4.22.0 are
48
+ skipped). The optional module to pair it with is `circle-ir-ai` **4.34.0**,
49
+ built on 4.23.0 (the release train: `npm run check:train`). A patch from the
50
+ 0.9.1 release commit: the pin moves and nothing else, so the tool list and
51
+ every schema are the same as 0.9.1. `analyze_dependencies` reading npm
52
+ projects (#52, on `main`) is still not in this release.
53
+
54
+ ### Changed
55
+
56
+ - **`circle-ir` pin 4.21.0 → 4.23.0** (exact). Answers change with it
57
+ (circle-ir CHANGELOG [4.21.1], [4.22.0], [4.23.0]): new JS/TS passes
58
+ (`prototype-pollution`, CWE-1321; `missing-auth-middleware`, CWE-862;
59
+ `hardcoded-secret-argument`, CWE-798; `redos-regex-literal`, CWE-1333),
60
+ cookie-sourced and `Class.forName` deserialization (CWE-502), value-checked
61
+ Java XXE hardening, an HTML encoder no longer clearing SQL injection and
62
+ other non-XSS sinks, and JS/TS sanitizer credit for SSRF allow-list
63
+ wrappers, same-site redirect guards, fixed templates and `JSON.stringify`
64
+ in logs. `@cognium/code-facts` 0.1.0 needs `circle-ir` `>=4.18.0`, so a
65
+ single `circle-ir` is still installed.
66
+ - **Optional peer `circle-ir-ai` `>=4.32.0` → `>=4.34.0`.** A module built on
67
+ another `circle-ir` minor is refused at load, so circle-ir-ai 4.32.0 or
68
+ 4.33.0 (both on 4.21.0) would silently drop the module's tools. **Upgrade
69
+ circle-ir-ai to 4.34.0 together with the server.**
70
+
9
71
  ## [0.9.1] - 2026-11-15
10
72
 
11
73
  Tested against `circle-ir` **4.21.0** (was 4.20.0). The optional module to pair
package/README.md CHANGED
@@ -158,7 +158,7 @@ tests reaching each (covered when `tests[0].class` is `strong`), `covered`,
158
158
  `counts` and truncation. The contract is C4 0.5.0 §11c.
159
159
 
160
160
  It is computed by `@cognium/code-facts` 0.1.0, an exact dependency of the
161
- server since 0.8.1, on the same `circle-ir` (4.21.0) the server pins, so one
161
+ server since 0.8.1, on the same `circle-ir` (4.25.0) the server pins, so one
162
162
  `circle-ir` is installed. If the package cannot be loaded, the tool answers
163
163
  with one line saying so, and every other tool keeps serving.
164
164
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognium/mcp-server",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Model Context Protocol server exposing the circle-ir SAST engine as structured tools for LLM agents (Claude Desktop, Claude Code, Cursor, cognium-ai).",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -67,12 +67,12 @@
67
67
  "@cognium/code-facts": "0.1.0",
68
68
  "@modelcontextprotocol/core": "^2.3.1",
69
69
  "@modelcontextprotocol/server": "^2.4.0",
70
- "circle-ir": "4.21.0",
70
+ "circle-ir": "4.25.0",
71
71
  "yaml": "^2.9.1",
72
72
  "zod": "^4.6.7"
73
73
  },
74
74
  "peerDependencies": {
75
- "circle-ir-ai": ">=4.32.0"
75
+ "circle-ir-ai": ">=4.41.0"
76
76
  },
77
77
  "peerDependenciesMeta": {
78
78
  "circle-ir-ai": {