Skip to content

Release v1.2.0 - #3

Merged
SergeevDmitry merged 11 commits into
masterfrom
release/v1.2.0
Nov 19, 2026
Merged

SergeevDmitry merged 11 commits into
masterfrom
release/v1.2.0

Conversation

@SergeevDmitry

Copy link
Copy Markdown
Member

Summary

Release v1.2.0. Eleven commits; the release notes are in docs/release-notes/v1.2.0.md.

Report

  • Every dataflow finding carries triage (confirmed, potential, needs_review, context) with triage_reason, plus source_class, reachability and reachable_from.
  • A tool whose stated purpose is the risky action is reported as a declared capability (finding_kind: dangerous_capability) instead of an injection into it.
  • Judgements made from names or wording alone go to needs_review; only facts of the code remove a finding.

New command

  • mcp-scanner inventory <path> writes a dossier of a source tree: manifests and MCP SDK versions, server identity, each capability's handler, parameters and observed behavior, and review hints (docs/review-hints.md).

Discovery

  • Python SDK 2.x Server(on_call_tool=...) and Server[T], mcp-go ServerTool literals, Java SDK SyncToolSpecification, Spring AI @McpTool, mcp.tool()(fn), tools lists in imported constants, hand-written JSON-RPC servers.
  • A tree with several low-level servers sends each server's tools to the dispatcher in its own module. One dispatcher used to be kept for the whole tree, chosen by map order, so results could change between runs.
  • Registration walks templates, symbols and files in a fixed order.

Dataflow

  • Return values of project functions after a check or a rebuild, checks two calls below a handler, argv lists built elsewhere, schemas in another file, commands stored by one tool and run later.
  • Fewer false positives: SQLAlchemy statements, ? placeholders, typed int/bool/enum/Literal parameters, fixed-host URLs, exec.LookPath, built-in Map/dict methods named like a project method, path checks counted as a guard for a shell command line, zod parse/safeParse as an unknown call.

Supply chain

  • uv.lock is read, development-only packages are kept in context, OSV requests are retried on transport errors and 429/5xx.

Budgets

  • The per-file parse budget counts thread CPU time and the taint walk has a fixed work limit, so results do not depend on machine load. The per-analyzer timeout defaults to 5 minutes; when it is hit, limits_hit says so, and a stop of the whole scan is reported separately.

Testing

Run locally on this branch with Go 1.26.11 (the version in go.mod):

  • gofmt, go vet, govulncheck ./...: clean.
  • go test -race on every package except internal/analyzers/runtime and internal/runtime/sandbox: pass.
  • make check-version: pass.

The two packages above need Docker, which was not running here, so they were not run locally. This branch does not change them.

Merge with "Rebase and merge" or a merge commit to keep the eleven commits; a squash merge would collapse them into one.

@SergeevDmitry
SergeevDmitry merged commit 9fa7423 into master Nov 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant