Loki Mode MCP Server

loki-mode npm v9.22.12

Published by asklokesh — 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.

Loki Mode by Autonomi. Autonomous spec-to-product system: takes a PRD, GitHub issue, OpenAPI/JSON/YAML, or one-line brief to a deployed app via the RARV-C closure loop with 8 quality gates. Provider-agnostic (Claude Code, OpenAI Codex, Cline, Aider).

Trust grade
A
93/100
Last scanned get badge →
Trust
A · 93/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
A Why this grade threat 100 − adoption risk = 93/100

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 − 0 = 100. What the published surface and source actually contain:

The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.

2. Client adoption risk — 100 − 7 = 93. 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:

PointsAdoption-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.

Findings 15

high Reads a sensitive credential path or dumps the environment (memory/ingest.py)MTC-SRC-006

In the server's implementation (`memory/ingest.py:85`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: "/credentials", "/.netrc", "/.npmrc", "/.pypirc", ) _SENSITIVE_PATH_BASENAMES = ( ".env", ".env.l

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 memory/ingest.py

high Dynamic code execution in server code (loki-ts/dist/loki.js)MTC-SRC-001

In the server's implementation (`loki-ts/dist/loki.js:991`): Evaluating strings as code is the most direct RCE primitive; if any tool input reaches it, the server executes attacker-chosen code. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: code.process(k,N);let _=Function(`${Y.default.self}`,`${Y.default.scope}`,k)(this,this.scope.get());if(this.scope.value(

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 loki-ts/dist/loki.js

high Shell/command execution in server code (agents/hub_install.py)MTC-SRC-002

In the server's implementation (`agents/hub_install.py:420`): 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: MPT"] = "0" subprocess.run( ["git", "clone", "--depth", "1", "--no-tags", source, tmp],

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 agents/hub_install.py

high Shell/command execution in server code (api/server.js)MTC-SRC-002

In the server's implementation (`api/server.js:29`): 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: st { spawn } = require('child_process'); const { EventEmitter } = require('events'); //================================

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 api/server.js

high Shell/command execution in server code (api/test.js)MTC-SRC-002

In the server's implementation (`api/test.js:29`): 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: , execSync } = require('child_process'); const path = require('path'); const fs = require('fs'); //====================

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 api/test.js

high Shell/command execution in server code (autonomy/api-server.js)MTC-SRC-002

In the server's implementation (`autonomy/api-server.js:32`): 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: , execSync } = require('child_process'); // Validate port number is in valid range function isValidPort(port) { ret

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 autonomy/api-server.js

high Shell/command execution in server code (autonomy/checklist-verify.py)MTC-SRC-002

In the server's implementation (`autonomy/checklist-verify.py:136`): 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: proc = subprocess.run( cmd, cwd=project_dir,

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 autonomy/checklist-verify.py

high Shell/command execution in server code (autonomy/lib/checkpoint_sync.py)MTC-SRC-002

In the server's implementation (`autonomy/lib/checkpoint_sync.py:79`): 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: try: proc = subprocess.run( ["git", *args], cwd=cwd, stdout=subprocess.P

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 autonomy/lib/checkpoint_sync.py

high Shell/command execution in server code (autonomy/lib/crash_capture.py)MTC-SRC-002

In the server's implementation (`autonomy/lib/crash_capture.py:61`): 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: urn None proc = subprocess.run( [exe, "--version"], capture_output=True, tex

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 autonomy/lib/crash_capture.py

high Shell/command execution in server code (autonomy/lib/deadline.py)MTC-SRC-002

In the server's implementation (`autonomy/lib/deadline.py:604`): 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: ble") process = subprocess.Popen( [sys.executable, "-c", _EXEC_BOOTSTRAP, str(gate_read), *command],

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 autonomy/lib/deadline.py

high Shell/command execution in server code (autonomy/lib/effort_estimator.py)MTC-SRC-002

In the server's implementation (`autonomy/lib/effort_estimator.py:281`): 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: try: out = subprocess.run( base, capture_output=True, text=True, timeout=timeout, s

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 autonomy/lib/effort_estimator.py

high Shell/command execution in server code (autonomy/lib/fast_verify.py)MTC-SRC-002

In the server's implementation (`autonomy/lib/fast_verify.py:171`): 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: r: try: p = subprocess.run(["git"] + args, cwd=cwd, capture_output=True, text=Tru

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 autonomy/lib/fast_verify.py

medium Hardcoded egress to an external endpoint (web-app/dist/assets/HomePage-CVJcI5pQ.js)MTC-SRC-003

In the server's implementation (`web-app/dist/assets/HomePage-CVJcI5pQ.js:27`): 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: ait Promise.allSettled([fetch(`https://api.github.com/repos/${W}`),fetch(`https://api.github.com/repos/${W}/contributors

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 web-app/dist/assets/HomePage-CVJcI5pQ.js

medium Dynamic module load from a non-literal (loki-ts/dist/loki.js)MTC-SRC-005

In the server's implementation (`loki-ts/dist/loki.js:1141`): 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: y{Q=await fW0(Z)??await import(Z)}catch{return null}for(let Y of X)if(typeof Q[Y]!=="function"){let J=Q[Y]===void 0?"mis

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 loki-ts/dist/loki.js

medium Dynamic module load from a non-literal (web-app/dist/assets/index-CLvjO22Z.js)MTC-SRC-005

In the server's implementation (`web-app/dist/assets/index-CLvjO22Z.js:61`): 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: c[i.id];try{let r=await import(i.module);return c[i.id]=r,r}catch(r){return console.error(`Error loading route 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 web-app/dist/assets/index-CLvjO22Z.js

Tools 36

Each tool and what it can reach — statically extracted from the published source.

  • mem_getingests untrusted input
  • loki_agent_metricsno sensitive capability
  • loki_checkpoint_restoreno sensitive capability
  • loki_code_searchno sensitive capability
  • loki_code_search_statsno sensitive capability
  • loki_complete_taskno sensitive capability
  • loki_consolidate_memoryno sensitive capability
  • loki_counter_evidence_templateno sensitive capability
  • loki_findingsno sensitive capability
  • loki_get_co_changesno sensitive capability
Show 26 more tools ↓
  • loki_get_doc_coverageno sensitive capability
  • loki_get_hotspotsno sensitive capability
  • loki_graph_queryno sensitive capability
  • loki_learningsno sensitive capability
  • loki_memory_capture_session_summaryno sensitive capability
  • loki_memory_redactno sensitive capability
  • loki_memory_retrieveno sensitive capability
  • loki_memory_store_patternno sensitive capability
  • loki_metrics_efficiencyno sensitive capability
  • loki_project_statusno sensitive capability
  • loki_quality_reportno sensitive capability
  • loki_start_projectno sensitive capability
  • loki_state_getno sensitive capability
  • loki_task_queue_addno sensitive capability
  • loki_task_queue_listno sensitive capability
  • loki_task_queue_updateno sensitive capability
  • loki_verify_fastno sensitive capability
  • lsp_check_existsno sensitive capability
  • lsp_find_definition_by_nameno sensitive capability
  • lsp_find_referencesno sensitive capability
  • lsp_get_diagnosticsno sensitive capability
  • lsp_go_to_definitionno sensitive capability
  • lsp_symbol_at_positionno sensitive capability
  • lsp_workspace_symbolsno sensitive capability
  • mem_searchno sensitive capability
  • mem_timelineno sensitive capability

What this scan could not see

Versions 10

Scan 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.

VersionScoreFindingsEngineScanned
v9.22.12 latest A 93/100 15 1.13.0 2026-09-09
v9.22.11 A 93/100 15 1.12.1 2026-08-19
v9.22.10 A 93/100 15 1.12.1 2026-08-18
v9.22.7 A 93/100 15 1.12.1 2026-08-17
v9.22.5 A 93/100 15 1.12.1 2026-08-16
Show 5 more versions ↓
v9.22.3 A 93/100 15 1.12.1 2026-08-14
v9.22.2 A 93/100 15 1.12.1 2026-08-13
v9.21.0 A 93/100 15 1.12.1 2026-08-12
v9.19.1 A 93/100 15 1.12.1 2026-08-10
v9.12.6 A 93/100 15 1.12.1 2026-08-07

Embed this score

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.

MCP Trust Score: A · 93/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/loki-mode/badge.svg)](https://mcptrustchecker.com/registry/loki-mode)
HTML
<a href="https://mcptrustchecker.com/registry/loki-mode"><img src="https://mcptrustchecker.com/registry/loki-mode/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/loki-mode/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

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 loki-mode --online

Use the free API → How scoring works

More in Developer Tools