SkillTotal

Is AnkiMCP Server safe?

No malicious indicators - review capabilities before installing
Notable — review in context (capabilities are not malware):
  • Python shell/command execution
  • Python network egress
  • Python filesystem read

repo is an AI mcp_server analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 6 risky constructs are reported for review. It can: delegated authentication, filesystem read, filesystem write, mcp tools detected, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).

repo

mcp_server · https://github.com/ankimcp/anki-mcp-server-addon
LOW
0
/ 100 risk score
Snapshot · scanned Aug 14, 2026 · repo@ec34a8a · engine 0.38.1 / ruleset 42

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of AnkiMCP Server's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
delegated authenticationfilesystem readfilesystem writemcp tools detectednetwork egressshell execution

Behavioral traits

How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.

Tool surface
Tool Usage
Execution authority
Tool Access Control / Direct Tool Access
Filesystem reach
Tool Execution Context
Network egress
Interaction & Communication / Direct Communication
Delegated authentication
Tool Execution Context / User Delegated Credentials

Findings (6)

HIGHPython shell/command executionST-SHELL-PY

The component can run operating-system commands or spawn processes.

subprocess.run([opener, str(path)], check=False)

Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.

Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; avoid shell=True.

MEDIUMPython filesystem readST-FS-PY-READ

The component reads files from disk.

data = json.loads(path.read_text(encoding="utf-8"))
source = path.read_text(encoding="utf-8")
merged.update(json.loads(config_path.read_text(encoding="utf-8")))
meta = json.loads(meta_path.read_text(encoding="utf-8"))
raw = self.CREDENTIALS_PATH.read_text(encoding="utf-8")
for line in version_file.read_text().splitlines():
with open(ext_path, "rb") as fh:
cached_version = version_file.read_text().strip() if version_file.exists() else None
cached_version = version_file.read_text().strip() if version_file.exists() else None
_CONTENT = _CONTENT_FILE.read_text(encoding="utf-8")
fragment = DESCRIPTION.read_text(encoding="utf-8")
template = TEMPLATE.read_text(encoding="utf-8")

Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.

Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.

MEDIUMPython filesystem write/deleteST-FS-PY-WRITE

The component writes or deletes files on disk.

with open(github_output, "a", encoding="utf-8") as handle:
with open(github_output, "a", encoding="utf-8") as handle:
tmp_path.write_text(content, encoding="utf-8")
shutil.copy(pyd_file, simple_path)
shutil.rmtree(old_dir, ignore_errors=True)
shutil.rmtree(old_dir, ignore_errors=True)
shutil.rmtree(sibling, ignore_errors=True)
shutil.rmtree(temp_dir, ignore_errors=True)
shutil.rmtree(temp_dir, ignore_errors=True)
version_file.write_text(expected_version)
shutil.rmtree(cache_dir, ignore_errors=True)
shutil.rmtree(cache_dir, ignore_errors=True)
shutil.rmtree(cache_dir, ignore_errors=True)

Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.

Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.

MEDIUMPython network egressST-NET-PY

The component makes outbound network requests.

f"{REGISTRY_BASE}/servers/{urllib.parse.quote(name, safe='')}"
f"/versions/{urllib.parse.quote(version, safe='')}"
request = urllib.request.Request(
        url, headers={"Accept": "application/json", "User-Agent": USER_AGENT}
    )
with urllib.request.urlopen(request, timeout=REQUEST_TIMEOUT) as response:
with urllib.request.urlopen(pypi_url, timeout=30) as response:
urllib.request.urlretrieve(wheel_url, wheel_path, reporthook=download_progress)
parsed = urllib.parse.urlparse(url)
with urllib.request.urlopen(url, timeout=30) as response:
from urllib.parse import urlparse, urlunparse
return urlunparse(parsed._replace(scheme=http_scheme))
async with httpx.AsyncClient(timeout=_HTTP_TIMEOUT) as client:

Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.

Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.

LOWDelegated authentication (OAuth 2.0 / OIDC)ST-AUTH-DELEGATED

An OAuth 2.0 / OpenID Connect delegated-authentication flow was detected (authorization-code / refresh-token / token-exchange grant, an OIDC authorize/discovery endpoint or id_token, or a delegation library). Tools authenticate with the end user's delegated, scoped credentials rather than a long-lived embedded service credential.

"grant_type": "refresh_token",

Fix: Delegated auth is a lower-blast-radius execution context than an embedded static credential. Confirm the requested scopes are minimal and that tokens are never logged or forwarded off-host.

LOWMCP tool surface detectedST-MCP-DETECTED

An MCP tool surface (manifest or tool definitions) was found.

Why it matters: Just context — review which tools it offers and their permissions.

Fix: Review the declared MCP tools and their permissions.

Check your own component

Run the same evidence-backed scan on any MCP server, agent skill, or package.

Scan your own component

How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →