Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Microsoft365 Mcp Server

pnpm workspace for the Microsoft Graph MCP servers.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ

Why this grade

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    packages/core/src/graph-request.ts, line 33 // methods that do their own fetch (binary download, abort-controlled upload).

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    packages/core/src/utils/env-file.ts, line 5 // pass configuration as real environment variables and have no .env, which is the normal case,

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    packages/microsoft365/src/index.ts, line 158 certPassword: process.env.MS365_CERT_PASSWORD,

Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.

Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.

What was checked

Plain notes from the hygiene checks.

  • Permissions

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Pass

    No install-time script found, and dependencies are pinned or absent.

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    packages/core/src/graph-request.ts, line 33

    // methods that do their own fetch (binary download, abort-controlled upload).

    packages/graph/src/tools/upload-config.ts, line 4

    // get_upload_config: returns a ready-to-run curl for the /upload relay. The Authorization

    packages/graph/src/tools/upload-config.ts, line 10

    "Get an authenticated upload URL + curl command for uploading a binary file to OneDrive/SharePoint. Pipe " +

    Show more

    packages/graph/src/tools/upload-config.ts, line 41

    // travels in the curl / tool output.

    packages/graph/src/tools/upload-config.ts, line 45

    const curl = [

    packages/graph/src/tools/upload-config.ts, line 47

    "| curl -X POST",

    packages/microsoft365/src/index.ts, line 621

    "Get an authenticated upload URL + curl command for attaching a file (PDF, image, any binary) to an existing draft. " +

    packages/microsoft365/src/index.ts, line 631

    .describe("Local file path to include in the curl example. If omitted, a placeholder is used."),

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    packages/core/src/utils/env-file.ts, line 5

    // pass configuration as real environment variables and have no .env, which is the normal case,

    packages/core/src/utils/env-file.ts, line 11

    export const loadEnvFileIfPresent = (path: string = ".env"): void => {

    packages/microsoft365/src/index.ts, line 158

    certPassword: process.env.MS365_CERT_PASSWORD,

    Show more

    packages/microsoft365/scripts/smoke-live.mjs, line 14

    // browser completes. Credentials come from the repo-root .env (MS365_CLIENT_ID, MS365_TENANT_ID, ...)

    packages/microsoft365/scripts/smoke-live.mjs, line 44

    // The server loads .env from its working directory, so it runs from the repo root.

    packages/microsoft365/src/index.ts, line 165

    clientSecret: process.env.MS365_CLIENT_SECRET ?? "",

    packages/microsoft365/src/index.ts, line 170

    accessToken: process.env.MS365_ACCESS_TOKEN,

    packages/microsoft365/src/index.ts, line 177

    clientSecret: process.env.MS365_CLIENT_SECRET ?? "",

    packages/microsoft365/src/auth/oauth-provider.ts, line 44

    export const resolveTokenStoragePath = (): string => process.env.TOKEN_STORAGE_PATH ?? "/tmp/ms365-tokens"

    packages/microsoft365/src/auth/oauth-provider.ts, line 61

    const explicit = process.env.TOKEN_STORAGE_PATH !== undefined

    packages/microsoft365/src/auth/oauth-provider.ts, line 78

    const dedicated = process.env.MS365_JWT_SIGNING_KEY

    packages/microsoft365/src/auth/oauth-provider.ts, line 88

    const dedicated = process.env.MS365_TOKEN_ENCRYPTION_KEY

    .dockerignore, line 3

    **/lib

    .dockerignore, line 4

    .env

    .dockerignore, line 6

    !.env.example

    .gitignore, line 38

    # dotenv environment variable files

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • Licence

    Note

    no licence file found.

    LICENCE_MISSING

    No file path was stored.

    no licence file found.

  • Maintainer activity

    Pass

    The latest commit is within the last 365 days.

Note

Hygiene check of commit 98bfd5a3332f. can reach a host that is not written as a fixed address. reads a credential or environment file. no licence file found.

Date and source

Date checked:

View source

github.com

Commit graded: 98bfd5a3332f1099d665b5799f801888ae62879e

This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.

Read how this letter is chosen