@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
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:
| Points | What was found | Category |
|---|---|---|
| −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:
| 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/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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Each tool and what it can reach — statically extracted from the published source.
changedFilesno sensitive capabilityclarifyno sensitive capabilityCortex Workflowsno sensitive capabilitycreate-workflowno sensitive capabilitydecompose-taskno sensitive capabilitydescriptionno sensitive capabilityenhance-contextno sensitive capabilityexecute-workflow-roleno sensitive capabilityIDE Integration Guideno sensitive capabilityimplementno sensitive capabilitylimitno sensitive capabilitylistno sensitive capabilityMemory Experiences by Typeno sensitive capabilityMemory Indexno sensitive capabilityMemory Searchno sensitive capabilityonboardno sensitive capabilityplanno sensitive capabilityProject Snapshotno sensitive capabilityProject Tasksno sensitive capabilitypushno sensitive capabilityrecord-experienceno sensitive capabilityreleaseno sensitive capabilityreviewno sensitive capabilityspecno sensitive capabilitystatusno sensitive capabilitytagno sensitive capabilitytaskDescriptionno sensitive capabilitytaskIdno sensitive capabilitytasksno sensitive capabilityvalidate-implementationno sensitive capabilityversionno sensitive capabilityWorkflow Handoffno sensitive capabilityWorkflow PRno sensitive capabilityWorkflow Snapshotno sensitive capabilityworkflowIdno 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 |
|---|---|---|---|---|
v0.12.0 latest |
C 79/100 | 22 | 1.13.0 | 2026-09-07 |
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 @rikaidev/cortex --online
Independent packages implementing the same tool, scanned with the same engine. Compare all 8 side by side →
Multi-level reasoning MCP server with configurable depth levels
Framework-agnostic MCP server that serves structured knowledge on-demand to any MCP-compatible AI tool
Local-first knowledge graph that watches your project files, extracts entities and relationships via LLMs, and lets you query across projects in natural language.
Persistent memory for AI coding assistants. Injects context from past sessions into every LLM request.
Making AI Accountable Over Time - MCP server for persistent memory, automatic verification, and evidence-based grounding
MCP server with 12 deterministic calendar and temporal tools — calendar discovery, temporal context, datetime resolution, atomic booking, RRULE expansion, and availability merging
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.