Magector MCP Server

magector npm v2.16.18 Source verified

Published by krejcif — publish provenance cryptographically ties this package to that repository. That is proof of origin, not an official vendor package.

Semantic code search for Magento 2 — index, search, MCP server

Trust grade
A
94/100
Last scanned get badge →
Trust
A · 94/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 = 94/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 − 6 = 94. 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

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 6

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

In the server's implementation (`src/binary.js:11`): 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: { execFileSync } from 'child_process'; import path from 'path'; import { fileURLToPath } from 'url'; import { createReq

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 src/binary.js

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

In the server's implementation (`src/cli.js:8`): 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: FileSync, spawn } from 'child_process'; import { existsSync, mkdirSync } from 'fs'; import path from 'path'; import { re

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 src/cli.js

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

In the server's implementation (`src/init.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: { execFileSync } from 'child_process'; import { createInterface } from 'readline'; import { homedir } from 'os'; import

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 src/init.js

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

In the server's implementation (`src/mcp-server.js:17`): 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: FileSync, spawn } from 'child_process'; import { createInterface } from 'readline'; import { createServer as createNetSe

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

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

In the server's implementation (`src/update.js:11`): 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: { execFileSync } from 'child_process'; import { homedir } from 'os'; import path from 'path'; import { fileURLToPath }

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 src/update.js

medium Hardcoded egress to an external endpoint (src/update.js)MTC-SRC-003

In the server's implementation (`src/update.js:86`): 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 resp = await fetch('https://registry.npmjs.org/magector/latest', { signal: controller.signal, hea

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 src/update.js

Tools 48

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

  • magento_trace_configreads sensitive data
  • Index Statisticsno sensitive capability
  • magento_analyze_diffno sensitive capability
  • magento_ast_searchno sensitive capability
  • magento_batchno sensitive capability
  • magento_complexityno sensitive capability
  • magento_describeno sensitive capability
  • magento_enrichno sensitive capability
  • magento_error_parserno sensitive capability
  • magento_find_apino sensitive capability
Show 38 more tools ↓
  • magento_find_blockno sensitive capability
  • magento_find_callersno sensitive capability
  • magento_find_classno sensitive capability
  • magento_find_configno sensitive capability
  • magento_find_controllerno sensitive capability
  • magento_find_cronno sensitive capability
  • magento_find_dataobject_issuesno sensitive capability
  • magento_find_db_schemano sensitive capability
  • magento_find_di_wiringno sensitive capability
  • magento_find_event_dispatchersno sensitive capability
  • magento_find_event_flowno sensitive capability
  • magento_find_fieldsetno sensitive capability
  • magento_find_graphqlno sensitive capability
  • magento_find_implementorsno sensitive capability
  • magento_find_layoutno sensitive capability
  • magento_find_methodno sensitive capability
  • magento_find_null_risksno sensitive capability
  • magento_find_observerno sensitive capability
  • magento_find_pluginno sensitive capability
  • magento_find_preferenceno sensitive capability
  • magento_find_table_usageno sensitive capability
  • magento_find_templateno sensitive capability
  • magento_find_testno sensitive capability
  • magento_find_triggerno sensitive capability
  • magento_grepno sensitive capability
  • magento_impact_analysisno sensitive capability
  • magento_indexno sensitive capability
  • magento_module_structureno sensitive capability
  • magento_performance_profileno sensitive capability
  • magento_readno sensitive capability
  • magento_searchno sensitive capability
  • magento_statsno sensitive capability
  • magento_trace_apino sensitive capability
  • magento_trace_call_chainno sensitive capability
  • magento_trace_data_flowno sensitive capability
  • magento_trace_dependencyno sensitive capability
  • magento_trace_flowno sensitive capability
  • magento_trace_shipping_chainno sensitive capability

What this scan could not see

Versions 2

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
v2.16.18 latest A 94/100 6 1.13.0 2026-09-09
v2.16.15 A 93/100 6 1.13.0 2026-09-01

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 · 94/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/magector/badge.svg)](https://mcptrustchecker.com/registry/magector)
HTML
<a href="https://mcptrustchecker.com/registry/magector"><img src="https://mcptrustchecker.com/registry/magector/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/magector/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 magector --online

Use the free API → How scoring works

More in Developer Tools