CanopiiCanopiiAll serversEnterprise →

vault-cortex MCP Server Security Report

io.github.aliasunder/vault-cortex

Standalone MCP server for Obsidian vaults — hybrid search, notes & files, memory, tasks, OAuth 2.1

Security Trust Score
Grade B · Moderate posture
Tier 1 · Public sourceHigh confidence · 98%latest v1.1.0 Repository Publisher-verified
Declared MCP capabilities
ResourcesPrompts

Run it securely

Host io.github.aliasunder/vault-cortex in a governed environment — SSO in front, every tool call attributed and audited.

Are you the maintainer?

Verify with GitHub to get alerted whenever aliasunder/vault-cortex changes score — and claim the badge for your README.

Claim this server

The short answer

Is vault-cortex safe to use?
vault-cortex scores 84/100 (grade B) on the Canopii Trust Index — good, minor gaps. It passes 15 of the 21 security controls that apply to it, with no confirmed security failures.
How reliable is the security score for vault-cortex?
We could evaluate 98% of the controls that apply to vault-cortex. Scores are deterministic — the same source always produces the same score — and a partially-scannable server cannot present a high one, because confidence caps the result. The scanner is open source, so this score can be reproduced independently.
How was vault-cortex scored?
Its published source was scanned against a fixed catalog of weighted security controls covering code safety, committed secrets, dependency vulnerabilities, tool-description integrity, authentication and transport, and maintenance. A confirmed flaw caps the score outright regardless of what else passes. The full rubric is published.
Reputation39stars7forks2open issuestodaylast commit<1yage

Security controlslatest scored version v1.1.0

Each control is evaluated deterministically with evidence. The score is earned from passing controls; a failed guard caps it.

Model–MCP Runtime Guardrails

  • Pass
    Indirect Prompt Injection (IPI) Defensesguardno injection markers

    Tool/prompt/resource text is free of hidden instructions that could hijack the agent.

  • Pass
    Strict JSON Schema EnforcementadditionalProperties:false present

    Tool inputs are constrained (additionalProperties:false), so unexpected arguments can't be smuggled in.

  • Pass
    Tool Definition Integrityguardtool definitions stable; no risky changes in version history

    Every consecutive version pair is diffed for new injection markers or destructive scope — a risky diff anywhere in history is a rug-pull (fail, durable); benign description drift warns.

  • Pass
    User-in-the-Loop / Approval Scopeguardno destructive tool scope

    No over-broad or destructive tools (arbitrary shell, bulk-delete) that warrant human approval.

Application Security Checks

  • Warn
    No command-injection sinksguard5 occurrences (build/test paths only)

    Untrusted tool input reaching a shell yields remote code execution.

    scripts/dev.ts:95scripts/dev.ts:123scripts/dev.ts:160scripts/dev.ts:197

    Fix: Never pass tool arguments to a shell; use argv arrays with shell disabled.

  • Warn
    No dynamic code executionguard2 occurrences (build/test paths only)

    eval()/exec()/Function() on tool-derived strings allows arbitrary code execution.

    scripts/obsidian-tag-oracle.ts:65src/__tests__/docker/fixtures/sync-engine-oracle.ts:126

    Fix: Remove eval/exec; parse and dispatch explicitly.

  • Warn
    No path traversalguard85 occurrences

    Naive path checks let tools read/write outside intended directories (EscapeRoute-class).

    cli/src/adapters/docker.ts:25cli/src/adapters/docker.ts:26cli/src/adapters/vault.ts:16cli/src/commands/__tests__/init.test.ts:2016

    Fix: Resolve to a canonical path and verify containment; reject ../ and symlinks.

  • Warn
    No SSRF sinksguard122 occurrences

    Fetching tool-supplied URLs can pivot into internal networks and metadata services.

    src/__tests__/docker/docker-harness.ts:614src/__tests__/docker/remote-image-boot.test.ts:441src/__tests__/docker/remote-image-boot.test.ts:1424src/__tests__/docker/remote-image-boot.test.ts:1454

    Fix: Allow-list destinations; reject arbitrary/loopback/link-local URLs.

  • Pass
    No unsafe deserializationguardno sinks found

    pickle/yaml.load/etc. on untrusted data can execute code.

  • Pass
    No committed secretsguardno secrets found

    Hardcoded keys/tokens in published source are live credentials an attacker can use.

  • Pass
    Credentials sourced from environmentreads credentials from environment

    Reading secrets from env/secret stores avoids hardcoding them.

  • Pass
    No known-vulnerable dependencies247 runtime deps, no known CVEs

    Runtime dependencies (parsed from the lockfile) are scanned against OSV.dev for published CVEs. Advisory: flagged dependencies lower the score but don't hard-cap it, since transitive reachability is unproven.

  • Pass
    Dependencies pinned (lockfile)lockfile present

    A lockfile makes installs reproducible and resistant to silent dependency swaps.

  • Pass
    Actively maintainedrecent commits

    Unmaintained servers don't receive security fixes.

  • Pass
    Repository not archivedguardactive

    Archived repositories will never be patched.

  • Pass
    Declares a licenseMIT

    A clear license is required for legal enterprise use.

  • Pass
    Has a security policySECURITY.md present

    A SECURITY.md gives a private path to report vulnerabilities.

  • Pass
    Adoption & popularityestablished adoption

    A small, capped nudge from stars/downloads — widely-used servers get more eyes on bugs. It can never offset a real security failure.

  • Not checked
    Signed releasesnot evaluated

    Signed releases let consumers verify artifacts weren't tampered with.

  • N/A
    No install/post-install scriptsguardno published package

    install hooks run arbitrary code on every consumer at install time.

  • N/A
    Package name not typosquattingguardno published package

    Names mimicking popular packages are a common malware delivery vector.

  • N/A
    Published with provenanceno published package

    Build provenance attests the artifact was built from the claimed source by CI.

  • N/A
    Established maintainerno published package

    Brand-new / single anonymous maintainers raise takeover and malware risk.

Transport & Trust Model

  • Warn
    Network Exposurebinds 0.0.0.0

    Binding 0.0.0.0 or exposing debug inspectors widens the attack surface.

    Fix: Bind to 127.0.0.1 by default; never ship open debug endpoints.

  • Pass
    Execution Sandboxingcontainerized

    A container/sandbox image limits blast radius; a server that runs natively has full host access.

  • N/A
    Transport Encryption (TLS)guardno remote endpoints

    Plaintext HTTP exposes traffic and bearer tokens to interception.

  • N/A
    IAM / Authentication Scopingno remote endpoints

    OAuth 2.1 / Protected Resource Metadata gates who can invoke tools.

  • N/A
    Live Endpoint Reachablenot dynamically scanned

    A dynamic scan connected to the declared remote endpoint and it responded — verified live, not a dead URL.

  • N/A
    Authentication Enforced (live)not dynamically scanned

    If the server declares auth is required, it must actually reject anonymous clients. Serving tools to unauthenticated callers is a real exposure.

Embed this score

Add the live badge to your README — it updates automatically on every rescan.

Canopii Trust Score badge preview
markdown[![Canopii Trust Score](https://index.canopii.dev/api/badge/io.github.aliasunder/vault-cortex)](https://index.canopii.dev/server/io.github.aliasunder/vault-cortex)
html<a href="https://index.canopii.dev/server/io.github.aliasunder/vault-cortex"><img src="https://index.canopii.dev/api/badge/io.github.aliasunder/vault-cortex" alt="Canopii Trust Score" /></a>

Versions

VersionScoreStatus
v1.1.0latest84Bscored
v1.0.199Ascored
v1.0.099Ascored
v0.57.684Bscored
v0.57.596Ascored
v0.57.299Ascored
v0.57.181Bscored
v0.57.084Bscored
v0.56.484Bscored
v0.56.384Bscored
v0.56.297Ascored
v0.55.597Ascored
v0.55.495Ascored
v0.55.397Ascored
v0.55.180Bscored
v0.55.077Bscored
v0.54.1680Bscored
v0.54.1595Ascored
v0.54.1395Ascored
v0.54.1283Bscored
v0.54.1183Bscored
v0.54.1080Bscored
v0.54.880Bscored
v0.54.783Bscored
v0.54.683Bscored
v0.54.380Bscored
v0.54.295Ascored
v0.54.183Bscored
v0.54.083Bscored
v0.53.080Bscored
v0.52.180Bscored
v0.52.083Bscored
v0.51.080Bscored
v0.50.483Bscored
v0.50.396Ascored
v0.50.283Bscored
v0.50.183Bscored
v0.50.083Bscored
v0.49.183Bscored
v0.49.083Bscored
v0.48.380Bscored
v0.48.183Bscored
v0.48.083Bscored
v0.46.080Bscored
v0.45.080Bscored
v0.44.083Bscored
v0.42.183Bscored
v0.42.083Bscored
v0.41.083Bscored
v0.39.083Bscored
v0.38.183Bscored
v0.37.483Bscored
v0.37.183Bscored
v0.36.483Bscored
v0.36.383Bscored
v0.36.184Bscored
v0.36.083Bscored
v0.35.280Bscored
v0.35.183Bscored
v0.35.095Ascored
v0.34.080Bscored
v0.33.683Bscored
v0.33.583Bscored
v0.33.480Bscored
v0.33.380Bscored
v0.33.283Bscored
v0.33.180Bscored
v0.33.080Bscored
v0.32.083Bscored
v0.31.097Ascored
v0.30.083Bscored
v0.29.683Bscored
v0.29.396Ascored
v0.29.284Bscored
v0.28.496Ascored
v0.27.297Ascored
v0.27.197Ascored
v0.26.797Ascored
v0.26.683Bscored
v0.26.295Ascored
v0.26.197Ascored
v0.25.483Bscored
v0.25.283Bscored
v0.25.197Ascored
v0.25.097Ascored
v0.23.1195Ascored

Wondering how this compares? The MCP Security Index tracks grade distribution, committed secrets, and missing authentication across the whole ecosystem, refreshed monthly.