
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@mastra/azure
Advanced tools
Affected versions:
Azure Blob Storage filesystem and content-addressable blob store provider for Mastra workspaces.
npm install @mastra/azure
import { Agent } from '@mastra/core/agent';
import { Workspace } from '@mastra/core/workspace';
import { AzureBlobFilesystem } from '@mastra/azure/blob';
const workspace = new Workspace({
filesystem: new AzureBlobFilesystem({
container: 'my-container',
connectionString: process.env.AZURE_STORAGE_CONNECTION_STRING,
}),
});
const agent = new Agent({
name: 'my-agent',
model: 'anthropic/claude-opus-4-5',
workspace,
});
const filesystem = new AzureBlobFilesystem({
container: 'my-container',
accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
accountKey: process.env.AZURE_STORAGE_ACCOUNT_KEY,
});
const filesystem = new AzureBlobFilesystem({
container: 'my-container',
accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
sasToken: process.env.AZURE_STORAGE_SAS_TOKEN,
});
Requires @azure/identity to be installed.
const filesystem = new AzureBlobFilesystem({
container: 'my-container',
accountName: process.env.AZURE_STORAGE_ACCOUNT_NAME,
useDefaultCredential: true,
});
AzureBlobStore is a content-addressable blob store backed by Azure Blob Storage, used for skill versioning.
import { AzureBlobStore } from '@mastra/azure/blob';
const blobs = new AzureBlobStore({
container: 'my-skill-blobs',
connectionString: process.env.AZURE_STORAGE_CONNECTION_STRING,
});
For more information, see the Mastra Workspaces documentation.
FAQs
Azure provider for Mastra - includes Blob Storage workspace filesystem
The npm package @mastra/azure receives a total of 2,022 weekly downloads. As such, @mastra/azure popularity was classified as popular.
We found that @mastra/azure demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.