Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Org-owned · Audited from source

MCP Scan

by invariantlabs-ai/mcp-scanApache-2.0 licenceAudited 24 Sep 2026 · source d97a3951b409

PyPI snyk-agent-scanstdiostreamable-http★ 3,080
✕BLOCKGrade D · 61/100 · 24 Sep 2026 · d97a395

Is it safe? No — BLOCK, grade D (61/100). It exposes 19 tools: 14 read, 4 write and 1 destructive. The audit recorded 43 findings (0 critical, 5 high, 6 medium, 32 low). Maintainer's description: Security scanner for AI agents, MCP servers and agent skills.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “MCP Scan (invariantlabs-ai/mcp-scan)”. Retrieved 24 Sep 2026. https://modelsatlas.com/mcp/invariantlabs-ai/mcp-scan

Why this is BLOCK. The audit found 0 critical and 5 high findings; the most severe is Filesystem / path at src/agent_scan/well_known_clients.py:123. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 24 Sep 2026

Trust score61/100✕BLOCK D
0 critical5 high6 medium32 low0 info

43 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared11 observations
  • NetworkDeclared8 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (43)

Sorted by severity · the 25 most severe of 43 are listed

HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:123
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
client_exists_paths=["~/.aws/amazonq"],
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:125
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"~/.aws/amazonq/agents/default.json",
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:126
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"~/.aws/amazonq/agents/mcp.json",
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:127
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"~/.aws/amazonq/mcp.json",
Why
touches a credential store
Fix
—
HIGHFilesystem / pathfs.credential_store · src/agent_scan/well_known_clients.py:220
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
client_exists_paths=["~/.aws/amazonq"],
Why
touches a credential store
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/unit/test_verify_api.py:1520
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/unit/test_verify_api.py:1569
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · tests/unit/test_verify_api.py:1520
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.github · tests/unit/test_verify_api.py:1569
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.slack · tests/unit/test_redact_prefilter_equivalence.py:23
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_file
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .flake8
F-13 Inventory / provenanceCWE-1104Layer L0
.flake8
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .pre-commit-config.yaml
F-13 Inventory / provenanceCWE-1104Layer L0
.pre-commit-config.yaml
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInsecure cryptocrypto.weak_hash · src/agent_scan/traffic_capture.py:65
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
digest = hashlib.sha1(key, usedforsecurity=False).digest()
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_agent_discovery.py:1294
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
["relative/plugin", "../../etc", "~", "~/", "~/../../etc", "~root/.ssh", "/Users", "/home"],
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_agent_discovery.py:4790
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
'[{"relativeLocation": "pub.good-1.0.0"}, {"relativeLocation": "../../outside"}]'
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/unit/test_agent_discovery.py:11039
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
"../../../etc",
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:31
F-04 Network egressCWE-200 · CWE-319Layer L1
["169.254.169.254", "169.254.0.1", "fe80::1", "febf::1", "fd00:ec2::254", "100.100.100.200"],
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:48
F-04 Network egressCWE-200 · CWE-319Layer L1
@pytest.mark.parametrize("host", ["169.254.169.254", "2852039166", "025177524776", "[::ffff:169.254.169.254]"])
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:77
F-04 Network egressCWE-200 · CWE-319Layer L1
@pytest.mark.parametrize("addresses", [("127.0.0.1", "169.254.169.254"), ("fe80::1", "::1")])
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:95
F-04 Network egressCWE-200 · CWE-319Layer L1
AsyncMock(side_effect=[resolved("127.0.0.1"), resolved("169.254.169.254")]),
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.metadata_ip · tests/unit/test_mcp_destination_guard.py:115
F-04 Network egressCWE-200 · CWE-319Layer L1
("metadata-server", RemoteServer(url="http://169.254.169.254/mcp")),
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—
LOWNetwork egressnet.raw_ip · tests/e2e/test_guard_install.py:44
F-04 Network egressCWE-200 · CWE-319Layer L1
yield f"http://127.0.0.1:{port}"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/e2e/test_inspect.py:71
F-04 Network egressCWE-200 · CWE-319Layer L1
yield f"http://127.0.0.1:{server.server_port}/mcp"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/e2e/test_inspect.py:83
F-04 Network egressCWE-200 · CWE-319Layer L1
yield f"http://127.0.0.1:{server.server_port}/mcp"
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

19 declared in source · 1 destructive

14 read4 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
delete_fileNo description in the sourcedestructive
addreturn a + bwrite
create_pull_requestdwrite
send_emailNo description in the sourcewrite
sumAdd two numbers together.write
browser_closeClose the pageread
divideDivide two numbers.read
gcdCalculate the greatest common divisor (GCD) of two integers.read
get_api_keyNo description in the sourceread
get_commentsNo description in the sourceread
get_connectionsreturn [read
get_current_timeNo description in the sourceread
get_train_infoGet information about a train.read
is_primeReturn True if n is a prime number, False otherwise.read
lcmCalculate the least common multiple (LCM) of two integers.read
multiplyNo description in the sourceread
store_valueStore here all important values!read
subtractSubtract two numbers.read
weatherGet current weather for a location.read

Safer alternatives

All security servers →

Audit history

  1. ✕BLOCK D 61 / 100

    First audit · d97a3951b409

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about MCP Scan

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.
I already installed MCP Scan. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • invariantlabs-ai/mcp-scan on GitHub — the source we read, its licence, stars and activityObserved · 24 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit d97a3951b409Observed · 24 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.