MCP ScanBLOCK
Security scanner for AI agents, MCP servers and agent skills.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Snyk Agent Scan
Discover and scan agent components on your machine for prompt injections and vulnerabilities (including agents, MCP servers, skills).
Note: We don't publish an npm package for Agent Scan. Install it via uvx or as a standalone binary.Note: CLI output is experimental and subject to change Agent Scan v0.5.x (planned for deprecation) The raw output of this CLI — including issue codes, field names, severity labels, and response structure — is experimental and may change without notice between releases. We do not recommend building production workflows that depend on specific CLI output fields or issue codes. Agent Scan v0.6 and later The raw output of this CLI — including risk indicator names, scores, field names, and response structure — is experimental and may change without notice between releases. We do not recommend building production workflows that depend on specific CLI output fields or risk names. If you are an enterprise customer using Snyk to manage agent security risk at scale, the CLI output may not reflect what is sent to and shown in the Evo platform. The underlying integration, discovery, and risk assessment that powers enterprise deployments is stable and supported — any changes will be communicated in line with standard Snyk product practices. Contact your account team for deployment guidance.
NEW Read our technical report on the emerging threats of the agent skill eco-system published together with Agent Scan 0.4, which adds support for scanning agent skills.
d97a3951b409OBSERVED · 2026-09-24Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add snyk-agent-scan --env PUSH_KEY=${PUSH_KEY} --env SNYK_TOKEN=${SNYK_TOKEN} -- uvx snyk-agent-scan{
"mcpServers": {
"snyk-agent-scan": {
"command": "uvx",
"args": [
"snyk-agent-scan"
],
"env": {
"PUSH_KEY": "${PUSH_KEY}",
"SNYK_TOKEN": "${SNYK_TOKEN}"
}
}
}
}Exposed tools (19)
14 read · 4 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
add | write | return a + b |
browser_close | read | Close the page |
create_pull_request | write | d |
delete_file | destructive | |
divide | read | Divide two numbers. |
gcd | read | Calculate the greatest common divisor (GCD) of two integers. |
get_api_key | read | |
get_comments | read | |
get_connections | read | return [ |
get_current_time | read | |
get_train_info | read | Get information about a train. |
is_prime | read | Return True if n is a prime number, False otherwise. |
lcm | read | Calculate the least common multiple (LCM) of two integers. |
multiply | read | |
send_email | write | |
store_value | read | Store here all important values! |
subtract | read | Subtract two numbers. |
sum | write | Add two numbers together. |
weather | read | Get current weather for a location. |
Trust audit
BLOCKgrade D · trust 61/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (11 observation(s))
- Network
- declared (8 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (25)
client_exists_paths=["~/.aws/amazonq"],
"~/.aws/amazonq/agents/default.json",
"~/.aws/amazonq/agents/mcp.json",
"~/.aws/amazonq/mcp.json",
client_exists_paths=["~/.aws/amazonq"],
secret = "ghp_abcdefghijklmnopqrstuvwxyz1234567890"
secret = "ghp_abcdefghijklmnopqrstuvwxyz1234567890"
secret = "ghp_abcdefghijklmnopqrstuvwxyz1234567890"
secret = "ghp_abcdefghijklmnopqrstuvwxyz1234567890"
"xoxb-123456789012-1234567890123-" + "abcdefghijklmnopqrstuvwx", # Slack
delete_file
.flake8
.pre-commit-config.yaml
digest = hashlib.sha1(key, usedforsecurity=False).digest()
["relative/plugin", "../../etc", "~", "~/", "~/../../etc", "~root/.ssh", "/Users", "/home"],
'[{"relativeLocation": "pub.good-1.0.0"}, {"relativeLocation": "../../outside"}]'"../../../etc",
["169.254.169.254", "169.254.0.1", "fe80::1", "febf::1", "fd00:ec2::254", "100.100.100.200"],
@pytest.mark.parametrize("host", ["169.254.169.254", "2852039166", "025177524776", "[::ffff:169.254.169.254]"])@pytest.mark.parametrize("addresses", [("127.0.0.1", "169.254.169.254"), ("fe80::1", "::1")])AsyncMock(side_effect=[resolved("127.0.0.1"), resolved("169.254.169.254")]),("metadata-server", RemoteServer(url="http://169.254.169.254/mcp")),yield f"http://127.0.0.1:{port}"yield f"http://127.0.0.1:{server.server_port}/mcp"yield f"http://127.0.0.1:{server.server_port}/mcp"Gates applied: no_behavioural_pass.
d97a3951b409full audit observations/trust-audit/mcp-server/invariantlabs-ai__mcp-scan.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-09-24 | d97a3951b409 | BLOCK | D | 61 | first audit |
Questions
What is the MCP Scan MCP server?
Security scanner for AI agents, MCP servers and agent skills.
What tools does MCP Scan expose?
19 in total: 14 read-only, 4 that write, and 1 that can delete or overwrite (delete_file). Every one is listed on this page with its risk.
Is MCP Scan safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (61/100) and found 5 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does MCP Scan need?
It reads PUSH_KEY and SNYK_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does MCP Scan run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on PyPI as snyk-agent-scan.
How current is this page?
The grade is for one exact copy of the source (d97a3951b409), read on 2026-09-24. The repository is watched and re-audited when it changes.