Cortex (rikaidev) MCP Server

@rikaidev/cortex npm v0.12.0

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

Cortex AI - AI Collaboration Brain with real-time preference learning and structured thinking

Trust grade
C
79/100
Last scanned get badge →
Trust
C · 79/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
C Why this grade threat 86 − adoption risk = 79/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 − 14.2 = 86. What the published surface and source actually contain:

PointsWhat was foundCategory
−14.2 Untrusted input concatenated into a command sink ×8 MTC-SRC-009 injection

2. Client adoption risk — 86 − 7 = 79. 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 22

high Dynamic code execution in server code (dist/core/mcp/services/pr-review-service.js)MTC-SRC-001

In the server's implementation (`dist/core/mcp/services/pr-review-service.js:352`): 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: l\s*\(/, issue: "Use of eval() is a security risk" }, { regex: /innerHTML\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 dist/core/mcp/services/pr-review-service.js

high Dynamic code execution in server code (dist/core/mcp/services/security-service.js)MTC-SRC-001

In the server's implementation (`dist/core/mcp/services/security-service.js:213`): 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: remediation: "Avoid eval(). Use safer alternatives like JSON.parse()", owasp: "A03:2021-Injection",

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/core/mcp/services/security-service.js

high Dynamic code execution in server code (src/core/mcp/services/pr-review-service.ts)MTC-SRC-001

In the server's implementation (`src/core/mcp/services/pr-review-service.ts:479`): 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: l\s*\(/, issue: "Use of eval() is a security risk" }, { regex: /innerHTML\s*=/, issue: "innerHTML

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/core/mcp/services/pr-review-service.ts

high Dynamic code execution in server code (src/core/mcp/services/security-service.ts)MTC-SRC-001

In the server's implementation (`src/core/mcp/services/security-service.ts:250`): 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: remediation: "Avoid eval(). Use safer alternatives like JSON.parse()", owasp: "A03:2021-Injection",

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/core/mcp/services/security-service.ts

high Shell/command execution in server code (dist/core/mcp/handlers/checkpoint/checkpoint-handler.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/handlers/checkpoint/checkpoint-handler.js:33`): 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: } = await import("node:child_process"); branch = execSync("git rev-parse --abbrev-ref HEAD", {

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/core/mcp/handlers/checkpoint/checkpoint-handler.js

high Shell/command execution in server code (dist/core/mcp/services/change-analyzer.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/change-analyzer.js:3`): 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: port { execSync } from "child_process"; /** * Service for analyzing code changes from git history and workflows. * *

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/core/mcp/services/change-analyzer.js

high Shell/command execution in server code (dist/core/mcp/services/ci-pipeline-service.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/ci-pipeline-service.js:6`): 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 } from "node:child_process"; import * as path from "node:path"; import fs from "fs-extra"; /** * Service for

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/core/mcp/services/ci-pipeline-service.js

high Shell/command execution in server code (dist/core/mcp/services/gitignore-validator.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/gitignore-validator.js:1`): 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: import { exec } from "child_process"; import { promisify } from "util"; import * as fs from "fs-extra"; import * as pa

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/core/mcp/services/gitignore-validator.js

high Shell/command execution in server code (dist/core/mcp/services/implementation-validator.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/implementation-validator.js:3`): 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: port { execSync } from "child_process"; import { DangerZoneService } from "./danger-zone-service.js"; import { Environme

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/core/mcp/services/implementation-validator.js

high Shell/command execution in server code (dist/core/mcp/services/pr-review-service.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/pr-review-service.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: port { execSync } from "child_process"; /** * Service for automating pull request reviews. * * Reviews PRs against te

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/core/mcp/services/pr-review-service.js

high Shell/command execution in server code (dist/core/mcp/services/project-detector.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/project-detector.js:3`): 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: port { execSync } from "child_process"; /** * Service for detecting project conventions and configuration. * * Analyz

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/core/mcp/services/project-detector.js

high Shell/command execution in server code (dist/core/mcp/services/security-service.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/security-service.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: port { execSync } from "child_process"; import { v4 as uuidv4 } from "uuid"; /** * Service for security scanning and vu

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/core/mcp/services/security-service.js

high Shell/command execution in server code (dist/core/mcp/services/team-knowledge-service.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/team-knowledge-service.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: port { execSync } from "child_process"; import { v4 as uuidv4 } from "uuid"; /** * Service for managing team knowledge

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/core/mcp/services/team-knowledge-service.js

high Shell/command execution in server code (dist/core/mcp/services/template-generator.js)MTC-SRC-002

In the server's implementation (`dist/core/mcp/services/template-generator.js: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: } = await import("node:child_process"); const branch = execSync("git rev-parse --abbrev-ref HEAD", {

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/core/mcp/services/template-generator.js

medium Untrusted input concatenated into a command sink (dist/core/mcp/services/change-analyzer.js)MTC-SRC-009

In the server's implementation (`dist/core/mcp/services/change-analyzer.js:61`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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 log = execSync(`git log ${range} --format=%H|||%s|||%b|||%n|||`, { cwd: this.projectRo

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/core/mcp/services/change-analyzer.js

medium Untrusted input concatenated into a command sink (dist/core/mcp/services/ci-pipeline-service.js)MTC-SRC-009

In the server's implementation (`dist/core/mcp/services/ci-pipeline-service.js:45`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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 result = execSync(`gh ${args}`, { cwd: this.projectRoot, encoding: "utf-8

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/core/mcp/services/ci-pipeline-service.js

medium Untrusted input concatenated into a command sink (dist/core/mcp/services/pr-review-service.js)MTC-SRC-009

In the server's implementation (`dist/core/mcp/services/pr-review-service.js:167`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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 prJson = execSync(`gh pr view ${prNumber} --json number,title,body,author,baseRefName,headRefName,state,f

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/core/mcp/services/pr-review-service.js

medium Untrusted input concatenated into a command sink (dist/core/mcp/services/team-knowledge-service.js)MTC-SRC-009

In the server's implementation (`dist/core/mcp/services/team-knowledge-service.js:115`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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 reviewsJson = execSync(`gh pr view ${prNumber} --json reviews,comments`, { cwd: this.projectRo

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/core/mcp/services/team-knowledge-service.js

medium Untrusted input concatenated into a command sink (src/core/mcp/services/change-analyzer.ts)MTC-SRC-009

In the server's implementation (`src/core/mcp/services/change-analyzer.ts:99`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: EAD"; const log = execSync(`git log ${range} --format=%H|||%s|||%b|||%n|||`, { cwd: this.projectRoot,

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/core/mcp/services/change-analyzer.ts

medium Untrusted input concatenated into a command sink (src/core/mcp/services/ci-pipeline-service.ts)MTC-SRC-009

In the server's implementation (`src/core/mcp/services/ci-pipeline-service.ts:73`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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 result = execSync(`gh ${args}`, { cwd: this.projectRoot, encoding: "utf-8", stdio

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/core/mcp/services/ci-pipeline-service.ts

medium Untrusted input concatenated into a command sink (src/core/mcp/services/pr-review-service.ts)MTC-SRC-009

In the server's implementation (`src/core/mcp/services/pr-review-service.ts:223`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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 prJson = execSync( `gh pr view ${prNumber} --json number,title,body,author,baseRefName,headRefNam

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/core/mcp/services/pr-review-service.ts

medium Untrusted input concatenated into a command sink (src/core/mcp/services/team-knowledge-service.ts)MTC-SRC-009

In the server's implementation (`src/core/mcp/services/team-knowledge-service.ts:162`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. 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 reviewsJson = execSync( `gh pr view ${prNumber} --json reviews,comments`, { cwd: thi

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/core/mcp/services/team-knowledge-service.ts

Tools 35

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

  • changedFilesno sensitive capability
  • clarifyno sensitive capability
  • Cortex Workflowsno sensitive capability
  • create-workflowno sensitive capability
  • decompose-taskno sensitive capability
  • descriptionno sensitive capability
  • enhance-contextno sensitive capability
  • execute-workflow-roleno sensitive capability
  • IDE Integration Guideno sensitive capability
  • implementno sensitive capability
Show 25 more tools ↓
  • limitno sensitive capability
  • listno sensitive capability
  • Memory Experiences by Typeno sensitive capability
  • Memory Indexno sensitive capability
  • Memory Searchno sensitive capability
  • onboardno sensitive capability
  • planno sensitive capability
  • Project Snapshotno sensitive capability
  • Project Tasksno sensitive capability
  • pushno sensitive capability
  • record-experienceno sensitive capability
  • releaseno sensitive capability
  • reviewno sensitive capability
  • specno sensitive capability
  • statusno sensitive capability
  • tagno sensitive capability
  • taskDescriptionno sensitive capability
  • taskIdno sensitive capability
  • tasksno sensitive capability
  • validate-implementationno sensitive capability
  • versionno sensitive capability
  • Workflow Handoffno sensitive capability
  • Workflow PRno sensitive capability
  • Workflow Snapshotno sensitive capability
  • workflowIdno sensitive capability

What this scan could not see

Versions 1

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
v0.12.0 latest C 79/100 22 1.13.0 2026-09-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: C · 79/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/rikaidev-cortex/badge.svg)](https://mcptrustchecker.com/registry/rikaidev-cortex)
HTML
<a href="https://mcptrustchecker.com/registry/rikaidev-cortex"><img src="https://mcptrustchecker.com/registry/rikaidev-cortex/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/rikaidev-cortex/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 @rikaidev/cortex --online

Use the free API → How scoring works

Other implementations of Cortex 7

Independent packages implementing the same tool, scanned with the same engine. Compare all 8 side by side →

More in Developer Tools