Skip to main content

m365-agents-ts

Enables the development of enterprise agents for Microsoft 365 using TypeScript, integrating with Teams and Copilot Studio.

Install this skill

or
79/100

Security score

The m365-agents-ts skill was audited on Mar 2, 2026 and we found 13 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 55

Template literal with variable interpolation in command context

SourceSKILL.md
55await context.sendActivity(`Echo: ${context.activity.text}`);
medium line 94

Template literal with variable interpolation in command context

SourceSKILL.md
94throw new Error(`Streaming error: ${part.error}`);
low line 83

Access to .env file

SourceSKILL.md
83model: azure(process.env.AZURE_OPENAI_DEPLOYMENT_NAME || "gpt-4o-mini"),
low line 130

Access to .env file

SourceSKILL.md
130environmentId: process.env.COPILOT_ENVIRONMENT_ID!,
low line 131

Access to .env file

SourceSKILL.md
131schemaName: process.env.COPILOT_SCHEMA_NAME!,
low line 132

Access to .env file

SourceSKILL.md
132clientId: process.env.COPILOT_CLIENT_ID!,
low line 136

Access to .env file

SourceSKILL.md
136return process.env.COPILOT_BEARER_TOKEN!;
low line 75

External URL reference

SourceSKILL.md
75type: "https://schema.org/Message",
low line 178

External URL reference

SourceSKILL.md
178| Microsoft 365 Agents SDK | https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/ |
low line 179

External URL reference

SourceSKILL.md
179| JavaScript SDK overview | https://learn.microsoft.com/en-us/javascript/api/overview/agents-overview?view=agents-sdk-js-latest |
low line 180

External URL reference

SourceSKILL.md
180| @microsoft/agents-hosting-express | https://learn.microsoft.com/en-us/javascript/api/%40microsoft/agents-hosting-express?view=agents-sdk-js-latest |
low line 181

External URL reference

SourceSKILL.md
181| @microsoft/agents-copilotstudio-client | https://learn.microsoft.com/en-us/javascript/api/%40microsoft/agents-copilotstudio-client?view=agents-sdk-js-latest |
low line 182

External URL reference

SourceSKILL.md
182| Integrate with Copilot Studio | https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/integrate-with-mcs |
Scanned on Mar 2, 2026
View Security Dashboard
Installation guide →