Back to skill

Security audit

Microsoft Teams Bot

Security checks for vulnerabilities and agentic risk

Overview

The Teams operations have clear approval rules, but setup directs the agent to execute downloaded installation code without a separate approval or verification step.

Review and approve the CLI installation separately, preferably using a verified, pinned release. Understand that Teams requests pass through OOMOL and retain the required confirmations for messages and deletions. The remote installer and hosted connector were not verified by this artifact review.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied chunk performs remote installer execution, not Microsoft Teams Bot operations. Nothing in the chunk establishes the Oomol installer as a supporting dependency for the declared purpose. The downloaded script's contents are not supplied, so its further behavior cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping an HTTPS response directly into bash executes mutable remote content without version pinning, independent integrity verification, or an opportunity to review the downloaded script. Compromise of the installer host or publishing pipeline could therefore lead to arbitrary code execution on the agent's host; HTTPS protects transport but does not establish that the script itself is trustworthy.

Content

Scanner excerpt · SKILL.md (reported line 61)May include surrounding context.

First-time setup executes downloaded installation scripts without warning about running remote code on the user's system.

Medium
Category
Output Handling
Confidence
92% confidence
Finding

The fallback setup directs the agent to execute remotely supplied shell or PowerShell code without an explicit installation approval or verification step. Although setup is conditional on a missing CLI, a compromised installer could execute with the invoking user's privileges; the Teams write-confirmation rules do not explicitly cover this local system change.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 82)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources