@cognium/mcp-server 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,6 +4,59 @@ All notable changes to `@cognium/mcp-server` are documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.6.2] - 2026-10-08
8
+
9
+ Tested against `circle-ir` **4.13.2**. The optional module to pair it with is
10
+ `circle-ir-ai` **4.23.0**, built on `4.13.2`; a module built against `4.12`
11
+ (such as `4.21.0`) is refused at load on `4.13` by design. **No tool was added,
12
+ removed or renamed; no input or output schema changed.** Answers change for C#
13
+ and, in one case, JavaScript/TypeScript:
14
+
15
+ - **C# taint is scoped to the declaring method** (`circle-ir` 4.13, #548). A
16
+ source reaches a sink in another method only through a class field or a
17
+ return value; same-named variables in sibling methods no longer leak.
18
+ - **More C# sanitizers and guards are credited** (`circle-ir` 4.13, #518, #520,
19
+ #579, #643): same-file helpers that only return sanitized values,
20
+ `HtmlEncoder.Default.Encode`, `SecurityElement.Escape`, LDAP escapes,
21
+ dominating allowlist checks, and fixed-host ssrf URLs. Credit is per method,
22
+ follows the last assignment, and covers only its own operand, so
23
+ `Encode(a) + b` still reports `b`.
24
+ - **C# flows that were missed are found**: a plain reassignment `s = q;`
25
+ carries taint, a literal in one `switch` arm or `if` branch no longer erases
26
+ a sibling's taint (also multi-line `if`/`else` in Java and Go), and constant
27
+ `if` conditions are evaluated.
28
+ - **A tainted argument must reach the callee's sink** (C#): passing a tainted
29
+ value to a method no longer reports every sink in it.
30
+ - **A JS/TS `switch` whose arms assign only literals is constant**
31
+ (`circle-ir` 4.13.1), so `exec(cmd)` after such a `switch` is not reported.
32
+
33
+ On the engine's Juliet C# 1.3 run, method-level TPR / FPR goes to 100% / 0%
34
+ across variants; OWASP BenchmarkJava, SecuriBench Micro and Juliet Java are
35
+ unchanged.
36
+
37
+ ## [0.6.1] - 2026-10-08
38
+
39
+ Tested against `circle-ir` **4.12.0**. The optional module to pair it with is
40
+ `circle-ir-ai` **4.21.0**, the first release built on `4.12`; a module built
41
+ against `4.10` is refused at load on `4.12` by design. **No tool was added,
42
+ removed or renamed; no input or output schema changed.** Answers do change,
43
+ because the engine's analysis changed:
44
+
45
+ - **Flows whose only source is a bare function parameter are dropped**
46
+ (`circle-ir` 4.11, #292). Java and C# entry points, route-decorated handlers
47
+ and lines that also carry a real source are exempt. To keep them, pass
48
+ `disabledPasses: ["param-source-flow-gate"]` to `scan`.
49
+ - **Java `response.getWriter()` writes report xss as a taint flow, not a
50
+ finding** (`circle-ir` 4.12, #585, #600). The pattern no longer flags writes
51
+ of constants or encoded values; where the value is tainted, `scan` lists the
52
+ xss under `flows` instead of `findings`.
53
+ - **More Java taint is followed** (`circle-ir` 4.12): taint assigned in a
54
+ `switch` case, `PrintWriter.format`/`printf` at every argument,
55
+ `Properties.getProperty` as a source, and servlet handlers behind an
56
+ in-project base class treated as entry points.
57
+ - **A Python `for` target bound from a tainted iterable emits a source**
58
+ (`circle-ir` 4.11, #493).
59
+
7
60
  ## [0.6.0] - 2026-10-03
8
61
 
9
62
  Tested against `circle-ir` **4.10.0**. **No tool was added, removed or renamed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognium/mcp-server",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
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",
@@ -66,7 +66,7 @@
66
66
  "dependencies": {
67
67
  "@modelcontextprotocol/core": "^2.2.0",
68
68
  "@modelcontextprotocol/server": "^2.2.0",
69
- "circle-ir": "4.10.0",
69
+ "circle-ir": "4.13.2",
70
70
  "yaml": "^2.9.1",
71
71
  "zod": "^4.6.5"
72
72
  },