msteams-mcp@r1
CAUTION· install onlyPublisher claims: "Enables MCP clients to read and search Microsoft Teams chats, channels, people, and messages as the signed-in user, and optionally send messages or create meeting links through delegated Microsoft Graph permissions." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 8 of 9 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_LIST_TEXT_CHARS, STATE_DIRECTORY, VAULT_PATH- 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.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
Is msteams-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-23 and scored it 71/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; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 1 s · 2 scenarios · 0 deviationsStatic findings
"&& sudo systemctl restart msteams-mcp")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.SECRET_COMMAND = ("sudo /opt/msteams-mcp/bin/seal-credential.sh client_secret "Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.echo "msteams-mcp is not running. Start it with: sudo systemctl enable --now msteams-mcp"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.[[ -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.REAUTH_COMMAND = "sudo msteams-mcp-authorize"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# sudo msteams-mcp-authorize (installed by install.sh)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.[[ -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.# sudo ./deploy/authorize.sh (from a clone of the repo)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.echo "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.assert fmt.tidy("\n a \n\n\t b \n") == "a\nb"Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.the 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.# 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.`sudo msteams-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.# 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."<p> then Certificates & secrets </p>"),Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.r = 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.# 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.|| echo " Not signed in to Microsoft yet: sudo msteams-mcp-authorize"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.echo " Missing credential: sudo $APP/bin/seal-credential.sh $c"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# 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.chmod 0600 "$tmp"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose._WS = " \t\u00a0\u2007\u202f\u200b\u2060\ufeff"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.*) 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.|| { 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.Cost to the agent
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
9 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- 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.
- 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.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- Hidden zero-width characters detected≈ +2 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
- Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
- 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.