MCP ScannerCustom audit
All servers

shaneholloman/mcp-knowledge-graph

MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development

Packagemcp-knowledge-graph
Version1.4.0 in package.json
Publishershaneholloman community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 888Forks 102Last push 2026-05-29
TypeScript 100.0%by source files the scanner reads
Code safety10.0Exposure8.2Prompts10.0Supply chain5.2Secrets10.0Transparency10.0
Analysis confidence97%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetynothing published yet10.0/10

Paths from tool input into commands, SQL, files and URLs

Capability Exposure8.2/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain5.2/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

Top risks in plain words

  • HIGH2 production dependencies have known vulnerabilities (worst: high).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Update its vulnerable packages

    Use @modelcontextprotocol/sdk 1.32.0 or later, zod 4.6.6 or later.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 8 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
aim_memory_add_facts, aim_memory_forget, aim_memory_get, aim_memory_link, aim_memory_list_stores, aim_memory_read_all and 2 more
8 of 8

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files8 tools · aim_memory_add_facts, aim_memory_forget, aim_memory_get +5

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (8: 8 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

aim_memory_add_factstool Filesoutside text
No description.
aim_memory_forgettool Filesoutside text
No description.
aim_memory_gettool Retrieve specific memories by exact name. Use this when you know exactly what you're looking for.Filesoutside text
Retrieve specific memories by exact name. Use this when you know exactly what you're looking for.

VS aim_memory_search: Use aim_memory_get for exact name lookup. Use aim_memory_search for fuzzy matching or when you don't know exact names.

RETURNS: Requested entities and relations between them. Non-existent names are silently ignored.

FORMAT OPTIONS:
- "json" (default): Structured JSON for programmatic use
- "pretty": Human-readable text format

EXAMPLES:
- aim_memory_get({names: ["John", "TechConf2024"]}) - JSON format
- aim_memory_get({names: ["Shane"], format: "pretty"}) - Human-readable
- aim_memory_get({context: "work", names: ["Q4_Project"], format: "pretty"})
aim_memory_linktool Filesoutside text
No description.
aim_memory_list_storestool List all available memory databases and show current storage location.Filesoutside text
List all available memory databases and show current storage location.

DATABASE TYPES:
- "default": The master database (memory.jsonl) - used when no context is specified
- Named databases: Created via context parameter (e.g., "work" -> memory-work.jsonl)

RETURNS: {project_databases: [...], global_databases: [...], current_location: "..."}
- project_databases: Databases in .aim directory (if project detected)
- global_databases: Databases in global --memory-path directory
- current_location: Where operations will default to

Use this to discover what databases exist before querying them.

EXAMPLES:
- aim_memory_list_stores() - Shows all available databases and current storage location
aim_memory_read_alltool Filesoutside text
No description.
aim_memory_searchtool Search memories by keyword. Use this when you don't know the exact name of what you're looking for.Filesoutside text
Search memories by keyword. Use this when you don't know the exact name of what you're looking for.

WHAT IT SEARCHES: Matches query (case-insensitive) against:
- Memory names (e.g., "John" matches "John_Smith")
- Memory types (e.g., "person" matches all person memories)
- Facts/observations (e.g., "Seattle" matches memories mentioning Seattle)

VS aim_memory_get: Use aim_memory_search for fuzzy matching. Use aim_memory_get when you know exact names.

FORMAT OPTIONS:
- "json" (default): Structured JSON for programmatic use
- "pretty": Human-readable text format

EXAMPLES:
- aim_memory_search({query: "John"}) - JSON format
- aim_memory_search({query: "project", format: "pretty"}) - Human-readable
- aim_memory_search({context: "work", query: "Shane", format: "pretty"})
aim_memory_storetool Filesoutside text
No description.

Text the model reads (8)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

aim_memory_store tool
aim_memory_link tool
aim_memory_add_facts tool
aim_memory_forget tool
aim_memory_read_all tool
aim_memory_search tool
Search memories by keyword. Use this when you don't know the exact name of what you're looking for.

WHAT IT SEARCHES: Matches query (case-insensitive) against:
- Memory names (e.g., "John" matches "John_Smith")
- Memory types (e.g., "person" matches all person memories)
- Facts/observations (e.g., "Seattle" matches memories mentioning Seattle)

VS aim_memory_get: Use aim_memory_search for fuzzy matching. Use aim_memory_get when you know exact names.

FORMAT OPTIONS:
- "json" (default): Structured JSON for programmatic use
- "pretty": Human-readable text format

EXAMPLES:
- aim_memory_search({query: "John"}) - JSON format
- aim_memory_search({query: "project", format: "pretty"}) - Human-readable
- aim_memory_search({context: "work", query: "Shane", format: "pretty"})
aim_memory_get tool
Retrieve specific memories by exact name. Use this when you know exactly what you're looking for.

VS aim_memory_search: Use aim_memory_get for exact name lookup. Use aim_memory_search for fuzzy matching or when you don't know exact names.

RETURNS: Requested entities and relations between them. Non-existent names are silently ignored.

FORMAT OPTIONS:
- "json" (default): Structured JSON for programmatic use
- "pretty": Human-readable text format

EXAMPLES:
- aim_memory_get({names: ["John", "TechConf2024"]}) - JSON format
- aim_memory_get({names: ["Shane"], format: "pretty"}) - Human-readable
- aim_memory_get({context: "work", names: ["Q4_Project"], format: "pretty"})
aim_memory_list_stores tool
List all available memory databases and show current storage location.

DATABASE TYPES:
- "default": The master database (memory.jsonl) - used when no context is specified
- Named databases: Created via context parameter (e.g., "work" -> memory-work.jsonl)

RETURNS: {project_databases: [...], global_databases: [...], current_location: "..."}
- project_databases: Databases in .aim directory (if project detected)
- global_databases: Databases in global --memory-path directory
- current_location: Where operations will default to

Use this to discover what databases exist before querying them.

EXAMPLES:
- aim_memory_list_stores() - Shows all available databases and current storage location

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safety10.0
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure8.2
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 8 tool handlers traced
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 8 tool handlers traced
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 8 tool handlers traced
  • Requests any address
    No tool sends a request to an address the caller supplies — 8 tool handlers traced
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 8 tool handlers traced
  • Tools that start processes
    Not seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    8 of 8 capabilities touch files
  • Tools that call the network
    Not seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
Where the code is: 8 handlers in 1 file at commit 9f6268c4b5df
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain5.2
  • Dependency manifests
    1 manifest: package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database; 1 not resolved: pnpm-lock.yaml: lockfile format is not supported by this analyzer, dependencies were not checked
  • Known vulnerabilities in production dependencies HIGH
    2 production packages with known advisories
  • Known vulnerabilities in other dependencies
    2 packages with advisories used only for development, tests or examples; an install of the server leaves them out
  • MCP SDK version
    @modelcontextprotocol/sdk 1.0.1
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (5 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (2 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

PackageInstalledWorstAdvisoriesFixed in
@modelcontextprotocol/sdknpm 1.0.1 HIGH 2 advisories 1.24.01.32.0
  • HIGHGHSA-w48q-cv73-mx4w CVE-2025-66414Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
  • MEDIUMGHSA-6prh-2h8m-c8cw CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
zodnpm 3.25.76 HIGH 1 advisory 4.6.6
  • HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
2 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
PackageInstalledWorstAdvisoriesFixed in
brace-expansionnpm 1.1.12 HIGH 7 advisories 1.1.131.1.161.1.17+24 more
  • HIGHGHSA-rgw5-rvv9-x895 CVE-2026-69152brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
  • HIGHGHSA-3jxr-9vmj-r5cp CVE-2026-13149brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups
  • HIGHGHSA-mh99-v99m-4gvg CVE-2026-14257brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash
  • HIGHGHSA-6j4f-fj2g-mc7p CVE-2026-102276brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
  • HIGHGHSA-qhr7-859c-m2p7 CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
  • MEDIUMGHSA-q2hr-2g5m-vwhr CVE-2026-102277brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
  • MEDIUMGHSA-f886-m6hf-6m8v CVE-2026-33750brace-expansion: Zero-step sequence causes process hang and memory exhaustion
minimatchnpm 3.1.2 HIGH 3 advisories 3.1.33.1.44.2.4+13 more
  • HIGHGHSA-7r86-cg39-jmmj CVE-2026-27903minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
  • HIGHGHSA-23c5-xmqv-rm74 CVE-2026-27904minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
  • HIGHGHSA-3ppc-4f35-3m26 CVE-2026-26996minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/sdk 1.0.1

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-05-29
Signed releasesnot checked yet

Where it is published

Listed in5 catalogs (awesome_tensorblock, github_search, glama, mcp_toplist, mcpservers_org)
LicenseMIT
Created2024-12-09
Topicsai-memory claude-ai knowledge-graph mcp memory-server typescript

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.