MCP ScannerCustom audit
All servers

Softeria/ms-365-mcp-server

A Model Context Protocol (MCP) server for interacting with Microsoft 365 and Microsoft Office services through the Graph API

Package@softeria/ms-365-mcp-server
Version0.0.0-development in package.json
PublisherSofteria community
MCP Registryio.github.Softeria/ms-365-mcp-server
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 1,141Forks 412Last push 2026-11-14
TypeScript 93.2%JavaScript 6.8%by source files the scanner reads
Code safetypartly tracedExposure9.8Prompts10.0Supply chain6.0Secrets10.0Transparency10.0
Analysis confidence91%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure9.8/10Good

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain6.0/10Fair

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 133 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 5 source files could be read only in part
  • 4 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
  • 7 tools, prompts and resources registered only in the repository's tests are not counted on this page

Top risks in plain words

  • HIGH1 production dependency has known vulnerabilities (worst: high).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use @azure/msal-node 7.1.0 or later.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 12 tools, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Connect to the internet or other hostssend requests or open connections
(name computed at run time), execute-tool, login, verify-login
4 of 13
Read environment variablesoften where API keys are kept
(name computed at run time), execute-tool, get-tool-schema, login, verify-login
7 of 13

No tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • getGraphBaseUrl · login, verify-login
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

2 request addresses could not be settled from the code (built at run time).

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • web or API responses4 tools · (name computed at run time), execute-tool, login +1
Reads private data0 tools
Takes text from outside6 tools
Can send data out1 tool

Not all three are present in the tools the scanner traced.

Tool annotations

10 of 13 tools declare annotations. readOnlyHint 4, destructiveHint 1, openWorldHint 3.

Each declaration matches what the traced code does.

Tools, prompts and resources (13: 12 tools, 1 resource)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

(name computed at run time)resource
No description.
(name computed at run time)tool Env vars
No description.
(name computed at run time)tool NetworkEnv varsoutside text
No description.
(name computed at run time)tool Env vars
No description.
execute-tooltool Execute a Microsoft Graph API tool by name. Workflow: search-tools → get-tool-schema → execute-tool. Call get-tool-schema first for any tool you have not seen bNetworkEnv varsoutside textdestructive (declared)
Execute a Microsoft Graph API tool by name. Workflow: search-tools → get-tool-schema → execute-tool. Call get-tool-schema first for any tool you have not seen before — passing the wrong shape to parameters will fail validation or return a Graph 400. For list endpoints, prefer modest $top plus $select.
get-tool-schematool Returns the full parameter schema (name, placement, required, JSON Schema) for a tool discovered via search-tools. Call this before execute-tool so you know whaEnv varsread-only (declared)
Returns the full parameter schema (name, placement, required, JSON Schema) for a tool discovered via search-tools. Call this before execute-tool so you know what parameters to pass and what enum values are valid.
list-accountstool List all Microsoft accounts configured in this server. Use this to discover available account emails before making tool calls. Reflects accounts added mid-sessiread-only (declared)
List all Microsoft accounts configured in this server. Use this to discover available account emails before making tool calls. Reflects accounts added mid-session via --login.
logintool Authenticate with Microsoft accountNetworkEnv varsoutside text
Authenticate with Microsoft account
logouttool Log out from Microsoft account
Log out from Microsoft account
remove-accounttool Remove a Microsoft account from the cache. Accepts email address (e.g. [email protected]) or account ID. Use list-accounts to discover available accounts.
Remove a Microsoft account from the cache. Accepts email address (e.g. [email protected]) or account ID. Use list-accounts to discover available accounts.
search-toolstool read-only (declared)
No description.
select-accounttool Select a Microsoft account as the default. Accepts email address (e.g. [email protected]) or account ID. Use list-accounts to discover available accounts.
Select a Microsoft account as the default. Accepts email address (e.g. [email protected]) or account ID. Use list-accounts to discover available accounts.
verify-logintool Check current Microsoft authentication statusNetworkEnv varsoutside textread-only (declared)
Check current Microsoft authentication status

Text the model reads (13)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

login tool
Authenticate with Microsoft account
logout tool
Log out from Microsoft account
verify-login tool
Check current Microsoft authentication status
list-accounts tool
List all Microsoft accounts configured in this server. Use this to discover available account emails before making tool calls. Reflects accounts added mid-session via --login.
select-account tool
Select a Microsoft account as the default. Accepts email address (e.g. [email protected]) or account ID. Use list-accounts to discover available accounts.
remove-account tool
Remove a Microsoft account from the cache. Accepts email address (e.g. [email protected]) or account ID. Use list-accounts to discover available accounts.
(name computed at run time) tool
(name computed at run time) tool
search-tools tool
get-tool-schema tool
Returns the full parameter schema (name, placement, required, JSON Schema) for a tool discovered via search-tools. Call this before execute-tool so you know what parameters to pass and what enum values are valid.
execute-tool tool
Execute a Microsoft Graph API tool by name. Workflow: search-tools → get-tool-schema → execute-tool. Call get-tool-schema first for any tool you have not seen before — passing the wrong shape to parameters will fail validation or return a Graph 400. For list endpoints, prefer modest $top plus $select.
(name computed at run time) tool
(name computed at run time) resource

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure9.8
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 13 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 13 capabilities; 12 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 13 capabilities; 12 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    4 of 13 capabilities call the network; 8 more call code the scanner could not follow, where it may happen
Where the code is: 13 handlers in 3 files at commit bd17a4c9d3e4
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain6.0
  • Dependency manifests
    1 manifest: package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies HIGH
    1 production package with known advisories
  • Known vulnerabilities in other dependencies
    10 packages with advisories used only for development, tests or examples; an install of the server leaves them out
  • MCP SDK version
    @modelcontextprotocol/sdk ^1.32.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 13 capabilities; 12 more call code the scanner could not follow, where it may happen
  • Environment variables
    7 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (7 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (1 in production)

PackageInstalledWorstAdvisoriesFixed in
@azure/msal-nodenpm 5.6.0 HIGH 1 advisory 7.1.0
  • HIGHGHSA-xcx6-jx8p-x3h5 CVE-2026-109461MSAL Node authorization code flow may disclose parameters to an attacker-controlled endpoint
10 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
PackageInstalledWorstAdvisoriesFixed in
undicinpm 6.27.0 HIGH 11 advisories 6.28.06.28.16.29.1+6 more
  • HIGHGHSA-rfgv-xxqx-mfg5 CVE-2026-19534undici vulnerable to Denial of Service via unrequested WebSocket subprotocol
  • HIGHGHSA-2m5v-pch6-74hx CVE-2026-109383undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
  • HIGHGHSA-qrxm-fqhp-jwvm CVE-2026-87018undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
  • HIGHGHSA-xjj6-f33q-929c CVE-2026-109869undici vulnerable to Denial of Service via unhandled error on excessive content-encodings
  • MEDIUMGHSA-9fm3-97px-rjf6 CVE-2026-109932undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering
  • MEDIUMGHSA-4qv8-2p9j-2685 CVE-2026-109924undici vulnerable to Denial of Service via unbounded memory in the EventSource parser
  • MEDIUMGHSA-8xcm-r25x-g524 CVE-2026-16728undici vulnerable to downstream response desynchronization via retry interceptor
  • MEDIUMGHSA-m8rv-5g2x-5cg5 CVE-2026-15157undici vulnerable to CRLF Injection via blob-like body 'type' property
  • MEDIUMGHSA-v3r7-h72x-cjcm CVE-2026-16729undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields
  • MEDIUMGHSA-3wwx-pv8p-q78v CVE-2026-85024undici vulnerable to Denial of Service via unhandled error in WebSocket permessage-deflate decompression
  • LOWGHSA-r53p-7pc4-xj5r CVE-2026-18540undici vulnerable to downstream response splitting via retry interceptor
ip-addressnpm 10.2.0 HIGH 8 advisories 10.2.110.2.210.3.1+3 more
  • HIGHGHSA-mwp4-54f8-5fhr CVE-2026-69192ip-address: Address4 decodes leading-zero octets as decimal while resolvers decode them as octal, allowing SSRF and trust-boundary bypass
  • MEDIUMGHSA-j6r3-76f7-8jcv CVE-2026-101912ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range
  • MEDIUMGHSA-22jq-vg5j-6vgg CVE-2026-54272ip-address: misclassification of IPv4-mapped/NAT64 IPv6 addresses can bypass SSRF and trust-boundary checks
  • MEDIUMGHSA-4xrf-jv44-h6hh CVE-2026-69198ip-address: a CIDR suffix on the parsed address suppresses special-use classification and can bypass SSRF and trust-boundary checks
  • MEDIUMGHSA-rxp7-6hxx-x8q5 CVE-2026-111997ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process
  • MEDIUMGHSA-rpw4-54j3-4h4q CVE-2026-101913ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts
  • MEDIUMGHSA-h3mg-xc3c-68pw CVE-2026-101911ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process
  • MEDIUMGHSA-2vr4-cq9g-pvrc CVE-2026-101910ip-address: no classifier recognizes the NAT64 local-use range 64:ff9b:1::/48, allowing SSRF and trust-boundary bypass
brace-expansionnpm 5.0.7 HIGH 5 advisories 1.1.171.1.181.1.19+17 more
  • HIGHGHSA-qhr7-859c-m2p7 CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
  • HIGHGHSA-rgw5-rvv9-x895 CVE-2026-69152brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
  • HIGHGHSA-6j4f-fj2g-mc7p CVE-2026-102276brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
  • HIGHGHSA-mh99-v99m-4gvg CVE-2026-14257brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash
  • MEDIUMGHSA-q2hr-2g5m-vwhr CVE-2026-102277brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
tarnpm 7.5.19 HIGH 1 advisory 7.5.21
  • HIGHGHSA-r292-9mhp-454m CVE-2026-73566node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
@vitest/mockernpm 4.1.11 MEDIUM 2 advisories 4.1.125.0.3
  • MEDIUMGHSA-qxg6-89mg-rqv8 CVE-2026-112949Vitest: Code injection via unauthenticated manual mock registration
  • MEDIUMGHSA-xp26-3454-mjgp CVE-2026-112950Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix
globnpm 13.0.6 MEDIUM 1 advisory 14.0.2
  • MEDIUMGHSA-3g3m-2fjr-6pw4 CVE-2026-118773Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal
minimatchnpm 10.2.4 MEDIUM 1 advisory 11.0.1
  • MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
minimatchnpm 10.2.5 MEDIUM 1 advisory 11.0.1
  • MEDIUMGHSA-g3hv-75wg-m249 CVE-2026-118764minimatch has potential denial of service via globparts amplification
postcss-selector-parsernpm 7.1.4 MEDIUM 1 advisory 6.1.57.1.6
  • MEDIUMGHSA-rj75-hqrm-r3gf CVE-2026-104844PostCSS: Quadratic complexity in flat selector parsing allows CPU exhaustion
esbuildnpm 0.27.4 LOW 1 advisory 0.28.1
  • LOWGHSA-g7r4-m6w7-qqqresbuild allows arbitrary file read when running the development server on Windows

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportnot stated in the code the scanner read; most local servers talk over stdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/sdk ^1.32.0
Servers in the code21 (t, test, handoff-test, synthetic-m365, synthetic-excerpts, synthetic-sections, hybrid-test, failure-test)

The project's own security

Security policyyes SECURITY.md
Private reportingmentioned the policy names a private channel
Past advisoriesnone in the GitHub Advisory Database
Last push2026-11-14
Signed releasesnot checked yet

Where it is published

Other npm packages
1 package by other publishers point to this repository

Not published by the repository's owner; check who publishes a package before you install it.

MCP Registryio.github.Softeria/ms-365-mcp-server
Listed in12 catalogs (awesome_appcypher, awesome_habitoai, awesome_punkpeye, awesome_tensorblock, awesome_wong2, awesome_yuzehao2023, github_search, glama, mcp_registry, mcp_toplist, mcpservers_org, npm)
LicenseMIT
Created2025-04-02

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.