{"modulePath":"github.com/devlab-group/mcp-scanner","version":"v1.3.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/devlab-group/mcp-scanner/cmd/mcp-scanner","name":"main","synopsis":"Command mcp-scanner is the MCP security scanner CLI","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/cmd/mcp-scanner-api","name":"main","synopsis":"Command mcp-scanner-api serves scans and health checks over HTTP","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/auth","name":"auth","synopsis":"Package auth analyzes authentication, token, and session security for a live MCP target.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/behavioral","name":"behavioral","synopsis":"Package behavioral compares what an MCP capability says it does against what its handler actually reaches, using only the graph the source pass already built: no LLM, just a fixed vocabulary matched against the description and a fixed catalogue of filesystem/network/process/credential calls matched against everything the handler statically reaches.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/cisco","name":"cisco","synopsis":"Package cisco sends a target's declared MCP surface to Cisco AI Defense for inspection (prompt injection, data exfiltration setups, unsafe content).","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/iac","name":"iac","synopsis":"Package iac reads the infrastructure templates a repository ships for deploying its MCP server (Bicep, ARM JSON, Terraform) and reports database and administrator secrets that the template fixes: a password written as a literal, a parameter or variable whose default is one, or a password computed with a deterministic hash (uniqueString, guid) from deployment values.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/llm","name":"llm","synopsis":"Package llm sends a target's declared MCP surface (tool descriptions, prompt text, server instructions) to a configured model for semantic judgement.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/promptdefense","name":"promptdefense","synopsis":"Package promptdefense detects prompt injection, hidden content and tool poisoning in the text an MCP server hands to an LLM: tool and prompt descriptions, resource content and server instructions.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/protocol","name":"protocol","synopsis":"Package protocol checks MCP conformance from a snapshot.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/readiness","name":"readiness","synopsis":"Package readiness checks the declared security posture of an MCP server: whether it says anything about authentication, whether tools document themselves and mark destructive operations as such, and whether resource URIs constrain what they can reach.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/runtime","name":"runtime","synopsis":"Package runtime is the analyzer that actually calls ac.Runtime: it turns a tool's declared input schema into fuzz payloads, runs them inside the sandbox with canaries planted, and reports only what an observation actually demonstrated","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/supplychain","name":"supplychain","synopsis":"Package supplychain finds pinned dependencies and reports matching OSV vulnerabilities.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/taint","name":"taint","synopsis":"Package taint traces MCP-reachable values to dangerous sinks across files.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/transport","name":"transport","synopsis":"Package transport reads, from source alone, how an MCP server is served over the network: the address its HTTP, SSE or Streamable HTTP endpoint listens on, whether it lets web pages of any origin call it (CORS), and whether a request has to carry credentials.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/virustotal","name":"virustotal","synopsis":"Package virustotal looks up hashes for a bounded set of files under the scan root.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/analyzers/yara","name":"yara","synopsis":"Package yara scans text an MCP server declares - tool and prompt descriptions, prompt text, resource contents, and server instructions - against YARA signatures.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/api","name":"api","synopsis":"Package api implements the scanner's HTTP API: POST /v1/scans submits a target, GET /v1/scans/{id} polls its result, and /healthz, /readyz serve standard liveness/readiness checks.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/app","name":"app","synopsis":"Package app assembles the scanner for the CLI and HTTP API","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/config","name":"config","synopsis":"Package config loads and validates scanner configuration.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/dossier","name":"dossier","synopsis":"Package dossier collects everything the static pipeline knows about an MCP server's source tree into one document, for a later reviewer - a person or a model - to read without the tree at hand: languages and manifests, the MCP SDK and its version, declared server identity, and for each tool, prompt and resource its declaration, handler code and reachable behavior.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/evals","name":"evals","synopsis":"Package evals runs the security benchmark corpus and scores the scanner against it.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/httpx","name":"httpx","synopsis":"Package httpx is the outbound HTTP layer for everything the scanner fetches: MCP endpoints, package registries, vulnerability data and model providers","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/llm","name":"llm","synopsis":"Package llm holds what the provider adapters (openai, anthropic, bedrock) share: request configuration, a classified error type, and the HTTP call that turns a raw response into one of them.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/llm/anthropic","name":"anthropic","synopsis":"Package anthropic implements analyzer.LLMClient with the Anthropic Messages API","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/llm/bedrock","name":"bedrock","synopsis":"Package bedrock implements analyzer.LLMClient against Anthropic Claude models hosted on AWS Bedrock, calling bedrock-runtime InvokeModel directly over net/http with a hand-rolled SigV4 signature","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/llm/openai","name":"openai","synopsis":"Package openai implements analyzer.LLMClient against the OpenAI chat completions API","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/mcp/client","name":"client","synopsis":"Package client is the wiring seam other packages depend on: it turns a model.Target into a live MCP connection (scanner.Preparer, analyzer.Dialer) or a replayed one (LoadSnapshotBytes), and implements analyzer.Session on top of the go-sdk client plus a minimal raw JSON-RPC channel for probes the typed SDK client will not build","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/mcp/discovery","name":"discovery","synopsis":"Package discovery drives the standard MCP discovery methods against an initialized session and converts the result into a model.Snapshot","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/mcp/snapshot","name":"snapshot","synopsis":"Package snapshot canonicalizes, hashes, compares, saves, and loads snapshots","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/mcp/surface","name":"surface","synopsis":"Package surface renders a snapshot's declared MCP capability surface - instructions, tools, prompts, resources, resource templates - as text for something that judges it (a model, a third-party classifier), stopping once a caller-supplied character budget is used.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/mcp/transport","name":"transport","synopsis":"Package transport builds SDK transports for an MCP target and enforces the scanner's own SSRF guard before any of them connect","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/policy","name":"policy","synopsis":"Package policy turns a scan result into a pass/fail decision and a process exit code.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/report","name":"report","synopsis":"Package report holds what every output writer (json, sarif, table, summary) shares","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/report/json","name":"json","synopsis":"Package json writes sanitized ScanResult values using the versioned schema.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/report/sarif","name":"sarif","synopsis":"Package sarif writes a model.ScanResult as SARIF 2.1.0 (https://docs.oasis-open.org/sarif/sarif/v2.1.0/), the format GitHub code scanning and most CI security dashboards consume","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/report/summary","name":"summary","synopsis":"Package summary writes a condensed, human-readable overview of a model.ScanResult: verdict, finding counts, coverage gaps and the most severe findings - not the full table internal/report/table produces","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/report/table","name":"table","synopsis":"Package table writes a model.ScanResult as a plain-text table for a terminal","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/runtime/canary","name":"canary","synopsis":"Package canary generates the fake secrets planted inside a sandbox run.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/runtime/fuzz","name":"fuzz","synopsis":"Package fuzz generates schema-driven payloads for a tool's declared JSON Schema input.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/runtime/observer","name":"observer","synopsis":"Package observer turns a raw sandbox run into []analyzer.Observation.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/runtime/sandbox","name":"sandbox","synopsis":"Package sandbox implements analyzer.RuntimeExecutor on top of the Docker CLI.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source","name":"source","synopsis":"Package source builds a repository graph and discovers MCP registrations.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/bundle","name":"bundle","synopsis":"Package bundle reads a JavaScript bundle in esbuild's output shape - tsup and other tools built on esbuild write the same - where every bundled module opens with a comment line holding the path the bundler resolved it from:","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/graph","name":"graph","synopsis":"Package graph is the exported source-code model shared between the discovery pass and every analyzer that reasons about dataflow: symbols, imports, the call graph and the MCP capabilities found in it","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/inventory","name":"inventory","synopsis":"Package inventory walks regular source files within a hard root boundary and records reported skips.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/language","name":"language","synopsis":"Package language adapts each supported source language to a common shape: its file extensions, its tree-sitter grammar, and the small set of node kinds the parser and taint walker need to recognize (a function, a call, an assignment, a string literal)","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/parser","name":"parser","synopsis":"Package parser turns one source file into symbols, imports and calls using the language's tree-sitter grammar and queries.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/queries","name":"queries","synopsis":"Package queries embeds the tree-sitter query files for every supported language, so parsing never depends on a query file being present on disk at runtime","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/registration","name":"registration","synopsis":"Package registration finds where MCP tools, prompts and resources are registered, across direct SDK calls, decorators/annotations/attributes, a wrapper function that forwards into the SDK, and registration inside a loop - working entirely off the graph the parser already built, so it never re-reads source.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/source/targetfs","name":"targetfs","synopsis":"Package targetfs reads the files of a scanned tree after the inventory walk.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/supplychain","name":"supplychain","synopsis":"Package supplychain holds the seam between the code that downloads a package target and the analyzer that has to say something about it","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/supplychain/archive","name":"archive","synopsis":"Package archive extracts hostile input under size and count limits.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/supplychain/npm","name":"npm","synopsis":"Package npm downloads a published npm package's tarball and unpacks it with internal/supplychain/archive.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/supplychain/osv","name":"osv","synopsis":"Package osv queries the OSV (Open Source Vulnerabilities) database for a set of ecosystem/name/version coordinates, and parses the lockfile formats that produce those coordinates in the first place","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/supplychain/pypi","name":"pypi","synopsis":"Package pypi downloads and extracts PyPI sdists and wheels.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/internal/testutil","name":"testutil","synopsis":"Package testutil holds helpers shared by tests in several packages","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/pkg/analyzer","name":"analyzer","synopsis":"Package analyzer defines the contract every security analyzer implements.","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/pkg/model","name":"model","synopsis":"","isRedistributable":true},{"path":"github.com/devlab-group/mcp-scanner/pkg/scanner","name":"scanner","synopsis":"Package scanner runs analyzers against a target and turns their results into a single verdict.","isRedistributable":true}],"total":59}}
