@cognium/mcp-server 0.6.2 → 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 +52 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,6 +4,58 @@ 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
+
7
59
  ## [0.6.2] - 2026-10-08
8
60
 
9
61
  Tested against `circle-ir` **4.13.2**. 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.2",
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.13.2",
69
+ "circle-ir": "4.15.0",
70
70
  "yaml": "^2.9.1",
71
71
  "zod": "^4.6.5"
72
72
  },