agentdb
npm
v3.0.0-alpha.20
Published by ruvnet — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.
Self-learning vector memory for AI agents — single-file .rvf cognitive container with HNSW search, episodic Reflexion memory, causal graph + Cypher, 9 RL algorithms, Thompson Sampling bandit, 41 MCP tools, hybrid (BM25 + dense) retrieval, GNN attention. 1
The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.
1. Threat score — 100 − 1.2 = 99. What the published surface and source actually contain:
| Points | What was found | Category |
|---|---|---|
| −1.2 | Package runs install-time scripts MTC-SUP-010 | supply-chain |
2. Client adoption risk — 99 − 7 = 92. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:
| Points | Adoption-risk factor |
|---|---|
| −6 | capability blast radius (high) — client exposure if the model is manipulated |
| −1 | publisher verification (public source) — no provenance, but the source is public and inspectable |
Capability observations and info notes are shown under Findings but never scored.
Open any row's finding below for the file, line and evidence behind a deduction.
In the server's implementation (`dist/src/cli/agentdb-cli.js:1757`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: spawn } = await import('child_process'); const serverProcess = spawn('node', [mcpServerPath], { stdi
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/agentdb-cli.js
In the server's implementation (`dist/src/cli/commands/install-embeddings.js:5`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ort { spawnSync } from 'child_process'; // Color codes for beautiful output const colors = { reset: '\x1b[0m', b
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/commands/install-embeddings.js
In the server's implementation (`dist/src/db-fallback.js:377`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: pper; } exec(sql) { return this.db.exec(sql); } save() { // Save
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/db-fallback.js
In the server's implementation (`dist/src/controllers/EmbeddingService.js:214`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const response = await fetch('https://api.openai.com/v1/embeddings', { method: 'POST', headers:
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/controllers/EmbeddingService.js
In the server's implementation (`dist/src/services/LLMRouter.js:383`): A hardcoded outbound call to a fixed external host inside server code is a classic exfiltration/telemetry channel — especially paired with reads of local data. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const response = await fetch('https://openrouter.ai/api/v1/chat/completions', { method: 'POST',
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/services/LLMRouter.js
In the server's implementation (`dist/src/backends/ruvector/RuVectorBackend.js:303`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: mmapModule = await import(moduleName); } catch { // mmap-io not available,
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/backends/ruvector/RuVectorBackend.js
In the server's implementation (`dist/src/browser/HNSWIndex.js:338`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: x from JSON */ import(json) { const data = JSON.parse(json); this.config = data.config;
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/browser/HNSWIndex.js
In the server's implementation (`dist/src/cli/agentdb-cli.js:1526`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: initScenario } = await import(runnerUrl); const subcommand = args[1]; if (!subcommand || subcom
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/agentdb-cli.js
In the server's implementation (`dist/src/cli/commands/doctor.js:152`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: try { require(mod.module); console.log(` ✅ ${mod.name} available`); passedChe
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/commands/doctor.js
In the server's implementation (`dist/src/cli/lib/config-manager.js:498`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: SON string. */ import(json) { const config = JSON.parse(json); return this.validate(config);
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/lib/config-manager.js
In the server's implementation (`dist/src/cli/lib/report-store.js:392`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: JSON. */ async import(json) { const results = JSON.parse(json); const ids = []; for (co
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/lib/report-store.js
In the server's implementation (`dist/src/cli/lib/simulation-registry.js:99`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const module = await import(filePath); const scenario = module.default || module;
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/lib/simulation-registry.js
In the server's implementation (`dist/src/cli/lib/simulation-runner.js:107`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const module = await import(fullPath); return module.default || module; }
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/cli/lib/simulation-runner.js
In the server's implementation (`dist/src/controllers/WASMVectorSearch.js:129`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: onst wasmModule = await import(normalizedPath); const ReasoningBankWasm = wasmModule.ReasoningBankWasm |
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/controllers/WASMVectorSearch.js
In the server's implementation (`dist/src/optimizations/ToolCache.js:211`): Loading a module chosen at runtime (from a variable) can pull in and run attacker-influenced code paths. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ersistence) */ import(entries) { const now = Date.now(); let imported = 0; for (const {
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server dist/src/optimizations/ToolCache.js
"agentdb" executes postinstall script(s) at install time. An install hook runs at install time; most are routine build/setup, but review what it does before trusting it.
Evidence: node scripts/postinstall.cjs || true
Fix: Review the scripts; install with --ignore-scripts where possible and vet what they do.
Location: package agentdb
Each tool and what it can reach — statically extracted from the published source.
agentdb_clear_cacheno sensitive capabilityagentdb_deleteno sensitive capabilityagentdb_delete_batchno sensitive capabilityagentdb_initno sensitive capabilityagentdb_insertno sensitive capabilityagentdb_insert_batchno sensitive capabilityagentdb_pattern_searchno sensitive capabilityagentdb_pattern_statsno sensitive capabilityagentdb_pattern_storeno sensitive capabilityagentdb_pattern_store_batchno sensitive capabilityagentdb_searchno sensitive capabilityagentdb_statsno sensitive capabilitycausal_add_edgeno sensitive capabilitycausal_queryno sensitive capabilitycausal_traverseno sensitive capabilityconsolidate_nowno sensitive capabilitydb_statsno sensitive capabilityexperience_recordno sensitive capabilitylearner_discoverno sensitive capabilitylearning_end_sessionno sensitive capabilitylearning_explainno sensitive capabilitylearning_feedbackno sensitive capabilitylearning_metricsno sensitive capabilitylearning_predictno sensitive capabilitylearning_start_sessionno sensitive capabilitylearning_trainno sensitive capabilitylearning_transferno sensitive capabilityrecall_with_certificateno sensitive capabilityreflexion_retrieveno sensitive capabilityreflexion_storeno sensitive capabilityreflexion_store_batchno sensitive capabilityreward_signalno sensitive capabilityskill_createno sensitive capabilityskill_create_batchno sensitive capabilityskill_searchno sensitive capabilityScan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.
| Version | Score | Findings | Engine | Scanned |
|---|---|---|---|---|
v3.0.0-alpha.20 latest |
A 92/100 | 16 | 1.13.0 | 2026-09-08 |
v3.0.0-alpha.18 |
A 92/100 | 16 | 1.12.1 | 2026-07-29 |
Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.
The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.
npx mcptrustchecker scan agentdb --online
Hotel booking MCP server — 300K+ properties, real confirmation numbers, loyalty programs. Builders monetize every booking via Stripe Connect. The first MCP server that completes real hotel reservations inside AI conversations.
Manage AdGuard Home through AI assistants
Read-only Azure DevOps for MCP clients using only your existing browser session — no PAT, no Azure CLI. Browse work items, pull requests, comments, attachments and Artifacts feeds across every project, repo and feed you can access.
MCP server for Adobe Experience Manager Assets integration development
Servidor MCP para el tiempo oficial de España (API pública OpenData de AEMET). Predicción, observación y avisos como herramientas MCP tipadas.
A standalone MCP stdio bridge for Affinity by Canva's local MCP SSE server.