Repository navigation
Release v1.2.0 - #3
Merged
Merged
Conversation
…in registrations, narrow prompt-defense rules
…d declared dangerous capabilities
…lock and development-only dependencies
…argv and SQLAlchemy statements
…nd typed scalar parameters that carry no text
…odings and variadic arguments
… declared by parameter descriptions
…er-module dispatch and review fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release v1.2.0. Eleven commits; the release notes are in
docs/release-notes/v1.2.0.md.Report
triage(confirmed,potential,needs_review,context) withtriage_reason, plussource_class,reachabilityandreachable_from.finding_kind: dangerous_capability) instead of an injection into it.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
Server(on_call_tool=...)andServer[T], mcp-goServerToolliterals, Java SDKSyncToolSpecification, Spring AI@McpTool,mcp.tool()(fn), tools lists in imported constants, hand-written JSON-RPC servers.Dataflow
?placeholders, typedint/bool/enum/Literalparameters, fixed-host URLs,exec.LookPath, built-inMap/dictmethods named like a project method, path checks counted as a guard for a shell command line, zodparse/safeParseas an unknown call.Supply chain
uv.lockis read, development-only packages are kept in context, OSV requests are retried on transport errors and 429/5xx.Budgets
limits_hitsays 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 -raceon every package exceptinternal/analyzers/runtimeandinternal/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.