@cognium/mcp-server 0.6.1 → 0.6.4

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 +82 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,6 +4,88 @@ 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.4] - 2026-10-15
8
+
9
+ Tested against `circle-ir` **4.15.0**. The optional module to pair it with is
10
+ `circle-ir-ai` **4.28.0**, built on `4.15.0`; a module built against `4.14`
11
+ (such as `4.26.0` or `4.27.0`) is refused at load on `4.15` by design. **No tool
12
+ was added, removed or renamed; no input or output schema changed.** Answers
13
+ change, mostly toward fewer false positives:
14
+
15
+ - **New sources and sinks** (`circle-ir` 4.15): Express handlers that
16
+ destructure the request (`({ query }, res)`) and GraphQL resolver-map
17
+ arguments are sources; Spring `@RestController` / `@ResponseBody` handlers
18
+ that return request input in an HTML string are xss sinks; `loadClass` on a
19
+ context, class or system class loader is a code-injection sink.
20
+ - **False positives cleared** (`circle-ir` 4.15): `fetch` to a `const` literal
21
+ origin is not ssrf; a `RegExp` built only from const string literals is not
22
+ redos; `JSON.stringify`, `qs.stringify`, C# dictionary lookups and one-way
23
+ hashes are not an `external_taint_escape`; a length, count or boolean test
24
+ of tainted text carries no taint; outbound `URLConnection` / `Socket` writes
25
+ are not xss.
26
+ - **Sanitizer and guard credit follows the arguments** (`circle-ir` 4.15):
27
+ Java `replace` / `replaceAll` credit depends on what is stripped, and a
28
+ canonical-path `startsWith` guard counts only when the base ends with a
29
+ separator (the CVE-2022-23457 prefix bypass is reported).
30
+
31
+ ## [0.6.3] - 2026-10-11
32
+
33
+ Tested against `circle-ir` **4.14.1**. The optional module to pair it with is
34
+ `circle-ir-ai` **4.26.0**, built on `4.14.1`; a module built against `4.13`
35
+ (such as `4.23.0`) is refused at load on `4.14` by design. **No tool was added,
36
+ removed or renamed; no input or output schema changed.** Answers change in
37
+ several languages:
38
+
39
+ - **Flows that were missed are found.** Java `exec(cmd + tainted)` reports when
40
+ `cmd` is a local string constant (`circle-ir` 4.14.1, #627); a concatenation
41
+ of constants only stays clean. A destructured TypeScript function parameter
42
+ (`{ id }`, nested, or with a default) carries taint (4.14.1, #664).
43
+ - **More sinks and sources are known** (`circle-ir` 4.14): Go `database/sql`
44
+ context, transaction and prepare calls are SQL sinks (#583); C#
45
+ `new BinaryFormatter().Deserialize(x)` and the other inline-created
46
+ formatters are CWE-502 sinks (#630); Java `JarEntry.getName()` is an
47
+ archive-entry source, as `ZipEntry.getName()` already was (#620); Java
48
+ `new CpsFlowExecution(script)` is reported as code injection, CWE-94 (#619).
49
+ - **More hardcoded credentials are reported** (`circle-ir` 4.14): AWS temporary
50
+ STS keys (`ASIA…`, #648) and Stripe test-mode secret and restricted keys
51
+ (`sk_test_`, `rk_test_`, #576). Short and placeholder bodies stay quiet.
52
+ - **A JS/TS response call with no arguments is not an xss sink**
53
+ (`circle-ir` 4.14, #629), so `res.status(400).end()` is not reported;
54
+ `res.end(x)` and `res.send(html)` still are.
55
+ - **One over-long line no longer drops the rest of the file** (`circle-ir`
56
+ 4.14, #593). A line over 10 000 characters is blanked and every other line is
57
+ analysed; a file that is a single minified line stays empty.
58
+
59
+ ## [0.6.2] - 2026-10-08
60
+
61
+ Tested against `circle-ir` **4.13.2**. The optional module to pair it with is
62
+ `circle-ir-ai` **4.23.0**, built on `4.13.2`; a module built against `4.12`
63
+ (such as `4.21.0`) is refused at load on `4.13` by design. **No tool was added,
64
+ removed or renamed; no input or output schema changed.** Answers change for C#
65
+ and, in one case, JavaScript/TypeScript:
66
+
67
+ - **C# taint is scoped to the declaring method** (`circle-ir` 4.13, #548). A
68
+ source reaches a sink in another method only through a class field or a
69
+ return value; same-named variables in sibling methods no longer leak.
70
+ - **More C# sanitizers and guards are credited** (`circle-ir` 4.13, #518, #520,
71
+ #579, #643): same-file helpers that only return sanitized values,
72
+ `HtmlEncoder.Default.Encode`, `SecurityElement.Escape`, LDAP escapes,
73
+ dominating allowlist checks, and fixed-host ssrf URLs. Credit is per method,
74
+ follows the last assignment, and covers only its own operand, so
75
+ `Encode(a) + b` still reports `b`.
76
+ - **C# flows that were missed are found**: a plain reassignment `s = q;`
77
+ carries taint, a literal in one `switch` arm or `if` branch no longer erases
78
+ a sibling's taint (also multi-line `if`/`else` in Java and Go), and constant
79
+ `if` conditions are evaluated.
80
+ - **A tainted argument must reach the callee's sink** (C#): passing a tainted
81
+ value to a method no longer reports every sink in it.
82
+ - **A JS/TS `switch` whose arms assign only literals is constant**
83
+ (`circle-ir` 4.13.1), so `exec(cmd)` after such a `switch` is not reported.
84
+
85
+ On the engine's Juliet C# 1.3 run, method-level TPR / FPR goes to 100% / 0%
86
+ across variants; OWASP BenchmarkJava, SecuriBench Micro and Juliet Java are
87
+ unchanged.
88
+
7
89
  ## [0.6.1] - 2026-10-08
8
90
 
9
91
  Tested against `circle-ir` **4.12.0**. The optional module to pair it with is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognium/mcp-server",
3
- "version": "0.6.1",
3
+ "version": "0.6.4",
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.12.0",
69
+ "circle-ir": "4.15.0",
70
70
  "yaml": "^2.9.1",
71
71
  "zod": "^4.6.5"
72
72
  },