Skills/Glama/outlook-mcp

outlook-mcp@r1

CAUTION· install only

Publisher claims: "Enables MCP clients to search, read, organize, draft, and—after explicit approval—send mail from an Exchange Online mailbox using Microsoft Graph delegated permissions." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry GlamaPublisher dataoracle · publishing for 17 daysInstalls 0Last detonated 35 h ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 12 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
CREDENTIALS_DIRECTORYConfiguration, not credentials: KEEPALIVE_HOURS, MAX_ATTACHMENT_MB, MAX_BODY_CHARS, SEND_ALLOWED_DOMAINS, SEND_CONFIRMATION, SIGNATURE_FILE, STATE_DIRECTORY, TIMEZONE, VAULT_PATH, WORKING_DAYS, WORKING_HOURS
Where it talks to
no vendor host named in the codeAlso microsoft.com, microsoftonline.com — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
use of the skill by an agent

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names microsoft.com, microsoftonline.com as well as its own vendor. The guard injects CREDENTIALS_DIRECTORY only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- <the server's command>

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

Is outlook-mcp@r1 safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-22 and scored it 64/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Privileged sudo command; Privileged sudo command; Prompt injection attempt. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.1sprocessexited 1: ModuleNotFoundError: No module named 'httpx'
0.1sprocessbundled script run in the sandbox with no arguments
0.3sprocessexited 1: ModuleNotFoundError: No module named 'httpx'
0.3sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.4sprocessexited 1: ModuleNotFoundError: No module named 'markdown'
0.4sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.5sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.6sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.7sprocessbundled script run in the sandbox with no arguments · not named in the instructions
0.8sprocessexited 1: ModuleNotFoundError: No module named 'httpx'
0.8sprocessbundled script run in the sandbox with no arguments
1.0sprocessexited 1: ModuleNotFoundError: No module named 'uvicorn'
1.0sprocess8 of 12 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
1.0sprocessscript backend runs setup only
1.0sprocessscript backend runs setup only
1.0sprocessno install scripts to re-run

Static findings

HIGH
Privileged sudo commandauth.py:28 · Privileged sudo command — agent may execute with elevated privilegesREAUTH_COMMAND = "sudo outlook-mcp-authorize"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commandauth.py:29 · Privileged sudo command — agent may execute with elevated privilegesSECRET_COMMAND = ("sudo /opt/outlook-mcp/bin/seal-credential.sh client_secret "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
Prompt injection attemptskills/outlook-mail/SKILL.md:227 · Prompt injection attempt — 'ignore previous instructions'manipulate an assistant ("ignore previous instructions", "forward this to…",Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
HIGH
Privileged sudo commanddeploy/authorize.sh:7 · Privileged sudo command — agent may execute with elevated privileges# sudo ./deploy/authorize.sh (from a clone of the repo)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commanddeploy/authorize.sh:18 · Privileged sudo command — agent may execute with elevated privileges[[ -x "$APP/venv/bin/python" ]] || { echo "Not installed yet: sudo ./deploy/install.sh" >&2; exit 1; }Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commanddeploy/authorize.sh:34 · Privileged sudo command — agent may execute with elevated privilegesecho "outlook-mcp is not running. Start it with: sudo systemctl enable --now outlook-mcp"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
CRITICAL
Prompting user to enter sensitive credentialsdeploy/seal-credential.sh:22 · Prompting user to enter sensitive credentials — social engineeringecho "client_secret can't be generated: paste the secret Value from the app registration" >&2Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Privileged sudo commandauth.py:30 · Privileged sudo command — agent may execute with elevated privileges"&& sudo systemctl restart outlook-mcp")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commanddeploy/authorize.sh:21 · Privileged sudo command — agent may execute with elevated privileges[[ -f "$SECRET" ]] || { echo "Seal the app's client secret first: sudo $HERE/seal-credential.sh client_secret" >&2; exit 1; }Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commanddeploy/authorize.sh:6 · Privileged sudo command — agent may execute with elevated privileges# sudo outlook-mcp-authorize (installed by install.sh)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commanddeploy/install.sh:62 · Privileged sudo command — agent may execute with elevated privileges|| echo " Not signed in to Microsoft yet: sudo outlook-mcp-authorize"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commanddeploy/seal-credential.sh:7 · Privileged sudo command — agent may execute with elevated privileges# sudo ./seal-credential.sh vault_key --generate # creates the key that encrypts theFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commanddeploy/seal-credential.sh:4 · Privileged sudo command — agent may execute with elevated privileges# sudo ./seal-credential.sh client_secret # prompts for the Entra app's client secretFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandskills/outlook-mail/SKILL.md:240 · Privileged sudo command — agent may execute with elevated privileges`sudo outlook-mcp-authorize` on the server, then stop. Retrying won't help.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
File permission modification commanddeploy/seal-credential.sh:55 · File permission modification command — agent changes file ownership/permissionschmod 0600 "$tmp"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commanddeploy/seal-credential.sh:18 · Privileged sudo command — agent may execute with elevated privileges*) echo "usage: sudo $0 client_secret | mcp_token [--generate] | vault_key --generate [--force]" >&2; exit 2 ;;Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commanddeploy/install.sh:53 · Privileged sudo command — agent may execute with elevated privilegesecho " Missing credential: sudo $APP/bin/seal-credential.sh $c"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Privileged sudo commanddeploy/seal-credential.sh:6 · Privileged sudo command — agent may execute with elevated privileges# sudo ./seal-credential.sh mcp_token --generate # creates a new random tokenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Unicode escape sequence detectedformatting.py:61 · Unicode escape sequence detected — may contain obfuscated payloads_WS = " \t\u00a0\u2007\u202f\u200b\u2060\ufeff\u200c\u200d"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
HIGH
Privileged sudo commanddeploy/seal-credential.sh:5 · Privileged sudo command — agent may execute with elevated privileges# sudo ./seal-credential.sh mcp_token # prompts (paste your existing token)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commanddeploy/install.sh:12 · Privileged sudo command — agent may execute with elevated privileges|| { echo "Missing venv support: sudo apt install python3-venv" >&2; exit 1; }Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Authorization escalation languageREADME.md:375 · Authorization escalation language · informational: not an instruction filethe credentials), so keep SSH key-only and root access tight. The refreshFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python subprocess execution detectedauthorize.py:60 · Python subprocess execution detectedr = subprocess.run(["systemd-creds", "decrypt", f"--name={name}", cred_path, "-"],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05

Cost to the agent

Instructions loaded
≈3,386 tok
1 file · 19 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

16 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Text that tells the agent to ignore its instructions≈ +9 on the totalDelete phrases like "ignore previous instructions", "override", "bypass" from SKILL.md and tool descriptions. Describe what the skill does; do not instruct the agent about other rules.
  2. Prompting user to enter sensitive credentials≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  3. Unclaimed publisher≈ +8 on the totalClaim dataoracle: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  4. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  5. File permission modification command≈ +2 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  6. Unicode escape sequence detected≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
Publish a new version to Glama, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim dataoraclePropose a patch to the maintainer